Want more? Subscribe to my free newsletter:

Writing Modular JavaScript With AMD, CommonJS And ES Harmony

October 29, 2011

When we say an application is modular, we generally mean it's composed of a set of highly decoupled, distinct pieces of functionality stored in modules. As you probably know, loose coupling facilitates easier maintainability of apps by removing dependencies where possible.

In this article, we're going to look at three formats for writing modular JavaScript: AMD, CommonJS and proposals for the next version of JavaScript, Harmony.

The read the rest of this article, click here.