1 / 17

W3C XForms

W3C XForms. Micah Dubinko Dave Navarro David Cleary. Interactive Web Services; Powerful Client-side Interfaces. A Brief History of Web Forms. 1993: HTML forms 1994–2000: Nothing happened Today: XForms. HTML Forms Limitations. Some Assembly Required <input value=“initial value”>

syreeta
Download Presentation

W3C XForms

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. W3C XForms Micah Dubinko Dave Navarro David Cleary Interactive Web Services;Powerful Client-side Interfaces

  2. A Brief History of Web Forms • 1993: HTML forms • 1994–2000: Nothing happened • Today: XForms

  3. HTML Forms Limitations • Some Assembly Required • <input value=“initial value”> • Primitive Data Representation • Urlencoded? Ugh. • Need Script to do anything… • Validations • Calculations • Dynamic Forms

  4. Interactive Web Services • Some Assembly Required • <input value=“initial value”> • Primitive Data Representation • Urlencoded? Ugh. • Blending Purpose and Presentation • <input type=“radio | checkbox”> 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 <> XSLT XForms Stylesheet tree XForms Processing <> <> <> <> XSLT Processing Source tree Instance data

  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?id=97806

  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/exformula/ • Authoring Tools • Cardiff LiquidOffice (demo) • http://www.Cardiff.com/xforms/

  17. For More Information… • www-forms@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?

More Related