PHP is a powerful script and interpreter for Linux servers that, if used properly, allows programmers to stretch their skill to simplify database design, create mp3s and much more. Learning how to implement these scripts from the command line gives novices and masters alike a chance to augment their skillset.
Chapter 6 -- "Application Design" -- of PHP Hacks offers readers a peak at code for performing tasks such as supporting wikis, creating proper XML and modular interfaces, as well as turning any object into an array.
Excerpted from PHP Hacks, First edition by Jack D. Herrington (ISBN: 0-596-10139-2 ). Copyright © 2006 O'Reilly Media, Inc. All rights reserved.
This was first published in February 2006