Sandbox module
When we talk about a sandbox in our daily lives, we usually have a picture of a box full of sand in our minds, where we allow the kids to play and make all the mess they like - and hopefully only in that box.
In our modular architecture, we capitalize on the same concept and create spaces for our components to play in and to be isolated from other pieces of the application.
By sandboxing our modules in such a way, we eliminate tight coupling among our application components and the core module.
The sandbox is essentially a layer of abstraction as well as a thin interface between our components and the other pieces of our application.
As the sandbox module is designed to be an interface and to provide communication among our components ...
Get Modular Programming with JavaScript now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.