- Obviously, few developers are excellent at GUI design. Either a developer spends extra time to come out kind (not so professional) GUI by drag & drop in GWT Designer, or a GUI designer pass over a GUI design in paper (or whatever electric format) to a developer who then uses GWT Designer (or pure java coding if he prefer) to implement the design. Either way one has to spend extra or duplicated time, so the time saved by GWT is wastered here.
- More seriously, once that design went into implementation phase, it's totally mixed with Java code (or worse, mixed with process logic), then it's very hard to change the GUI without breaking the code.
The approach is, a GUI designer come out GUI design/mockup in html format (which has been widely adopted and language/tool independent), a developer takes that html then does two small changes:
- Add GWT loading script (***.nocache.js) into the html head.
- Assign unique ID property to each html tag which content need to be dynamic updated by code (or wrap that part in a "div" tag).
* Note: GWT Designer was created by Instantiations which acquired by Google.
没有评论:
发表评论