Skip to main content
Ben Nadel at cf.Objective() 2012 (Minneapolis, MN) with: Shawn Slaughter
Ben Nadel at cf.Objective() 2012 (Minneapolis, MN) with: Shawn Slaughter

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

172 Comments

I would recommend looking at Mootools (http://mootools.net) if you're not already familiar with it. It's my personal favorite JS library, followed by YUI (http://developer.yahoo.com/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.

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel