mvc

Green Felt News » How we hash our Javascript for better caching One of the problems we use to see frequently on Green Felt happened when we’d update a Javascript API: We’d add some parameters to some library function and then update some other files so that they called the function with the new parameters. But when we’d push the changes to the site we’d end up with few users that somehow had the old version of one of the files stuck in their cache. Now their browser is causing old code to call new code or new code to call old code and the site doesn’t work for them. Green Felt News » How we hash our Javascript for better caching
jQuery Anti-Patterns for Performance & Compression
I was playing around with DOM DocumentFragments recently, in JavaScript, seeing what I could make with them. Roughly speaking, a DocumentFragment is a lightweight container that can hold DOM nodes. It’s part of the DOM 1 specification and is supported in all modern browsers (it was added to Internet Explorer in version 6). In reading up on them I came across an interesting point, from the specification: Furthermore, various operations — such as inserting nodes as children of another Node — may take DocumentFragment objects as arguments; this results in all the child nodes of the DocumentFragment being moved to the child list of this node. DOM DocumentFragments DOM DocumentFragments
jQuery Concrete; ConcreteUI programming in jQuery
17 Hours of JavaScript from the Masters - Nettuts+ Douglas Crockford. John Resig. Peter-Paul Koch.

17 Hours of JavaScript from the Masters - Nettuts+

Hacker News | Ask HN: Javascript best practices?
Posted at July 28, 2009 09:00 am by Nicholas C. Zakas Tags: Blocking, JavaScript, Performance Not too long ago, I wrote about loading JavaScript without blocking by creating a dynamic <script> tag. The best way to load external JavaScript The best way to load external JavaScript
Bluff: Beautiful graphs in JavaScript Bluff: Beautiful graphs in JavaScript Bluff is a JavaScript port of the Gruff graphing library for Ruby. It is designed to support all the features of Gruff with minimal dependencies; the only third-party scripts you need to run it are a copy of JS.Class (2.6kB gzipped) and a copy of Google’s ExCanvas to support canvas in Internet Explorer. Both these scripts are supplied with the Bluff download. Bluff itself is around 11kB gzipped. To draw a graph, you create a new Bluff graph object using the id of a canvas element on the page, set some options, add the data and labels, then tell the graph to draw.
Developers and designers are using more and more JavaScript in modern designs. Sometimes this can be a hindrance to the user and take away from the simplicity of the design, and other times it can add greatly to the user’s experience. The key is a) adding the right amount of JavaScript, and b) using the right JavaScript techniques.

75 (Really) Useful JavaScript Techniques | Developer&#039;s Tool

75 (Really) Useful JavaScript Techniques | Developer&#039;s Tool