PHP language basics and characteristics of what

PHP development language with its powerful features quickly scored ring Internet and well known, so now participate in PHP training and learning that many people, this article Dingxue Tang buckle PHP training and small series readers a brief discussion of the PHP language basics and what are the features, the desire to help small partners a better understanding of the PHP language.

Buckle Dingxue Tang PHP basics PHP language and brief characteristics of training which:

1, cross-platform features:

PHP language can run on multiple operating systems Linux, FreeBSD, OpenBSD, Windows and so on.

2, database support:

PHP supports a variety of mainstream and non-mainstream database.

3. Security:

Encryption support, PHP4 to achieve a complete encryption, the encryption function is a complete mycrypt libraries, and support PHP4.0 hash function. Blowfish, TripleDES, MD5, and SHA1 encryption algorithm also can be of some use. Running Linux, FreeBSD, OpenBSD, Solaris using the PHP language? Unix operating system, without having to install any anti-virus software and patches, safe and reliable.

4. Scalability:

Expansion of the API, the module: PHP4.0 an extended API, PHP extension module provides an interface module ,, Jinan Website think it's significantly faster than the old version of the API. PHP, and the module has been the most common interface is switched to use the most extensible interface; Moreover, belonging PHP open source software, which is completely open source code, any programmer for PHP is very easy to spread additional PHP good the development of space and scalability.

5, execution speed:

CGI PHP is a powerful scripting language syntax is a mix of C, Java, Perl and PHP syntax style of the new Executive page faster than CGI, Perl and ASP, which is its first prominent feature; memory, PHP4.0 more efficient use of memory? resulting in less consumption of memory footprint, which is mainly due reference implementation counting technology.

6, portability:

PHP write out the Web back-end CGI program can be easily ported to different operating systems. For example, the first Linux-shelf site, when the system load is too high, the system can quickly be moved to the SUN workstation, without recompiling the CGI program. The face of the rapid development of the Internet, this is the best choice for long-term planning.

7, functional comprehensiveness:

PHP include graphics processing, encoding and decoding, the compressed file handling, XML parsing, support for HTTP authentication, Cookie, POP3, SNMP and so on. PHP can be used most of the database connection including Oracle, MS-Access, Mysql including. From the characteristics of the design, the structure of the object type, processing, network interface applications, such as secure coding mechanism of the database, PHP, covering almost all the features of all sites.

8, Scalability:

Web page interaction is traditionally achieved through CGI. Scalability CGI program is not very good, because it opened a separate process for each CGI program is running. The solution is frequently used to write CGI programs language interpreter compiled into the web server (such as mod_perl, JSP), PHP can be installed in this way. PHP can be embedded with a higher scalability.

In the Internet business, the domestic top ten in eight big coffee companies are using PHP language development-oriented official website. Meanwhile PHP language also once known as the world's best language, not one.

Source: Xinyu SEO

Guess you like

Origin www.cnblogs.com/1994jinnan/p/12239308.html