Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deciding on the Javascript Pattern #5

Open
drecodeam opened this issue Oct 11, 2013 · 0 comments
Open

Deciding on the Javascript Pattern #5

drecodeam opened this issue Oct 11, 2013 · 0 comments
Labels

Comments

@drecodeam
Copy link
Collaborator

Starting a discussion about what patterns to use in our JS :

AMD module pattern

So we are using requireJS for AMD pattern. Makes the code easier to use and allows loose coupling of all modules ( read more about loose coupling ) . Also makes conditional loading super easy, only load what is required, when it is required.
''' load bootstrap modal JS only when some action requiring modal is called, rather than including it by default'''

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant