Painless JavaScript Using Prototype
February 22nd, 2006 | Published in JavaScript/AJAX | 1 Comment
Painless JavaScript Using Prototype:
The article reads like an introduction to Prototype, starting with the basics of installation and mentions of the helper functions. Following that, they move into more complicated things - extending the class, binding functions, and handling iterations “the Ruby way” (enumerable and hash).
They finish off things with a look at three more developed topics - how to use the library to help manage HTML forms, simple examples of how to alter the DOM of a page, and, of course, using Prototype for Ajax. The form functions allow you to work quickly and easly with HTML forms. This includes things like putting the focus on a field, serializing the results of the form. They show how the DOM functionality can insert/remove content on the page, and provide a simple example of the Ajax methods to connect to a remote PHP script.
Reading this can be a very aha moment for you. There are a lot of ways to implement AJAX (though most of what people call ajax is really just dhtml effects (IMHO)
(Via Ajaxian Blog.)

February 22nd, 2006 at 8:26 am (#)
I’m glad I’m not the only one saying that. So long as it makes the web prettier I don’t care. Anything is better than flashing marquee.