PHPMaster.com: Practical Code Refactoring, Part 4 - Efficiency
PHPMaster.com has posted the latest in their "Practical Code Refactoring" series, this time with a focus on efficiency and how you can refactor your code to help it perform better both in processing power and in resource use.
In part three of this series we dealt with refactoring code for extensibility and discussed logical extensibility, modular design, decoupling, and encapsulation. In this final part of the series, we discuss what the main concerns of efficiency are for your web application and how to refactor for better efficiency.
They talk about some of the things you can do about network bandwidth usage, memory inefficiencies and processing issues (over you doing more work than you need to?). These aren't code examples - every application is different when it comes to this stuff, but it gives you some good questions to ask to fill in the blanks.