Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at TechCrunch Disrupt (New York, NY) with: Seth Godin
Ben Nadel at TechCrunch Disrupt (New York, NY) with: Seth Godin@ThisIsSethsBlog )

Need For A Better Javascript Prototype Library

By Ben Nadel on

If you have been programming in Javascript you have probably heard of the Prototype library. This library has some really neat stuff for crazy DHTML. My problem with it is that the name "Prototype" is a horrible choice. In Javascript, Prototype allows you to extend base objects (and user defined objects) with universal methods and properties. It creates prototype chains, which I don't understand fully, but it seems to me to relate to abstract methods in OOP.

What I want to do is create a Javascript prototype library which is a much more of a natural "prototype" notion. I want to have methods that extend built in objects such as the String and the Date. I think its gonna be wicked cool.

Looking For A New Job?

100% of job board revenue is donated to Kiva. Loans that change livesFind out more »

Reader Comments

I would recommend looking at Mootools ( if you're not already familiar with it. It's my personal favorite JS library, followed by YUI ( Both are some of the newest libraries on the block. YUI is probably the most respected and well-thought-out library out there. I personally prefer Mootools over it though, since I'm a fan of its syntax and greater emphasis on code brevity.