Home > Articles > Web Services > XML

This chapter is from the book

This chapter is from the book

1.5 XForms at a Glance

Table 1.1 shows the various XForms components at a glance; this also serves as a road map for the rest of this book. For each component, we enumerate its role in the XForms architecture, the underlying technology used by the component, and its concomitant benefits.

Table 1.1. XForms at a Glance

Component

Description

Model

  • Encapsulates all data aspects of a form

  • Uses XML Schema to define constraints

  • Uses XPath to define model properties

  • Attaches model properties to instance nodes

  • Captures what, how, and where to submit

Properties

  • Capture application constraints

  • Enable reactive user interfaces

UI Binding

  • Connects user interface to the model using XPath

UI Controls

  • Collect user input

  • Bind to underlying model

  • Encapsulate all relevant metadata

  • Access by design

  • Encourage device independence

UI

  • Aggregates user interface controls

  • Encourages intent-based authoring

  • Creates dynamic user interaction

Events

  • Bring user interface to life

  • Give access to eventing via XML Events

  • Attach dynamic behavior

  • Obviate common use of scripts via declarative actions

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.