Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 1. XML Powered Web Forms > XForms at a Glance

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
ComponentDescription
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


  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint