Summary and Resources
In this article we explained how to design and write quality functions. We demonstrated how to to make a collection of modules and scripts mesh together to craft larger applications and we examined techniques that reduce coding effort and produce elegant code.
In the next article we'll illuminate classes and objects in PHP, build on our current skills, and hammer out some code that does caching and database abstraction.
- The PHP Debugger is available (at no cost) for profiling and debugging PHP code.
- Part 1 of this series, "Lay the foundation" (developerWorks, August 2002), discusses how to lay a rock-solid foundation in PHP.
- Part 2 of this series, "Use variables effectively" (developerWorks, September 2002), shows how to make script configuration easy by constructing a configuration file parser using variable names that differ.
- Visit the dW Web architecture zone for more Web architecture resources.