1. #1
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    3
    gslender is on a distinguished road

      0  

    Cool Pluggable UI

    Pluggable UI


    Folks,

    Would like to receive any feedback about this concept/idea for an extension to Ext-GWT or GWT for that mater.

    I'm looking for a way to completely abstract a UI module that can be auto-loaded (via JS file loading) as part of a pluggable framework to GWT development.

    ie you have an application with 200+ views and it can be broken into 5 sub-applications, yet you wish to have been seen as a distinct single application - current approaches are...

    1) You build it as one single application - that is compiled by GWT into a massive 900K+ JS file. This has the downsides of being monolithic and hard to debug/test as a single app.

    2) You build it as separate GWT modules - these are separate GWT mini-applications, each with their own entrypoint, but when compiled, produce a single massive 900K+ JS file. This has the downsides of being monolithic and the user is subjected to that large download, but offers simpler debug/test of separate modules.

    What I'm suggesting is the development of a 3rd approach

    3) You build it as separate GWT applications that use a pluggable library framework that the main application can query and download JS designed to be integrated and interact with the main JS objects. This has the upsides of being trully plugable, offers simpler debug/test of separate modules and the download of the application is staged depending on the part of the application being viewed.

    Does this seem worthwhile? Do ways to do this already exist? Am I smoking something that I shouldn't ?????

  2. #2
    Ext User sheesh-kebab's Avatar
    Join Date
    Jan 2008
    Location
    Washington, DC/Falls Church, VA
    Posts
    40
    Vote Rating
    0
    sheesh-kebab is on a distinguished road

      0  

    Default


    There are a lot discussions about the monolythic nature of GWT apps on the forums. And there are some possible solutions.

    I think to a certain extent you can achieve this goal by using a gwt-exporter type functionality - i.e. provide callable entry points to your modules from javascript and and then hook the whole ui using either pure javascript or JSNI based GWT module. Here is some discussion with projects that try to achieve this export to javascript functionality

    http://groups.google.com/group/Googl...025bef87a7ecb#
    http://code.google.com/p/gwt-exporter/
    http://code.google.com/p/axedarea/

    The problem however will be with achieving a "tight" integration between your GWT modules. In other words, if you need to pass some data or behavior between your gwt modules you might run into issues (and come up with standard message passing mechanism). But I think "loose" coupling could be quite a lot easier...

    I also remember that some folks mentionning that they just break up large GWT apps into modules loadable via iFrames - which might be another approach to the issue.

    Regardless, I think having some kind of a standard "framework" that provides a variety of solutions to the problems could be quite useful.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi