Search This Blog

Wednesday, September 19, 2007

Integrate XForms with the Google Web Toolkit

The Google Web Tookit (GWT) has become a very popular way to develop
Ajax applications. It allows Java developers to rapidly create Ajax
applications by leveraging their knowledge of Java technology without
requiring any knowledge of JavaScript. XForms represents an evolution
in the HTML standard, and allows for simple constructs to create
complex, dynamic behavior. Both GWT and XForms are powerful enough to
provide complete solutions to many problems. This four-part series
demonstrates how to use the Google Web Toolkit (GWT) and XForms
together to create a dynamic Web application. Part 1 starts with a
bottom-up approach to the problem of using GWT and XForms together.
It takes a look at some of the underpinnings of each technology,
examining the common ground between them that will allow for their
peaceful coexistence. This will lay the foundation for developing a
Web application that uses both GWT and XForms together. XForms is a
standards-based technology that will be central in the next generation
of the HTML specification. XForms uses the familiar
Model-View-Controller paradigm. The key to XForms is separating
data from the physical view of the data. Sound like a familiar
concept? With the data separated, it can be viewed in any HTML-way
you can imagine. It can also be bound to form elements to allow for
a seamless way to enter data and to edit existing data. With a model
declared, you can easily create views from the data encapsulated by
the model. XForms contains numerous common controls for working with
model instance data. Each control can reference data from the model's
instance data. The instance data is in an XML format, so we can easily
navigate and reference it arbitrarily using XPath. XForms supports
the full XPath 2.0 specification. More Information

No comments: