A Few Tips for Speeding Up PHP Code (Page 1 of 5 )
My job requires that I write Web applications that do some pretty hefty lifting, often over slowish connections. I've been hard at work recently on an application that retrieves data from a MS SQL server and builds complex multi-tabbed dynamic Web forms. Everything from validating my queries against SQL injection attacks to building multi-row in-line editable grids within the forms has forced me to work toward finding efficient ways of programming. And now that Zend 3 has shipped with its Profiler, I'm able to really home in on problem spots and rework code until I get a measurable performance boost. In this article I'll give a few examples of things you can do to make your code more efficient.