Sunday 26 February 2012

PHP 5 - The King Of Web Development Languages

Since the release of PHP version 5, the woes of developers have indeed finally come to an end. PHP 5 is essentially the most robust version of this web coding language that comes integrated with support for Object Oriented Programming as well as enhanced MySQL and XML. These three essential components of PHP 5 have been completely recoded in order to unleash their full capability. Apart from this, there are tons of other improvements that have been inculcated within this release. Here is a brief overview of all good things that happened to PHP 5:

Enhanced Support For OOP:

Before this 5th release of PHP, some developers were really frustrated due to limited OOP support. However, this version of PHP carries a huge variety of classes and public / private methods that help is making PHP the king of all web development application languages. The PHP 5 comes integrated with constructors, final properties and method, enhanced interfaces, destructors, class type hints and objects plus a complete collection of magical methods.

Recoded and Enhanced MySql:

PHP and MySQL together are deployed for programming robust and scalable web applications. Although earlier version of PHP was acting OK with MySQL, but this version comes with even better enhancements. Components like prepared statements and inbound / outbound parameters have been fully recoded along with SSL connection and Multi Query functions. MySQLi has also been deployed to gather some juice from newly OOP functionality added to

New XML Extension:

1. The new XML extension integrated with this release of PHP include:

2. Unified whole extension

3. Single Library Standardization

4. Full W3C Compliance

5. Easy to Handle and Worthy XML Tool

6. Effective and Quick Processing of Data

SQLite Database Integration:

SQlite is a lighter version of MySQL that doesn't requires you to install complete database and only needs a single library to store and query the required data. PHP 5 comes packaged with SQLite that is bound to operate on all PHP 5 installations. The SQLite support of sub queries, triggers and transaction makes it a wonderful add-on.

Revamped Exception Handling:

This new version of PHP comes with a highly enhanced and clear error handling interface that wasn't present in previous releases. The new and revamped exception / error handling allows you to separate coding logic from exception handling and parsing them to different and associated code joints.

Apart from these important changes in PHP 5, some minor enhancements include better SOAP deployment with WSDL file and Iterators. Iteration is a new addition to PHP 5 and allows programmers to clean jumbled details from their code.

Article Source: http://EzineArticles.com/6150961

No comments:

Post a Comment