Sunday, September 25, 2011

Splitting initial fragment

My app has many html pages that each load a base "loader" module that calls a set of "features" which are each split with a GWT.runAsync call.

The idea is to share common code such as java.util classes and common gwt widgets.

But the problem I have hit is that the initial fragment has become too large.  Any code that is common between 2 features is placed in the initial fragment even though it is not used in any other features.  It doesn't seem very clever to just throw everything in the same fragment.  I want this initial fragment to be more fine grained.

Is there any work happening to help with these non-"app in a single page" type websites?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/I28XH349chkJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment