Fetching Database Query Results
When to Store Content in a Database
Simulating HTTP Connections
In this final chapter, I will touch upon some issues of efficiency and debugging, which are more art than science. Efficiency should not be your first concern when writing code. You must first write code that works, and hopefully your second concern is keeping the code maintainable. As I write this, the Zend optimizer has become available. An optimizer can reduce memory use and execution time for you behind the scenes, but it can't address all issues of efficiency.
You will pick up some tactical design issues as you gain more experience in ...