Home > Backend Development > PHP Tutorial > Advantages and Disadvantages of PHP for Web Projects_PHP Tutorial

Advantages and Disadvantages of PHP for Web Projects_PHP Tutorial

WBOY
Release: 2016-07-13 17:30:50
Original
1082 people have browsed it

php (as the current mainstream development language) Advantages of :

1. Cross-platform, superior performance, 45% better performance when combined with Linux/Unix than Windows. And it is very economical to combine with many free platforms, such as LAMP (Linux/apache(the most popular WEB server platform on the Unix platform)/MySQL(the best combination with PHP) /php(as the current mainstream development language)) or FAMP (FreeBSD/apache(the most popular WEB server platform on the Unix platform)/MySQL(matched with PHP The best combination)/php(as the current mainstream development language)), or if the data application is large enough, you can consider changing to PostgreSQL or Oracle(large website database platform) , 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 Nuphp(as the current mainstream development language)ed, or Zend Studio, etc., and Eclipse, etc. can be used under the Linux platform.

3. Currently, mainstream technologies are supported, such as WebService, ajax(dynamic website staticization), xml(standardization is getting closer), etc., which is enough 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 (as the current mainstream development language ) 5.1, you can also use PDO (php(as the current mainstream development language) Data Object) to access the database.

5. There are many mature frameworks, such as those that support MVC: php (as the current mainstream development language) MVC, which supports things like asp.net (Microsoft’s strongest development language) event-driven framework: Prado, framework that supports rapid development like Ruby On Rails: Cake, etc., which are enough to meet your application needs.

6. php (as the current mainstream development language) 5 already has a mature object-oriented system that can adapt to basic object-oriented requirements. Suitable for developing large-scale projects.

7. There is a mature community to support the development of php (as the current mainstream development language) , such as domestic CSDN, Joy International Village, etc.

8. Currently, many large-scale applications use PHP (as the current mainstream development language) , such as Taobao, Yahoo, 163, Sina and other large portals, many of which use PHP (as the current mainstream development language) is used as their development language, so large portals can choose it. I think it is enough for your use.


php (as the current mainstream development language) Disadvantages of :
1. The code reuse rate needs to be improved. Of course, this is related to object-oriented. In fact, php (as the current mainstream development language) 5 is already more comfortable.
2. php(as the current mainstream development language)has fewer programmers (this is the shortcoming of php(as the current mainstream development language), hehe )

...(There are still shortcomings, it is recommended to refer to the article link below)


php(as the current mainstream development language)with asp. net(Microsoft’s most powerful development language) comparison:

http://www.Oracle(large website database platform).com/technology/global/ cn/pub/articles/hull_asp.html (php(as the current mainstream development language) and asp.net(Microsoft’s strongest development language) head-to-head confrontation)

http://www.microsoft.com/china/msdn/archives/library/dnaspp/html/aspnet-migratingphp(as the current mainstream development language)-aspnet.asp (from php (As the current mainstream development language) Migrate to asp.net(Microsoft’s strongest development language))

http://bbs.mscommunity.com /Forums/ShowThread.aspx?PostID=3832 (Performance comparison between asp.net(Microsoft’s strongest development language) and php(as the current mainstream development language))

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/509121.htmlTechArticleAdvantages of php (as the current mainstream development language): 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...
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