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! |
Hear how IBM Rational Project and Portfolio Management integrated solutions help teams put the right tools and processes in place to maximize the effectiveness and efficiency of project teams and ensure that the business vision is being executed correctly. Learn how to automate and integrate requirements prioritization, top-down project planning, communications and controls, and methodology deployment to keep your scope, costs, and schedules under control. Tackle with an end-to-end approach the management of scope and scope changes, usage of methodology to control and empower project teams, and optimization of resources to align activity costs with the overall project plan. FREE! Go There Now!
|
|
|
|
You probably have thousands of lines of COBOL code loaded with business intelligence and being used to run your business, along with an army of developers maintaining these applications. Learn how to prepare your applications and developers so you can keep that competitive edge and move to a service-oriented architecture with the IBM Rational Enterprise Modernization solutions. Replay is available for 9 months. FREE! Go There Now!
|
|
|
|
Learn to enable users to both rate existing animations and to combine existing animations into new snippets. This is the third in a series of three tutorials that chronicle the building of a site that enables collaborative discussion and animation building using Domino and OpenLaszlo. 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!
|
|
|
|
Discover how IBM Rational AppScan Standard Edition can help you detext vulnerabilities in your web applications in the Web Application Security eKit. IBM Rational AppScan is a leading suite of automated web application security solutions that scan and test for common Web application vulnerabilities. The new Web Application Security eKit provides you with valuable resources, including white papers, demos, and additional information on the benefits of testing your Web applications. FREE! Go There Now!
|
|
|
|
Visit IBM developerWorks to download a free trial of the Rational Host Access Transformation Services (HATS) Toolkit. The HATS toolkit provides a set of plug-ins for the IBM Rational Software Delivery Platform to help you easily extend your legacy applications. HATS makes your 3270 and 5250 applications available as HTML through the most popular Web browsers, while converting your host screens to a Web look and feel and it also enables you to develop new Web, portal, and rich-client applications. FREE! Go There Now!
|
|
|
|
Learn from the best! Find out how developers use Rational ClearCase to be more flexible, innovative and deliver higher quality code in the Rational ClearCase Power Users eKit. This complimentary eKit provides a collection of materials, like articles, whitepapers, and demos that can help you become a power user of Rational ClearCase. FREE! Go There Now!
|
|
|
|
Join this Rational Talks to You teleconference on November 29 at 1:00 pm ET to participate in an interactive discusssion with Grady Booch around architecture and reuse. Get your questions answered! FREE! Go There Now!
|
|
|
|
Discover how Rational tools and best practices for testing can make your job easier. The new Rational Testing eKits provide you with valuable resources – including demos, webcasts, tutorials, and articles – that help you address your specific testing needs across the software lifecycle. Five new eKits are available covering the topics of Requirements and Test Management, Functional Testing, Performance Testing, Code Quality and Embedded Systems, and SOA and Web Services Testing. FREE! Go There Now!
|
|
|
|
This whitepaper provides areas to consider when evaluating any software configuration management solution. It addresses how the IBM solutions (Rational ClearCase and Rational ClearQuest) meet the needs and requirements of both project leaders and developers to provide successful Software Change and Configuration Management. FREE! Go There Now!
|
|
|
|
All FREE IBM® developerWorks Tools! |