PDA

View Full Version : Prototype.js


ast3r3x
2006-08-06, 20:43
I know we have some web developers around here, and I'd imagine that people use JavaScript too. I'm not sure if you guys know about this, but uhh…it seems pretty awesome.

I have been playing around with javascript as something more useful (AJAX) and came across moo.fx (http://moofx.mad4milk.net/), a lightweight javascript effects library. Now playing around with that I noticed the prototyp.js. So I googled it because I was curious and to my amazement I found out what it was.

It adds classes and shortcuts for js use that seem like they can't be matched. It's a framework that is supposedly based heavily on Ruby.

Here (http://www.sergiopereira.com/articles/prototype.js.html#Whatsthat) is a page I found that does a great job at explaining and documenting this. The first thing they explain is something that I believe can be appreciated by almost anything who uses javascript regularly. The $() (http://www.sergiopereira.com/articles/prototype.js.html#Whatsthat) function.

Edit: Now I know my example isn't the most amazing thing, it's just an example, and it's not the best thing this framework has to offer. Do a little reading and let me know what you think.