Javascript

Facebook Twitter

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.

Green Felt News » How we hash our Javascript for better caching

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. jQuery Anti-Patterns for Performance & Compression. DOM DocumentFragments. I was playing around with DOM DocumentFragments recently, in JavaScript, seeing what I could make with them.

DOM DocumentFragments

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.

jQuery Concrete; ConcreteUI programming in jQuery. 17 Hours of JavaScript from the Masters - Nettuts+ Douglas Crockford.

17 Hours of JavaScript from the Masters - Nettuts+

John Resig. Peter-Paul Koch. Nicolas C. Zakas. Ask HN: Javascript best practices? The best way to load external JavaScript. Posted at July 28, 2009 09:00 am by Nicholas C.

The best way to load external JavaScript

Zakas Tags: Blocking, JavaScript, Performance Not too long ago, I wrote about loading JavaScript without blocking by creating a dynamic <script> tag. Bluff: Beautiful graphs in JavaScript. 75 (Really) Useful JavaScript Techniques. Advertisement Developers and designers are using more and more JavaScript in modern designs.

75 (Really) Useful JavaScript Techniques

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.