jQuery Proven Performance Tips And Tricks (Slides) by Addy Osmani

„Apps should be snappy, not sloppy”, that’s what Addy Osmani writes. Also how true is this: “Best practices offer optimal approaches to solving problems. If we don’t follow them, browsers can end up having to do more work, which means more memory use and slower apps.” A part of the steps we should take in … Continue reading jQuery Proven Performance Tips And Tricks (Slides) by Addy Osmani

HOW TO: check if callbacks are running

Today I was struggling with a nasty bug. The functionality is pretty basic: we attach an onchange event handler on several textboxes in which we do a callback with $.ajax. During the callback, we make some calculations on the server-side and when the callback comes back successfully, we update the textboxes with the new values. … Continue reading HOW TO: check if callbacks are running