This query isn't specifically a GWT issue, but as I'm using the
framework to develop my application I thought someone here may be able
to give me some advice.
I'm creating a graphic design program and so far I have implemented
the business logic classes and started work on the UI components in a
seperate package. My question concerns the program architecture, as
I'm unsure as to the most effective way to structure these classes.
The UI consists of a main DockPanel with one sub-panel in each
slot(N,S,E,W and center.)
1. Should I create distinct classes for each sub-panel to encapsulate
it?
So far I have created an abstract class for each slot and plan to
contain all code related to each-sub panel in abstract methods.
2. Where should I put the functional code, such as the controllers and
listeners etc.? In the entry point class or with each sub-panel(either
in distinct class or the abstract workers?)
Any advice would be much appreciated,
Gary
--
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