Monday, December 12, 2005

Prototype JavaScript Framework: Class-style OO, Ajax, and more

Prototype JavaScript Framework: Class-style OO, Ajax, and more: "JavaScript Framework

Prototype is a JavaScript framework that aims to ease development of dynamic web applications. Featuring a unique, easy-to-use toolkit for class-driven development and the nicest Ajax library around, Prototype is quickly becoming the codebase of choice for Web 2.0 developers everywhere."

Some of the links on this site are quite useful - in particular:
Behaviour - to Keep HTML markup clean when using AJAX and conceptually: Seperate behaviour from Structure as further emphasized by Simon Willison's Weblog entry : Execute Javascript on page load.

These articles are all about how we should be thinking of implementing javascript, learning from the mistakes that have already been made, keeping the markup clean and simple while having the behaviours in external files and thinking about pluggable architectures that will not pollute javascript namespaces and allow authors to write independent scripts that can be used across websites, and degrade gracefully.

No comments: