JavaScript | The Module-Pattern | Two example-Classes with private and public functions.
Well commented for better understanding.
No web-server needed for the example-file (JS_modulePattern_ClassExample_private_public.html).
For bigger applications, the Module-Pattern should be integrated in the MVC-Pattern.
You could find here a template (my favourite off all times):
https://github.com/Reinerth/Application-Template-MVC-best-Practice
