On Apr 13, 11:18 am, Moandji Ezana <[email protected]> wrote:
> It should be noted that the XML comment comes right after King says that
> "the number one technical problem that we simply can't solve to our
> satisfaction in Java - or in any other existing JVM language - is the
> problem of defining user interfaces and structured data using a typesafe,
> hierarchical syntax." (http://in.relation.to/Bloggers/Ceylon). If you're
> using JSF, I guess you are joined to XML at the hip.

This reminds me of GWT's recent introduction of more XML for declaring
GUI in the form of UiBinder.  The main thrust of the argument for it
that I could agree with was performance, in that it allows the GWT
compiler to generate large contiguous HTML expressions, which are
faster to load and evaluate that multiple JS GUI build-up
instructions.

On the other hand, this approach splits the application into view and
model parts being expressed in different languages.  This irked me
some, especially since I'd grown fond of a pattern of declarative UI
coding in Java itself ( 
http://groups.google.com/group/javaposse/msg/2e7aa8e8a60727da?
).  I guess it's not terribly hard to migrate from one to the other as
needed.

Still, it's interesting to see that Google for the time being have
embraced XML as the platform of choice for GUI declarations in their 2
major SDK's: Android and GWT.

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to