Wednesday, October 27, 2010

A Success Story of PHP As Web App Platform

PHP became popular after the release of PHP3 in 1998. The platform’s popularity was a direct result of its ease of use and deployment. However, this ease of use attracted mostly amateur programmers, those who did not bother to read and study CGI or HTTP standards. Most PHP-based websites of that time had unstructured code with HTML and PHP interlacing in a number of fragment files. SQL injections, XSS vulnerabilities were also a common occurrence, while scalability, reliability, and other performance metrics were out of scope of PHP 3 development.

Even when object-oriented programming became supported by PHP 4, most PHP developers did not change their approach to development. Yet, one great thing PHP 4 did is that its new Object-Oriented Programming (OOP) features attracted more experienced software developers, which triggered the adoption of a number of popular object-oriented best practices. Read the whole story.