I quite agree that a great deal of development time can be saved (or gained if you prefer) by using a javascript library for any substantial Web 2.0 project, but I must say that some of these libraries are not fostering (at least not as of this writing) collaboration amongst themselves by conflicting on the global namespace.
Because we are building mashups and social apps today we will always have need to use two or more libraries at the same time in a project to achieve our feats. I once had a project built on JQuery and used a particular Mootools plugin throughout, and then came a page where I needed to use a Prototype plugin and I got disaster. JQuery, Mootools, and Prototype all use the $ smybol to denote their global namespace. They naver envisaged a very likely scenario as this ??.
Ok, JQuery has been proactive with JQuery.noConflict(), what about MooTools and Prototype, I think it's high time we got a solution to this.
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment