XING Devblog

Monthly Archives: November 2008

Quick Hint for JavaScript Ninjas

To speed up and optimize both, you can try the following: Whenever you want to execute JavaScript that isn’t wrapped by a class or a named function, think about using anonymous functions! Example: var element = $("important-element"); // … // Anonymous function (function() { var element = $("element-id"), foo = true; element.observe("click", function(event) { event.stop();   Continue Reading…


Client-Side Performance Measurements

p5rn7vb We want to take a holistic approach that incorporates all of the factors affecting a user’s experience, in a positive or negative way. Because of this, we recently deployed client-side performance measurements on our whole platform for end-to-end performance. So, if we swap a piece of hardware and see remarkable performance improvements, we will   Continue Reading…