Skip to main content
Ben Nadel at Blue Smoke (New York City, NY) with: Claude Englebert
Ben Nadel at Blue Smoke (New York City, NY) with: Claude Englebert ( @cfemea )

Need For A Better Javascript Prototype Library

By 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.

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.