"Preoptimization is the root of all evils"
Donald Knuth, The Art of Computer Programming
In some situations after writing a PHP-based web site application, developers may find that the site or application is not fast enough to meet their performance requirements. So they'll have to optimize their code to reduce the execution time of the scripts. While PHP is generally a fast scripting language, there are some techniques, tips, and tricks that can be used to optimize the code.
In this chapter we'll cover:
Techniques that help optimize code
Advanced database concepts that can further improve the performance of PHP programs