Whatis New in PHP5

1.Support For Simple XML
By Default PHP5 installs XML and It supports most of the xml extensions.All XML functions are now standardized on the libxml2 library and are fully W3C standards compliant.It also providing traversable structure to work with XML documents.PHP 5 also offers a replacement extension for DOMXL (available in “experimental” form in PHP 4) with the DOM extension.

2.Database Support
PHP5 offers few big enhancements to interact with database. One of the enhancement is embedded SQlite Database. You no need to have RDBM Manager to run in the background.But the performance of the SQLite is degraded by five or more concurrent connections.This is perfect for small scal applications.

2.Standard PHP Libraries
Every OOP language comes with some built-in classes, and PHP is no exception. PHP 5 introduces the Standard PHP Library (SPL), which provides a number of ready-made classes and interfaces. As of version 5.1, depending upon how PHP is configured, all in all, there are well over 100 built-in classes and interfaces — a healthy increase from the number available in version 5.0.

Having ready-made objects speeds up development, and native classes written in C offer significant performance advantages. Even if these built-in classes don’t do exactly what you want, they can easily be extended to suit your needs.

3.Exception Handling
A try block encloses code that may cause an error. If an error occurs, it is thrown and caught by a catch block. The advantage of exceptions over errors is that exceptions can be handled centrally, making for much cleaner code. Exceptions also significantly reduce the amount of error-trapping code you need to write, which offers welcome relief from an uninspiring task

4.Few Enhancements in OOPS
In previous versions of PHP there was no support for data protection, meaning that all elements of a class were publicly accessible. This lack of access modifiers was probably the biggest disincentive to using objects in PHP 4.

Popularity: 35% [?]

Leave a Reply

Close
E-mail It
Blogarama - The Blog Directory Directory of Computers/Tech Blogs Add to Technorati Favorites Find Blogs in the Blog
Directory Software blogs Top Blogs British Blog Directory. FindingBlog - Blog Directory blog search directory blog sweet blogoriffic.com Top100 Bloggers - Top Blog Directory - Blog Top list Blogs Blog Directory 5starblogs Age less highclassblogs.com kmax.ws Blog Directory & Search engine Blogs Directory All-Blogs.net directory Webfeed (RSS/ATOM/RDF) registered at http://www.feeds4all.com Business Blogs & Directory LS Blogs

Rate Me on BlogHop.com!
the best pretty good okay pretty bad the worst help?

-->