W3C XForms - PowerPoint PPT Presentation

About This Presentation
Title:

W3C XForms

Description:

A Brief History of Web Forms. 1993: HTML forms. 1994 2000: Nothing happened. Today: XForms. HTML Forms Limitations. Some Assembly Required ... – PowerPoint PPT presentation

Number of Views:42
Avg rating:3.0/5.0
Slides: 18
Provided by: dubi
Category:

less

Transcript and Presenter's Notes

Title: W3C XForms


1
W3C XForms
  • Interactive Web ServicesPowerful Client-side
    Interfaces
  • Micah Dubinko
  • Dave Navarro
  • David Cleary

2
A Brief History of Web Forms
  • 1993 HTML forms
  • 19942000 Nothing happened
  • Today XForms

3
HTML Forms Limitations
  • Some Assembly Required
  • ltinput valueinitial valuegt
  • Primitive Data Representation
  • Urlencoded? Ugh.
  • Need Script to do anything
  • Validations
  • Calculations
  • Dynamic Forms

4
Interactive Web Services
  • Some Assembly Required
  • ltinput valueinitial valuegt
  • Primitive Data Representation
  • Urlencoded? Ugh.
  • Blending Purpose and Presentation
  • ltinput typeradio checkboxgt etc
  • No validations, calculations
  • XML In, XML Out
  • Integration with Web Services XML Tools
  • Leverage XPath, XML Schema, XSLT, SVG
  • Any Time, Any Place, and on Any Device

5
How It Works
ltgt
Stylesheet tree
XForms Processing
ltgt
ltgt
ltgt
ltgt
XSLT Processing
Source tree
Instance data
  • XSLT XForms

6
XForms User Interface
7
XForms Model
8
XForms Model
  • Defines the Purpose of the form
  • Includes the following
  • Instance Data
  • Submit Information
  • XML Schema Information
  • XForms specific properties and actions
  • Model and Instance can be synthesized

9
XForms Instance
  • Provides template for your data
  • Provides default or partially submitted data
  • Can be inline or referenced externally

10
XForms Schema Support
  • Full XML Schema can be inline or externally
    referenced
  • Schema fragments can be inline
  • Create user defined datatypes
  • Instance data can be annotated with type
    information
  • Client validates simple types, not structure

11
XForms Conformance Profiles
  • Two conformance profiles to support wide range of
    devices
  • Basic includes subset of XML Schema datatypes
  • Full includes complete XML Schema support

12
XForms Constraints
  • XML Schema defines static contraints
  • XForms extends these with computed expressions
  • Evaluated at runtime
  • Is something relevant or required?
  • Calculated fields

13
XForms Actions
  • Defines common set of behaviors for forms
  • Based on XML Events specification
  • Allows event processing without requiring
    Javascript

14
XForms Submit Info
  • Provides How, Where, and What to submit
  • Multiple models per form
  • Partial form submission
  • Default is post of XML Instance

15
Help Make XForms Better!
  • XForms Smoke Tests
  • Containing Document Schema
  • http//dubinko.info/xforms/
  • Vote For XForms in Mozilla!
  • http//bugzilla.mozilla.org/show_bug.cgi?id97806

16
Try Out XForms
  • Implementations
  • X-Smiles http//www.xsmiles.org
  • Mozquito http//www.mozquito.com
  • Apache Cocoon http//xml.apache.org/cocoon/
  • Chiba http//sourceforge.net/projects/chiba/
  • ExFormula http//sourceforge.net/projects/exformul
    a/
  • Authoring Tools
  • Cardiff LiquidOffice (demo)
  • http//www.Cardiff.com/xforms/

17
For More Information
  • www-forms_at_w3.org (subj Subscribe)
  • http//www.w3.org/TR/xforms/
  • http//www.w3.org/MarkUp/Forms
  • http//www.xml.com/
  • http//www.xmml.com/ (SVG site)
  • www.zvon.org/xxl/XForms1.0/Output/
  • More?
Write a Comment
User Comments (0)
About PowerShow.com