|All reviews||Upgrading to PHP 5||Latest reviews||Best sellers ranking|
Upgrading to PHP 5
O'Reilly & Associates
Week: 6 All time: 101
manuellemos.netPHP 5.0.0 was released almost two years ago. Since then there have been 8 new revision releases and PHP 6 is already under development.
Despite these facts, only 6% of the hosts are using PHP 5, according to a survey conducted by company Nexen that polls millions of servers world wide every month.
The same survey determined that about 30% of the hosts have already upgraded from PHP 4.3 to PHP 4.4 . PHP 4.4.0 was released about one year after PHP 5.0.0 . Therefore, this survey shows that the PHP community is not yet very well inclined to upgrade from PHP 4.x to PHP 5.
The reasons for this apparent lack of acceptance of PHP 5 are not clear. However, the incompatibility of behavior of certain features under PHP 4 and PHP 5 can be assumed as one valid reason to be afraid to upgrade.
Upgrading to PHP 5 is a book that addresses these aspects. It was written by Adam Trachtenberg, a reputed PHP developer who works at eBay.com. He is also the author of the PHP Cookbook .
The book covers most of the new features of PHP 5, such as the new object model, the new MySQL and Simple XML extensions, iterators, exceptions, reflection, SOAP, HTML tidy, etc..
It also covers features available in PHP 4 that were changed in PHP 5, such as the XML DOM support, I/O streams, etc..
There is one particular chapter that focus on MySQL 4.1 and how to take advantage of its features using the new MySQLi extension.
For developers that are concerned about changes that may break their existing PHP 4 applications, there is one very useful appendix that details other new features and changes.
This appendix lets developers realize about other changes not mentioned in the main book chapters that may require rewriting parts of a PHP 4 application before upgrading to PHP 5.
There is also another interesting appendix that explains how to run PHP 4 and PHP 5 alongside.
This is an objective book that focus on the needs of the developers that are considering to upgrade their sites from PHP 4 to PHP 5. It is not a book for beginners. It assumes developers know PHP 4 reasonably well, and want to know what they can expect when they upgrade to PHP 5 in terms of costs and benefits . If you are considering to upgrade, this book will be very useful to help preparing yourself and migrate your applications smoothly.
No comments were submitted yet.