BZU PAGES: Find Presentations, Reports, Student's Assignments and Daily Discussion; Bahauddin Zakariya University Multan

BZU PAGES: Find Presentations, Reports, Student's Assignments and Daily Discussion; Bahauddin Zakariya University Multan (http://bzupages.com/)
-   Computer & Programming (http://bzupages.com/266-computer-programming/)
-   -   Limitations of PHP (http://bzupages.com/f266/limitations-php-779/)

Waqas Ahmed 23-09-2008 04:45 AM

Limitations of PHP
 
Limitations of PHP

Everything has limitations or disadvantages and PHP is no exception. The following are the limitations of
PHP (so be WARNED !!)

1. PHP is NOT 100 % pure Object Oriented scripting language. PHP is good if your PHP code size does
not exceed 3,00,000 lines. Maintainence of PHP code greater than 1,00,000 lines becomes more
difficult.

2. PHP will NOT give the performance of "C" or "C++" language. Because it is scripting language and
is interpreted it will be a bit slower than the optimized "C++" programs. For top performance, you
should use "C++" and fast−CGI with database/webserver connection pooling and use C++ compiler
optimizer "−O3" options. Zend optimizer in PHP 4 will speed up the performance of PHP to certain
extent.

On the other hand, PHP has lot of advantages and it's advantages outweigh it's limitations −

1. You can very rapidly develop web applications in PHP as compile and link is eliminated in PHP
scripting language.
2. PHP applications are very stable and do not depend on the browser technologies unlike Javascript

applications which depend on browsers. PHP will give you the freedom to select any server platform
and browser does not know that the HTML page is generated by PHP!!
3. PHP has excellent database conectivity to all SQL database servers.

4. PHP has partial support for Object oriented features

5. PHP has C++, Perl, Javascript like syntax features and has programs like 'ptags/ctags' to navigate the

source code
6. PHP has Zend optimizer which speeds up the performance

7. PHP runs on all unixes, linux, Windows 95/NT/2000 and is more powerful than ASP, JSP and others.

8. PHP has a very large user base and developer base.


WARNING: If you want 100% pure Object Oriented scripting language than you MUST consider Python.
The 'Python' is a object oriented scripting language from ground up. You would be using the Python Web
Application server called 'Zope' which is available at − http://www.zope.org and python is at


All times are GMT +5. The time now is 12:30 PM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.