PHP (foreign name: Php:hypertext Preprocessor, Chinese name: "Hypertext Preprocessor") is a common open source scripting language. The grammar absorbs the C language, Java and Perl features, is conducive to learning, widely used, mainly for the field of web development. PHP's unique syntax mixes the syntax of C, Java, Perl, and PHP's own creation. It can execute Dynamic Web pages more quickly than CGI or Perl. Dynamic pages made in PHP are compared to other programming languages, and PHP is executed in HTML (an application under the standard Universal Markup Language), which is much more efficient than CGI, which generates HTML markup entirely; PHP can also execute post-compilation code, Compilation can achieve encryption and optimize code execution, making code run faster.
The integrated development environment is an integrated development environment that integrates the main tools needed in the software development process, including but not limited to code highlighting, code completion, debugging, build, versioning, and so on.
Some of the common PHP Ides are as follows:
- Zend Studio: Commercial Edition, Zend official, based on eclipse
- Eclipse with PDT: free
- Coda: Commercial edition, for Mac users
- NetBeans: Free, powerful
- PHP Storm: Business Edition
- Aptana Studio: Free
- Phped: Commercial Edition
- Komodo Ide/edit:ide is a commercial version, Edit is free to use
- Adobe Dreamweaver: Business Edition
In addition to the integrated development environment, a common text editor with code highlighting is often chosen as a development tool because of its lightness and flexibility, such as: notepad++, EditPlus, Sublimetext, Everedit (Chinese development) and so on.
Features of PHP include:
1. PHP's unique syntax mixes C, Java, Perl, and PHP's self-innovative syntax.
2. PHP can execute dynamic pages more quickly than CGI or perl--dynamic pages, compared to other programming languages,
PHP is to embed the program into the HTML document to execute, the execution efficiency than the full HTML markup generated CGI is much higher;
PHP has a very powerful function, all CGI features PHP can be implemented.
3. PHP supports almost all popular databases as well as the operating system.
4. The most important thing is that PHP can be used in C, C + + program extension!
Advantage:
- Open Source: All of the PHP source code is actually available.
- Free: PHP itself is free and open source code compared to other technologies.
- Quick: The program develops fast, runs fast, the technology itself learns fast. Embedded in HTML: Because PHP can be embedded in the HTML language, it is relative to other languages. Easy to edit, practical and more suitable for beginners.
- Strong cross-platform: PHP is a server-side script that can run on Unix, LINUX, WINDOWS, Mac OS, Android and other platforms
- High efficiency: PHP consumes a fairly small amount of system resources.
- Image processing: Using PHP to create images dynamically, PHP image processing by default GD2. It can also be configured to use image magick to process images.
- Object-oriented: In PHP4,PHP5, the object-oriented aspect has been greatly improved, PHP can be used to develop large-scale commercial programs.
- Professional Focus: PHP support scripting language-based, the same as Class C language.
Technology applications
- Pseudo-Static
- Static page Generation
- Database Cache
- Procedure Cache
- DIV+CSSW3C Standard
- Heavy Duty
- Distributed
- Flex
- Desktop applications (not good at)
- Support for MVC models
- Smarty Template engine
Introduction to PHP