jQuery Code Organization Concept
When you move beyond adding simple enhancements to your website with jQuery and start developing full-blown client-side applications, you need to consider how to organize your code.
Now, without further ado, let’s check my simple code organization:
The Abstract Class.
This class is the base Module. The details aren’t super important,
but as you will notice, we check all important methods in future new Modules ;)
Please note how we get FirstModule and work with instance class.
Create instance classes from all our modules.
You can check your browser console: