Explore the main PHP application areas_PHP Tutorial

WBOY
Release: 2016-07-15 13:29:10
Original
1515 people have browsed it

We are working on PHP application area 1. Server-side script.

This is the most traditional and main target area of ​​PHP. The following three points are required to carry out this work:

A. PHP parser (CGI or server module),

B. web server,

C. web browser.

You need to install and configure PHP when running the web server.

Then, you can use a web browser to access the output of the PHP program, that is, browse the PHP page on the server side.

If you are just experimenting with PHP programming, all of this can be run on your home computer.

PHP application area 2. Command line script.

You can write a PHP script and don't need any server or browser to run it.

In this way, only the PHP parser is needed to execute.

This usage is ideal for daily running scripts that rely on cron (Unix or Linux environment)

or Task Scheduler (Windows environment).

These scripts can also be used to process simple text.

PHP application areas 3. Writing desktop applications.

For desktop applications with graphical interfaces, PHP may not be the best language,

but if the user is very proficient in PHP and wants to use some advanced aspects of PHP in client applications Features,

You can use PHP-GTK to write these programs. Using this approach, you can also write cross-platform applications.

PHP-GTK is an extension of PHP that is not included in the commonly released PHP packages.

If you are interested in PHP-GTK, please visit its website for more information.

4. PHP application fields can be expanded to a wider range:

PHP also supports the use of tools such as LDAP, IMAP, SNMP, NNTP, POP3, HTTP, COM (Windows environment)

Services with countless protocols.

You can also open the original network port so that any other protocol can work together.

PHP supports WDDX complex data exchange between all web development languages.

Regarding mutual connections, PHP already supports instant connections to Java objects,

and they can be freely used as PHP objects.

You can even use our CORBA extension library to access remote objects.

PHP has extremely efficient text processing features,

supporting everything from POSIX extensions or Perl regular expressions to XML document parsing.

To parse and access XML documents, PHP 4 supports SAX and DOM standards.

You can also use the XSLT extension library to transform XML documents.

PHP 5 standardizes all XML extensions based on the robust libxm2,

and adds SimpleXML and XMLReader support, expanding its capabilities in XML.

5. If the PHP application field is expanded to e-commerce.

You will find its Cybercash payment, CyberMUT, VeriSign Payflow Pro

and MCVE functions very useful for online trading programs.

6. In addition, there are many other interesting extension libraries.

For example: mnoGoSearch search engine function, IRC gateway function,

Various compression tools (gzip, bz2), calendar conversion, translation...


www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/446397.htmlTechArticleWe are using PHP application fields 1. Server-side scripts. This is the most traditional and main target area of ​​PHP. The following three points are required to carry out this work: A. PHP parser (C...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!