PHP is "hypertext preprocessor" and is a general open source scripting language. PHP is a scripting language executed on the server side. It is similar to C language and is a commonly used website programming language. PHP's unique syntax mixes C, Java, Perl, and PHP's own syntax. It is conducive to learning and widely used. It is mainly suitable for the field of web development.
The advantages of PHP include:
1. PHP open source code
All PHP source codes are actually can be obtained.
2. PHP is free
Compared with other technologies, PHP itself is free and open source code.
3. Speed
The program is developed quickly, runs quickly, and the technology itself is learned quickly. Embedded in HTML: Because PHP can be embedded in the HTML language, it is comparable to other languages. Editing is simple, practical, and more suitable for beginners.
4. Strong cross-platform capability
Because PHP is a script that runs on the server side, it can run under UNIX, LINUX, WINDOWS, and Mac OS.
5. High efficiency
PHP consumes relatively few system resources.
6. Image processing
Use PHP to dynamically create images. PHP image processing uses GD2 by default. And can also be configured to use image magick for image processing.
7. Object-oriented
In php4 and php5, object-oriented aspects have been greatly improved. PHP can be used to develop large-scale commercial programs.
8. Professional focus
PHP mainly supports scripting languages. It is also a C-like language, making it easy to get started.
9. Simple and easy to use
Simple and practical, low learning cost, this is also the most important reason why many developers are willing to choose PHP, especially for Internet projects, the demand changes are very important Large, therefore, if you choose PHP, you can save more time and energy to do other things.
10. There are many mature frameworks
For example, the framework that supports MVC: PHPMVC, the event-driven framework that supports ASP.net: Prado, the framework that supports rapid development like RubyOnRails: Cake Wait, enough to meet your application needs.
11. Currently, mainstream technologies support
such as WebService, Ajax, XML, etc., which are sufficient for application.
12. Completeness
The excellent combination of LAMP (Linux Apache MySQL PHP) has long been well-known in the industry, and now the emergence of Nginx PHP FastCGI has taken the performance of the HTTP server to a higher level. For most current Internet applications, this solution can well meet their needs.
13. There is a mature community to support the development of PHP.
For more PHP related knowledge, please visit php中文网!
The above is the detailed content of What's good about php?. For more information, please follow other related articles on the PHP Chinese website!