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! | Building a software-as-a-service solution requires addressing a few key technical challenges. In this webcast, we'll focus on the role of IBM Tivoli Directory Server and WebSphere Portlet Factory in creating a Software as a Service solution. We will demonstrate how to use Tivoli Directory Server to prevent the user population of one tenant from accessing the virtual portal and portlet components of another tenant. We will also use the dynamic profile capability of WebSphere Portlet Factory to create multiple highly customized applications from one code base. FREE! Go There Now!
| | | | Learn how you can extend modern application lifecycle management to IBM System z through the IBM Rational Software Delivery Platform (SDP). The Did you say mainframe? e-kit includes podcasts, webcasts, tutorials, white and red papers, demos, and articles designed to help ease the challenges of modernizing your enterprise. This complimentary kit for mainframe developers is a practical, how-to guide for making the most of an existing development environment, including the skills and infrastructure already in place at an established enterprise. FREE! Go There Now!
| | | | Visit IBM developerWorks to download a free trial version of Lotus Quickr 8.0, which enables collaboration by transforming the way everyday business content such as documents, rich media, photos, and video can be shared. Lotus Quickr makes it faster and easier to share content of all types (not just documents) within virtual teams. It is designed to make it easier to collaborate across organizational boundaries, while continuing to work within the context of familiar desktop applications. FREE! Go There Now!
| | | | Download a free trial version of IBM DB2 9.5 for Linux, UNIX, and Windows. DB2 9 is the result of a five-year development project that transformed traditional (static) database technology into an interactive data server that merges the high performance and ease of use of DB2 with the self-describing benefits of XML. FREE! Go There Now!
| | | | Visit IBM developerWorks to download a free trial version of IBM Rational Business Developer V7.1. Rational Business Developer offers rapid and simplified development of business applications and services through Enterprise Generation Language (EGL) tools, generating Java or mainframe solutions while shielding developers from technical complexities. FREE! Go There Now!
| | | | Analysts, architects, and developers who have existing COBOL or PL/I skills and want to extend those skills to deploy new workloads on the mainframe can use the IBM Enterprise Modernization Sandbox for System z to find hands-on walkthroughs of common real world scenarios. The scenarios provide examples of how to rapidly design, create, assemble, test, and deploy high-quality Web, Web services, portal, and SOA applications for IBM CICS, IBM IMS, and IBM WebSphere Application Server. 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!
| | | | Regression testing -- in which code is thoroughly tested to ensure that changes have not produced unexpected results -- is an important part of any development process. But many testing environments neglect the terminal-based applications that still form the backbone of many industries. In this tutorial, you'll learn how the Rational Functional Tester Extension for Terminal-Based Applications works with other Rational Functional Tester to help test terminal-based applications quickly and easily. FREE! Go There Now!
| | | | Get a free trial download of the latest version of IBM Rational Performance Tester V7.0.1, a load and performance testing solution for teams concerned about the scalability of their Web-based applications. Combining multiple ease-of-use features with granular detail, Rational Performance Tester simplifies the test-creation, load-generation and data-collection processes that help teams ensure the ability of their applications to accommodate required user loads. FREE! Go There Now!
| | | | Explore how Rational and WebSphere software enable enterprise documentation in SOA environments. Specifically, a new integration between IBM WebSphere® Business Modeler and IBM Rational® Method Composer software can help technical writers more easily keep enterprise operations manuals in sync with changes that are made to business processes, resulting in more accurate and timely documentation that benefits the entire enterprise. FREE! Go There Now!
| | | | All FREE IBM® developerWorks Tools! | |