Good implementation of scalable JavaScript application architecture (Sandbox by Nicholas Zakas)?

Martin picture Martin · Jan 2, 2012 · Viewed 7.6k times · Source

I recently watched a good video with regards to a modular JavaScript architecture including a sandbox. I was wondering if there is anything that's been implemented in the wild?

Is the framework downloadable or an implementation of it?

The videos were great but they were only theory and no code was available. Original video is here.

Answer

Hasith picture Hasith · Aug 17, 2012

I'm the author of boilerplateJS. After couple of complex JS projects, I wanted to compile my experience in building complex application in JS as a open source reference architecture. BoilerplateJS handles all concerns that are discussed by Nicholas, but not restricted to the ideas presented there.

BoilerplateJS lets you to structure your complex product suite in to product-modules and UI components. There are several samples implemented to follow in the reference architecture code base.

http://boilerplatejs.org/

Among other concerns it handles are: - structuring the solution - creating a module hierarchy - Dependency management - Event based messaging, - Routing and embeddable components - Unit testing - Localization - Document generation - JS optimizations and obfuscation

See it in action here: http://boilerplatejs.org/samples/productsuite/index.html