Home  >  Article  >  Backend Development  >  Advantages and Disadvantages of PHP Language in Website Development_PHP Tutorial

Advantages and Disadvantages of PHP Language in Website Development_PHP Tutorial

WBOY
WBOYOriginal
2016-07-15 13:32:52751browse

Advantages and disadvantages of PHP language Advantages of PHP:

1. Cross-platform, superior performance, similar to Linux/ The performance of Unix combined with Windows is 45% better, and it is very economical to combine with many free platforms, such as LAMP (Linux/Apache/Mysql/PHP) or FAMP (FreeBSD/Apache/Mysql/PHP), or the data application can You can consider changing to PostgreSQL or Oracle, which supports N types of databases. (N >= 10)

2. The syntax is simple, if you have learned C and Perl, it is easy to get started, and it is partially similar to ASP. There are mature development tools, such as NuPHPed, or Zend Studio, etc., and you can use Eclipse and so on under the Linux platform.

3. Currently, mainstream technologies are supported, such as WebService, Ajax, XML, etc., which are sufficient for application.

4. There is relatively complete support, such as using ADODB or PEAR::DB as the database abstraction layer, using Smarty or smart template as the template layer. If it is PHP 5.1, you can also use PDO (PHP Data Object ) to access the database.

5. There are many mature frameworks, such as the framework that supports MVC: phpMVC, the framework that supports event-driven events like ASP.net: Prado, the framework that supports rapid development like Ruby On Rails: Cake, etc. Sufficient for your application needs.

6. PHP 5 already has a mature object-oriented system that can adapt to basic object-oriented requirements. Suitable for developing large-scale projects.

7. There are mature communities to support the development of PHP, such as domestic CSDN, Joy International Village, etc.

8. Currently, many large-scale applications use PHP, such as Taobao, Yahoo, 163, Sina and other large portals. Many of them choose PHP as their development language, so large portals can choose it. I think it's enough for your use.

Advantages and disadvantages of PHP language Disadvantages of PHP:

1. The code reuse rate needs to be improved. Of course, this is related to object-oriented. In fact, PHP 5 is already more comfortable.
2. There are fewer PHP programmers


www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/446111.htmlTechArticleAdvantages and disadvantages of PHP language Advantages of PHP: 1. Cross-platform, superior performance, do not combine with Linux/Unix Windows integration performance is 45% better, and it is very economical to combine with many free platforms, such as LAM...
Statement:
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