Skip to main content
IBM  
Shop Support Downloads
IBM Home Products Consulting Industries News About IBM
IBM developerWorks : Web Architecture : Education - Tutorials
Writing efficient PHP
ZIPPDF (letter)PDF (A4)e-mail
Main menuFeedbackNext
 
 Tutorial: Writing efficient PHP 
Writing efficient code
 1. Coding for efficiency
 2. Optimizing loops
 3. Optimizing loops: eliminate redundant function calls
 4. Optimizing loops: eliminate redundant function calls (continued)
 5. Optimizing loops: inline function calls
 6. Optimizing loops: create or destroy objects
 7. Eliminating empty functions
 8. Eliminating redundant code
 9. Avoiding comments that fail to add value
 10. Reordering switch...case statements
 11. Handling special cases early
 12. Using multi-dimension arrays with caution
 13. Watching your network traffic
 14. Returning content when it's available
 15. Section summary
Privacy Legal Contact