After attending The Ajax Experience (many more posting coming on
this event), I was excited to start making use of Prototype to increase
If you haven’t seen, or downloaded it yet, you can find Prototype
Probably the biggest time saver for me so far was the $(‘id’)
functionality, that returns a DOM element named id. This is
equivalent to document.getElementById(‘id) …. and has already saved
me tons of time.
However, one item to note…. and it is a simple mistake to make. In
putting together a quick test for this framework, I didn’t consider
before the DOM is loaded. SO I was getting a lot of messages about
the element not having the properties that I was attempting to
calling it using <body onload=”doInit()”>, then things worked *much*
Again, great library and I believe the $$(‘css3 selector’) will also
save me large amounts of coding.
The great thing about this framework, is that it appears to be
compatible with all the major frameworks, and in some cases is used
inside their framework. So this is a great place to start, if you
applications, or coding style/speed.