concept typical web application in category php
appears as: typical web applications, typical web application

This is an excerpt from Manning's book PHP in Action: Objects, Design, Agility.
At this writing, there are no refactoring tools for PHP. We have to edit the code manually. Chapter 11 of this book introduces some of the techniques that are useful in typical web applications. In addition, refactoring PHP 5 is very similar to Java. The techniques in Martin Fowler’s classic book Refactoring [Fowler Refactoring] are not hard to apply in PHP.
Starting from that, we’ll see how the patterns compare when we try to use them in a typical web application. Then we’ll take a look at another challenge that the real world sometimes throws at us: optimizing queries.