Risks of prototype.js

I've been doing some reading into using Adobe's Spry Framework (more about that later), and I've found that apparently prototype.js isn't quite as awesome as I had thought. Prototype works by extended the array and object prototypes to include new functionality, unfortunately this breaks some code (including Spry and Google's xpath.js library). While I've not gotten to look into the full ramifications of this, it sounds like prototype can cause headaches if you want to mix-in other code.

 

Comments

Jon Hartmann, July 2011

I'm Jon Hartmann and I'm a Javascript fanatic, UX/UI evangelist and former ColdFusion master. I blog about mysterious error messages, user interface design questions, and all things baffling and irksome about programming for the web.

Learn more about me.

Post a job. Find one. authenticjobs.com

Interested in becoming a sponsor? Contact me.