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! | Join this webcast, to learn how the Rational Process Library can help with compliance issues, drive process improvement, and assist in service-oriented architecture (SOA) or Agile development. We will take a peek into the Rational Process Library with content around software and systems engineering (including RUP), operations and systems management, program and portfolio management, and asset and SOA governance. FREE! Go There Now!
| | | | 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!
| | | | As businesses grow increasingly dependent upon Web applications to provide services to customers, employees and partners, these complex applications become more difficult to secure. Although traditional security solutions protect Internet infrastructure layers, they do not guard against HTTP and HTML attacks. Many organizations that conduct security testing still deploy applications that allow attackers to manipulate their logic and wreak havoc on their business. To mitigate this risk, development and delivery teams must address Web application security throughout the lifecycle, addressing the many layers detailed in this paper. 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!
| | | | Download a free trial version of IBM Rational Developer for System i V7.1, which provides a complete development environment for traditional i5/OS application development. IBM Rational Developer for System i is a new eclipse-based workstation offering for i5/OS application development that provides a comprehensive Integrated Development Environment for edit/compile/debug of traditional RPG/COBOL/C/C++ i5/OS applications. 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!
| | | | Because access to government information continues to be an area of concern for many U.S. citizens with disabilities, the U.S. government enacted Section 508 of the Rehabilitation Act in 2001 to ensure that government agencies create accessible Web content, enabling all citizens to access the information they need. A fully accessible Web site makes Web content accessible to all individuals, including those with disabilities, who may be accessing Web content via a variety of user agents. Common user agents include standard Web browsers, text-only browsers, assistive devices and mobile devices such as cell phones or personal digital assistants (PDAs). 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!
| | | | The Eclipse community is constantly working to extend Eclipse's functionality. In this webcast, learn about some of the most important and feature-rich projects under development. From multi-language support to plug-in development, tune in to see what Eclipse is capable of now. FREE! Go There Now!
| | | | IBM Lotus Notes 8 provides a wide range of developers the ability to provide customized, integrated user interfaces via composite applications and via custom sidebar and toolbar plug-ins. This webcast provides you with tips and techniques to use with out-of-the-box capabilities of Lotus Notes 8, and survey how you can share useful components within your own company and within a larger community. FREE! Go There Now!
| | | | All FREE IBM® developerWorks Tools! | |