March 10th, 2007
Currying in JavaScript is all the rage. There’s no shortage of code examples on how to do it. Regardless, currying is still a topic that many of us have a hard time truly wrapping our brains around. Let’s dig a little deeper. When we come out on the other side, we’ll have a little syntactic […]
Posted in JavaScript, Lab | 3 Comments »
February 7th, 2007
I often find myself needing to tweak existing functions in JavaScript. There are a few cases of standardized native JavaScript object methods that have very useful features that some pesky browser forgot to implement. The method exists, but it doesn’t conform to the standard. How can I possibly fix that broken browser?
Other times I’m working […]
Posted in JavaScript | 3 Comments »
September 26th, 2006
One of the really useful features of JavaScript is the flexibility of its objects. Developers have spent a lot of time looking for ways to emulate the class system of most Object-Oriented Programming languages, which has been a worthwhile pursuit. Mootools itself gives us one of the most elegant solutions to the problem of defining […]
Posted in JavaScript, mootools | 19 Comments »
September 14th, 2006
The new mootools JavaScript framework has quickly impressed me with its design and usefulness. The library was clearly written to meet real programmers’ needs while working in JavaScript. Just take a look at some of the new utility functions and methods it provides.
Note: This article covers functions and methods found in the Array.js and Function.js […]
Posted in JavaScript, Prototype, mootools | 11 Comments »
September 12th, 2006
I love the moo libraries. Despite my passion and knowledge of the Prototype JavaScript libary, I’ve never used it in a commercial project. I have used moo.fx (and the included prototype.lite) for actual client work and been very satisfied with the results. The moo libraries are very lightweight, organized and clean. They are well thought-out […]
Posted in JavaScript, Prototype, mootools | 17 Comments »
August 29th, 2006
After years of extensive research and study, I’ve come to a profound conclusion — working with strings sucks. It’s even more difficult when you’re doing it in JavaScript. Lucky for us, the Prototype JavaScript framework provides several shiny new String object functions to make our lives easier. Sounds like a perfect chance to be lazy […]
Posted in JavaScript, Prototype | 57 Comments »