PHP is a server side scripting language invented by Rasmus Lerdorf in 1995 for developing dynamic web pages. Earlier it stood for ‘Personal Home Page’ but it has now been renamed as ‘Hypertext Preprocessor’.
The first and the best part of this language is that it helps reduce the cost of web development as it is an open source technology. Now that’s amazing. Open source technologies have actually been a blessing to the whole web development community out there.
PHP frameworks help developers in building complex rich internet applications faster, with better functionality, less coding and thus save time. They are light in weight, reliable, extendable and secure.
A variety of PHP frameworks is available and one can choose depending upon his/her requirement. Most of the popular PHP frameworks follow the Model View Controller (MVC) coding pattern. The pattern has three layers like Model layer for database application, View layer for the implementation of the graphical user interface and Controller layer for business logic. Every layer can be worked independently of the others. This feature helps to make the whole process faster, smoother and less complex.
Any PHP code in a requested file is executed by the PHP runtime, usually to create dynamic web page content or dynamic images used on web sites or elsewhere. It can also be used for command-line scripting and client-side GUI applications.
PHP can be deployed on most web servers, many operating systems and platforms, and can be used with many relational database management systems (RDBMS). The latest version, PHP5 a fully object oriented language, helps to build large and complex web applications.
As a standard CGI program, PHP can be installed on any UNIX machine. With support for the new FastCGI standard, PHP can take advantage of the speed improvements gained through this mechanism. Moreover, as an Apache module, PHP becomes an extremely powerful and lightning fast alternative to CGI programming.
PHP supports PostgresSQL which is an advanced free RDBMS. PHP supports embedding PostgreSQL “SQL queries” directly in .html files. It can also be used to create customized HTTP-based authentication mechanisms for the Apache web server.
This server side scripting language also supports typed variables, arrays and even Perl-like associative arrays. These can all be passed from one web page to another using either GET or POST method forms. Further, it has awesome access logging capabilities and users can maintain their own hit counting and logging. It does not use the system’s central access log files in any way and it provides real-time access monitoring.
The Log Viewer Script provides a quick summary of the accesses to a set of pages owned by an individual user. In addition to that, the package can be configured to generate footer on every page which shows access information.
PHP supports a full-featured C-like scripting language. It also has support for Thomas Bout ell’s GD image library which makes it possible to generate GIF images on the fly. It also supports an unique “Safe Mode” which makes it safe to have multiple users run PHP scripts on the same server.