Sandboxing JavaScript
Tuesday Aug 2 2011
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. More after the jump
Crouching Ender, hidden command
Friday Apr 22 2011
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 by everyones favorite JavaScript hipster and core Ender contributor (heh, there's only two of us), @fat.
Ender.js - The open submodule library
Monday Apr 4 2011
With great excitement it brings me pleasure to announce an all-to-predictable endpoint of recent events ? Ender.js, an open submodule library. Ender is a small yet powerful JavaScript library composed of application agnostic opensource submodules wrapped in a slick intuitive interface. At only 7k Ender.js can help you build anything from small prototypes to providing a solid base for large-scale rich applications.
Qwery - The Tiny Selector Engine
Wednesday Mar 23 2011
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 from CSS3. Additionally it allows multi-selects (div,p) as well as context-aware selectors (like jQuery.find()).
Last but not least, it's open source awaiting your valuable feedback to make it leaner and faster. There are tests to ensure its integrity, however sans-benchmarks. Although, it should be noted it does support querySelectorAll when available in the browser (to bring 2003 to modern times).
Klass
Tuesday Mar 8 2011
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 with JavaScript classes easier — despite it still being a "classless" language.
Well, I'm here to introduce one more that will keep things simple. More after the break.
Smallest DOMReady code, ever.
Wednesday Feb 23 2011
This evening after tooling around with trying to optimize bits and pieces from a recently formed project ($script.js - async JS loader & dependency manager), I decided to look further into shortening the DOMReady code - since part of the goal is to have the smallest amount of code possible. Read on to see the solution.
find it
recent
- Sandboxing JavaScript
- Crouching Ender, hidden command
- Ender.js - The open submodule library
- Qwery - The Tiny Selector Engine
- Klass
- Smallest DOMReady code, ever.
- $script.js - Another JavaScript loader
- About that slowness on Twitter...
- Autocomplete Fuzzy Matching
- JavaScript Cache Provider
- JavaScript Animate
- Asynchronous method queue chaining in JavaScript
- Something changed
- Unofficial Twitter Widget Documentation
- Twita@talinkahashify your tweets
popular
- Write classical style OOP in JavaScript with klass
- Create method queues independent of callbacks
- Better ways to writing JavaScript for beginners
- Parenthetical backmatching in JavaScript
- Seven hot tips to trick out your web 1.0 website
- Speed up the way you write Ajax, elegantly
- JavaScript Publisher/Subscriber Pattern
- Sugar Arrays!
- Screencast: YUI Basics and DOM Hijacking
- JavaScript Custom Events
- Yahoo! UI Tetris
- Forget addEvent, use Yahoo!'s Event Utility
- Seven ways to toggle an element with JavaScript
- JSON for the masses
- Unobtrusive Degradable Ajax Style Sheet Switcher
- Top 10 JavaScript Functions
- CSS Shorthand Reference
- Min-height Fast Hack
- Sweet Titles!
- CSS tabs with Indicators
- getElementsByClass
- Focus the User: Narrow the options
- Better Headline Writing
- Add and Remove Elements Dynamically
- Check one, Check all. Toggle Checkboxes