…GitHub: ender-js / Ender , License: MIT , npm: ender ) by Dustin Diaz and Jacob Thornton is a package manager for front-end JavaScript. It has a command-line interface that allows scripts to be packaged and minimised, which can then be loaded like CommonJS modules in a browser.
This builds ender.js and ender.min.js files that contain the specified modules:
ender build jquery underscore backbone
Then in my client-side scripts I can require libraries when they're …
…CacheProvider (License: MIT ). He hasn't yet written a README , but the most of the methods in the CacheProvider source are nicely commented so it's easy to follow how it works.
It's a continuation of the JavaScript Cache Provider class by Dustin Diaz. Like Diaz's class, CacheProvider will use localStorage if available.
Listen to this week's audio podcast
Of microlibraries and nanolibraries If you've been following along lately, you know that there's been a plethora of small JavaScript libraries that have been released, particularly by the prolific Dustin Diaz. Previously we've seen a proliferation of jQuery plugins, but it seems that the JavaScript ...
squish is a node-based CSS compressor from Dustin Diaz (who's releasing an absurd amount of code lately...)
Mozilla JavaScript 2011 - David Mandelin gives an overview of planned improvements to Firefox, including a new debugging API (via a Debug object), incremental garbage collection, and the next planned JIT compiler called IonMonkey
Beyond the browser: Microsoft's ‘ C3′ next-gen platform for HTML-based applications
TextMate …
Sandboxing JavaScript
Today I fired off a tweet that in some developers eyes may have been controversial
But to the point, the task at hand I was trying to solve was to bundle a set of core modules built by Ender along side my own library (that uses Ender), and not populate the global space.
Moreover, I'm not talking about sandbox natives , but something more along the lines of what Dean Edwards wrote in 2006 using iframes — except I don't …
Crouching Ender, hidden command
For those of you following Ender (the open micro-to-macro API for composing your own custom JavaScript library), today we have a fresh new CLI (command line interface) that will help you manage your Ender packages. It's pretty rad ('cause, you know, we like it) and it makes it extremely useful when maintaining one Ender project, to another. So without further fuss, let's cut this post short and check out this short video composed …
License Ender.js (the wrapper) is licensed under MIT - copyright 2011 Dustin Diaz For the individual submodules, see their respective licenses.
Building a custom platoon This is the part where it gets next-level future boss. We promise. Check out the Ender CLI video of this in action. The short explanation is that you can do this: $ ender -b qwery,bonzo,bean,underscore
Why all this?
Because in the browser - small, loosely coupled modules are the future, and large, tightly-bound …
Qwery - The Tiny Selector Engine
It's true. The world needs another JavaScript DOM Selector Engine. So without further fuss - introducing Qwery - The Tiny Selector Engine . It's a port from where Simon Willison left off with his getElementsBySelector in 2003, and believe it or not, this is exactly where jQuery started .
Qwery supports all the basic CSS1 & CSS2 selectors, plus the additional (most important) attribute selectors …
Klass
The concept of formal classes in JavaScript has led the internet develosphere amuck since the dawn of time day JavaScript was invented . From Crock's explanation on prototypal inheritance to Dean's Base one and two , from Prototype's Class to Mootool's Class , and from debunking objects to getting back to basics , the JavaScript community thrives on systems that help make working …
Smallest DOMReady code, ever.
update : after an insightful conversation , there are several other intrinsicies involved to get a solid domReady working across multiple browsers. Thus because of this, $script.js has an updated version of how a proper domReady should be implemented thanks to research done by @ jdalton.
This evening after tooling around with trying to optimize bits and pieces from a recently formed project ( $script.js - async JS loader & …