Why Does Scriptaculous Need Prototype?
I’ve been going through the Scriptaculous effects library in some detail. After grokking all there is to know about effects queues, I was left with one question: why does the effects library have a...
View ArticleBreaking Prototype habits in a jQuery world
When you get used to doing things one way, it’s hard to retrain yourself. It took me months to “get” the Prototype way of doing things after a decade of writing all of my own Plain Old JavaScript,...
View ArticlejRails: Ruby on Rails with the Prototype guts ripped out
My esteemed colleague Noel Rappin sensibly advocates doing things the Rails way whenever possible. As a Rails noob, I should follow his advice. But as a dedicated user interface developer, I’m already...
View ArticleProgressive Enhancement with Prototype and Custom HTML Attributes
One of the nifty things progressive enhancement can be used for is to allow you to markup your document in a way which allows behaviors to be added to it automatically. Most commonly, this is done by...
View ArticleAsk the readers: How do I fire native browser events in Prototype.js?
I’ve been pairing with my colleague Noel Rappin on a cool Rails project lately, which has helped me turn a bunch of conceptual knowledge into real-world experience. I’m writing Ruby code, doing things...
View ArticlePimp my jQuery: Five plugins to replace the features Prototype and...
Ajax pros, especially in the Rails world, often know the Prototype and Scriptaculous JavaScript libraries inside and out. When faced with the prospect of writing on top of the competing jQuery...
View ArticleGetting Rid of the "handler.call: handler undefined" Error
If you’re using prototype (or rails, which uses prototype by default), you’ve probably seen this javascript error before: handler is undefined While not particularly threatening (no ill side effects...
View ArticleJust mow the grass
photo credit: great_sea Gauging a client’s wants and needs is as much an art as it is a science. Oh sure, establishing the requirements and needed features and potential limitations (hello legacy...
View ArticleCatching Ajax Errors with Prototype and Rails
In an exclusively Ajax application it can be difficult for a user to determine when their connection to the server has dropped. For example, we at Pathfinder use an excellent internal tool to keep...
View ArticleJavascript debugging and testing in the wild (Prototype bug when using...
I had to dig into a production issue the other day that presented itself like this: There was a piece of javascript code that iterated over some dom elements, gathered ids into 2 arrays, ran a...
View Article
More Pages to Explore .....