Malcolm Edgar wrote
> 
> #1 Dependency Management
> 
> These controls will have various JQuery JS dependencies and assets which
> we
> can package in the distribution, or let people declare explicitly in their
> HTML page template. Traditionally we have packages up all the JS
> dependencies with Click as we want to make it easy for people to use.
> However now with peoples extensive use of these libraries extensively in
> their applications, so we will have potential issues with different
> versions.  My thought on this is to include a properties file which
> declares the various controls dependencies. People can then potentially
> edit this properties file and override the default values:
> 
> jquery.core.js=
> http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
> 
> # Desktop Menu components
> jquery.desktopmenu.css=/click/jquery/desktopmenu/desktopmenu.css
> jquery.desktopmenu.js=/click/jquery/desktopmenu/jquery.menu.js
> jquery.desktopmenu.template=/click/jquery/desktopmenu/desktopmenu.template.js
> 
> 
Wouldn't it be possible to package all the resources (js, img, css,
template-velocity or freemaker) in one jar?
I think it would be more simple to maintain, isn't it?
See the struts2-jquery-plugin[1] for an organization example.

Regards,

Gilberto 

[1]
http://code.google.com/p/struts2-jquery/source/browse/#svn%2Ftrunk%2Fstruts2-jquery-plugin%2Fsrc%2Fmain%2Fresources%2Ftemplate


--
View this message in context: 
http://click.1134972.n2.nabble.com/JQuery-and-Dependency-Management-tp7578125p7578150.html
Sent from the click-user mailing list archive at Nabble.com.

Reply via email to