vendredi 15 avril 2016

JavaScript sandbox pattern. Dependency and sharing data beetwen modules. Examples of applications

I want to ask question about sandbox pattern in javascript.

I understand sandbox implementation but I can't imagine how application based on sandbox pattern may looks. I'm trying to write simple application based on sandbox pattern in clean javascript without any frameworks and I can't ;).

First thing is dependency for other modules and testing. Second thing is sharing data beetwen modules, when two modules uses one same module. I can't well explain what is the problem for me :), just I can't write application using sandbox pattern. Can anyone have link to application based on sandbox pattern? Maybe when I see exaple then I understand how use this pattern in practics.

Aucun commentaire:

Enregistrer un commentaire