Prototype | Nov 11, 2007
6 comments

Monitor Prototype Ajax Requests With Google Analytics

Since Prototype 1.6 final (released this week) all Ajax transport objects are wrapped in an Ajax.Responders object. Using this object we can add generic behavior to Ajax Requests. Imagine you want to show a loading icon every time a request is ongoing. Or even better, monitoring request that are made using Google Analytics.

read this article

Prototype | Nov 8, 2007
5 comments

Firing Custom Events With The Prototype Javascript Framework

Yesterday Sam Stephenson released the final version of the Prototype Javascript Framework. I’ve been using RC0 and RC1 for some time and what I was missing in earlier releases of Prototype’s the ability to fire custom events. I’m going to use it to fire events in Plotr. In this post I’ll explain how to fire custom events, and of course how to observe those events.

read this article

Prototype | Dec 25, 2006
6 comments

Porting Prototype Enumerable functions to Mootools Array objects

I really like the Prototype Framework and the functionality that comes with it, but I like Mootools even more because it’s so damn small and lightweight. Sometimes the minimalistic framework is just too light. Recently I needed some of Prototypes’ Enumerable functions for an Array but the app was implemented using Mootools.

read this article