In this chapter we've looked deeply into optimizing PHP code.
We've suggested a methodology for optimizing code based on:
Profiling
Analysis of script profiles
Optimization of bottlenecks
Then we looked into several different optimization approaches like:
Optimizing code
Optimizing the database
Buffering output
Caching
While PHP programmers are proud of the "speed of coding" concept, the "speed of code" goal may appear. So PHP programmers should be aware of optimization techniques.