Archive for the ‘CommonJS’ Category

AMD versus CJS. What’s the best format?

September 30th, 2011

JavaScript Harmony will introduce native modules into JavaScript. Finally. And when IE9 finally dies a slow death, we’ll be able to use native modules in the browser. Yay corporate support contracts. In the mean time, there are two competing standards for modules: AMD and CJS Modules 1.1.1. Which one is better? Which one should you be using?

I’ve got an opinion and it may surprise you.

Read more…

AMD, CommonJS, Javascript