Download presentation
Presentation is loading. Please wait.
Published byChristina Mason Modified over 9 years ago
1
W3C XForms Interactive Web Services; Powerful Client-side Interfaces Micah Dubinko Dave Navarro David Cleary
2
A Brief History of Web Forms 1993:HTML forms 1994–2000:Nothing happened Today:XForms
3
HTML Forms Limitations Some Assembly Required Primitive Data Representation Urlencoded? Ugh. Need Script to do anything… Validations Calculations Dynamic Forms
4
Interactive Web Services Some Assembly Required Primitive Data Representation Urlencoded? Ugh. Blending Purpose and Presentation 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 <> Source treeInstance data Stylesheet tree XForms Processing XSLT Processing
6
XForms User Interface
7
XForms Model
8
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.orghttp://www.xsmiles.org Mozquito http://www.mozquito.comhttp://www.mozquito.com Apache Cocoon http://xml.apache.org/cocoon/http://xml.apache.org/cocoon/ Chiba http://sourceforge.net/projects/chiba/http://sourceforge.net/projects/chiba/ ExFormula http://sourceforge.net/projects/exformula/http://sourceforge.net/projects/exformula/ Authoring Tools Cardiff LiquidOffice (demo) http://www.Cardiff.com/xforms/
17
For More Information… www-forms@w3.orgwww-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/http://www.xmml.com/ (SVG site) www.zvon.org/xxl/XForms1.0/Output/ More?
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.