I mentioned shortly on twitter that you should avoid using SQL queries inside loops. There was some questions on how, so here’s a short post that hopefully explains some tricks that you can use.
Optimizing JavaScript for extreme performance and low memory consumption
While making WidgetCity, I had to use various measures to speed up the code. In this post, I’ll show you the tricks I learned – some of which I haven’t seen mentioned anywhere else before. A lot of performance optimization tips for JavaScript code involve things that you more typically see in web sites, like minimizing the amount of DOM …
Improving Ajax performance in Zend Framework applications
A common reason to use Ajax in a website is to make it feel faster, so you usually want Ajax requests be processed as quickly as possible. While there are many ways to speed up Zend Framework based applications, there are still some things like routing and dispatching which still add up to the total. There is, however, another way …
Optimizing Zend Framework and Doctrine applications
I decided to try profiling my quiz application to see if I could speed it up. Not surprisingly, biggest performance penalties came from loading classes and Doctrine’s ORM magic. Here are some findings on how to improve performance.
Front-end performance and frameworks
Yahoo has been researching various different techniques for improving website performance. There are a lot of obvious ones, such as making sure images are optimized, JavaScript/CSS is minified and so on. There are also a couple of less known tricks, such as putting JavaScript as the last in the document, and “flushing early”. Flushing early basically means that when you …