Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Scott: What to you think about xul and similar xml-based gui-framework?  RSS feed

 
Axel Janssen
Ranch Hand
Posts: 2166
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

you think that this stuff might be good idea for certain types of apps? Or do you see it as a stupid idea from the beginning?

Axel
 
Scott Delap
author
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've personally not ran across situations where I've found an XML based GUI defininition speeding up development. I can certainly see cases where they'd be useful when designing dynamics forms on the fly for instance. Personally, I've always favored a layered approach with code handing validation, binding, and layout. The usage of these various layers can be simplified through a builder API. The Spring Rich project has a good examples of builder (which I cover in the book). It integrates in translation of strings, component creation, valdiation, and binding to domain objects in a nice little package. I'm probably going to write something similar that leverages the JGoodies Validation and Binding frameworks when I write my RSS reader.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!