Tuesday, May 16th, 2006
There was a lot of talk on namespaces, and conflicts with the $ function.
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.
Posted by Dion Almaer at 10:06 am