javascript - structure for jquery in my mvc project -


whats best way of structure jqueryfiles in mvc app. have scripts in script folder , starting difficult have overview.

//thanks

we used following structure on last project:

scripts | |- jquery |- libraries |- infrastructure |- pagespecific 

jquery contained jquery , plugins. libraries contained other third-party libraries (e.g. underscore.js). infrastructure contained shared javascript modules, e.g. 1 full of utility functions, or 1 handling server-side account-management communications, etc. pagespecific contained code wire event handlers , page-specific logic.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -