Featured post
javascript - Modular GWT design concerns -
i have couple of questions regarding modular gwt based application framework. have ideas them being new field of web development feel far ideal. i'd appreciate few comments , suggestions in regard. here questions:
i developing framework allow third parties embed gwt applications our website , communication them using simple iframe postmessage. these third party modules going use our sdk gwt based. problem arises though modules using same codebase there going massive overheard in amount of duplicate javascript code (i.e. our common sdk code base quite large) being downloaded on client's machine. highly redundant , problematic, not due sheer size of duplicate code but, due fact subsequent updates of sdk require modules recompiled going create dll hell kind of scenario in long run. best way of doing kind of thing? there way can have static gwt code (i.e. sdk) , dynamic gwt module refers (even if lies on different domain) , work happily?
the other part of problem lies in providing robust scripting front end sdk. @ first appears trivial since javascript scripting language. however, not know how load , call piece of pure javascript code @ runtime? willing put restrictions on target javascript (i.e. having function main , unique namespace or something). furthermore javascript come string database , not full url. if doable in javascript how 1 right in gwt i.e. forcing compiler emit function in generated javascript? believe can lesser of problem having stub javascript right requirements loads gwt generated javascript. of possible @ all?
i hate verbose hope find quick solution problem holding progress. i'd highly appreciate comments, suggestions , experiences.
regarding modularity build osgi based solution.
see topic instance: web application using osgi , gwt
- Get link
- X
- Other Apps
Comments
Post a Comment