Monday, November 29, 2010

Re: GWT 2.1 Activities – nesting? YAGNI ? - an example of where you NEED it !

the article also argued, that having the same size/fixed regions leads
to consistent layout.

in the case of Fixed "WIDTH", that is true.

but if your regions have sub-regions, the sizing is no longer the
Width, but rather the HEIGHT.

our WEST region, can have WEST_NORTH, WEST_MAIN, WEST_SOUTH,
and the "HEIGHT" of these sub-regions might required to be different
in different workspaces.


in one workspace, WEST_NORTH height could be 100px, while WEST_SOUTH
height is 300px, in another workspace, different Height size.
having different heights, while maintaining the same width, is STILL
CONSISTENT.

with the approach suggested in the article posted above,
one has to add additional West Regions, to accommodate for the use
case described above,
resulting in ActivityManagers/Mappers/Code size to grow
exponentially !

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
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