PHP Unleashed By: John Coggeshall Published by Sams
PHP 5 Unleashed, published by Sams and written by a team of 7 authors with John Coggeshall as lead, offers a great representation of how powerful PHP can be. It covers a wide variety of topics from the standard databasing and form handling to handling XML, encryption and even direct input/output to an underlying unix operating system. The first part of the book covers PHP's use in general web development, covering basic syntax, working with strings, arrays, forms, cookies, sessions and using templates. The second part discusses more advanced web development issues, such using packages from the PEAR library, working with XML and XSLT, performing user authentication, encrypting sensitive information, generating email messages, handling errors, optimizing code and scripting in the Object Oriented paradigm. The third and forth sections is where the potential power of PHP is realized by discussing web services, network programming, low-level system calls and console scripting. Part five shows how to work with SQLite, dba files and MySQL through the new mysqli functions. The sixth part reviews generating graphics using the GD library and generating PDF and RTF documents. The final section of the book is made up of several appendixes full of information on the installation process, migrating from PHP 4, good programming practices and resources for help and more information. There was only one chapter I felt could have been omitted, Chapter 19 - Building WAP-Enabled Websites. WAP pages are different from HTML documents, but the process of generating them with PHP is the same. It didn't make sense to spend 38 pages on it. I would liked to have seen the space devoted to working with GTK+'s PHP bindings or something else. The sections I found most interesting were those covering the new mysqli extension, direct I/O to the underlying operating system, and console scripting. I seem to like pushing PHP to the limits, which is why direct I/O and console scripting drew my attention. And though a lot of work has been done recently on PHP's database functions, but many people still aren't familiar with the improvements and so it's nice to see that coverage as well. Another section I found interesting was the discussion on optimizing one's code. All too often books seem to talk about optimization by making use of Zend extensions or caching/templating libraries. PHP 5 Unleashed goes further and illustrates how variables are interpolated in loops and such. Certainly optimization techniques and theory could fill volumes so the coverage can't go too in-depth, but the break from the usual rigmarole is refreshing. John Coggeshall's PHP Unleashed is an excellent book which literally shows the power of this scripting language which can be unleashed. A programmer at any level can pick up this book and find something helpful. In fact, it's so content-rich that it now holds the place of honor as my primary PHP reference book. | DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware. |
More PHP Book Reviews Articles More By bluephoenix developerWorks - FREE Tools! | The IBM DB2 Deep Compression ROI tool is designed for DBA’s and IT management personnel to perform a clinical analysis of the cost savings gained from the Storage Optimization feature of DB2 9 for Linux, UNIX and Windows. The feature, also known as Deep Compression, compresses data that lies within a database by up to 80% at times. FREE! Go There Now!
| | | | You'll get answers to many questions and more from David Barnes, Lead Evangelist for IBM Emerging Internet Technologies. David will discuss aspects of Web 2.0 that bring value to corporations, academia, and government. He'll also discuss IBM's vision around Web 2.0, including the importance of remixability and consumability. The discussion will culminate with examples of various IBM Software Group solutions you can use to get ahead of the Web 2.0 adoption curve. FREE! Go There Now!
| | | | Attend this launch webcast with Scott Hebner, Vice President of IBM Rational Marketing and Strategy, for an overview of Rational’s new software offerings and resources to help modernize and accelerate software innovation on i on Power Systems – while ensuring past application investments are protected and continue to grow. Learn how these solutions are helping customers extend their core i5/OS solutions toward modern architectures such as SOA and web technologies to deliver business improvements that stand the test of time. FREE! Go There Now!
| | | | Build secure Web services with transport-level security using IBM Rational Application Developer V7 and IBM WebSphere Application Server V6.1. Follow this three-part series for step-by-step instructions about how to develop Web services and clients, configure HTTP basic authentication, and configure HTTP over SSL (HTTPS). This first part of the series walks you through building a Web service for a simple calculator application. You generate and test two different types of Web services clients: a Java Platform, Enterprise Edition (Java EE) client and a stand-alone Java client. You also handle user-defined exceptions in Web services. FREE! Go There Now!
| | | | CakePHP is a stable production-ready, rapid-development aid for building Web sites in PHP. This "Cook up Web sites fast with CakePHP" series shows you how to build an online product catalog using CakePHP. FREE! Go There Now!
| | | | In this tutorial, you can learn how to install and configure the IBM Rational Asset Manager Eclipse client, explore the different views in the Asset Management perspective, learn various search techniques, work with existing assets, and submit a new asset. FREE! Go There Now!
| | | | Ken Krugler, co-founder of code search company Krugle, and Laura Merling, vice president of Marketing and Business Development for Krugle, join to talk about the ins and outs of code search and what it means as a new feature for developerWorks users. FREE! Go There Now!
| | | | Join this Rational Talks to You teleconference on December 4 at 1:00 pm ET to discuss how Rational Method Composer can help meet your compliance objectives. Get your questions answered! FREE! Go There Now!
| | | | Join this webcast to discover the key requirements for successful change and release management. Learn how to extend your .NET environment to improve productivity and collaboration, and address core problems afflicting team development. In this webcast, we’ll review typical challenges faced by customers and how to resolve them with the IBM Rational Change and Release Management solution, including Rational ClearCase, Rational ClearQuest and Rational Build Forge. Replay is available for 9 months. FREE! Go There Now!
| | | | Join this Rational Talks to You teleconference, to hear how Enterprise Generation Language (EGL) eliminates the need for tedious and error-prone low level coding, so developers can focus on business requirements. EGL extends the Rational software development platform with a simplified programming language that enables developers who have little or no experience with Java, Web technologies or Service Oriented Architecture, to create enterprise-class applications and services quickly and easily. It also allows developers who may have little or no mainframe programming experience to quickly create traditional mainframe components. FREE! Go There Now!
| | | | All FREE IBM® developerWorks Tools! | |