May 17, 2006
8:59 am

There was a lot of talk on namespaces, and conflicts with the $ function.

This problem is made worse in the JavaScript world due to the fact that you have to ship the JS that your app needs each time. Practicalities mean that a lot of developers have build tools that generate a minified js file. One big file. One download.

This has lead to years of copy 'n paste reuse. I have seen people take the $ function from Prototype and put it in their own helpers.js file.

If we could declare standard libraries and have them cached in the browser nicely we wouldn't have this problem:

  • import dojo.foo v2.1
  • import openajax.$ v3.0

We could standardize $ and keep it simple.

Loading

Contextual Related Posts:

No followup yet

Leave a Response

Comment Preview
« A Snapshot of Snap, the New AJAX Search EngineFlickr gets a Facelift »
Feed Icon

Subscribe via RSS or email: