w3c xforms interactive web services; powerful client-side interfaces micah dubinko dave navarro...
TRANSCRIPT
![Page 1: W3C XForms Interactive Web Services; Powerful Client-side Interfaces Micah Dubinko Dave Navarro David Cleary](https://reader036.vdocuments.mx/reader036/viewer/2022082820/56649e505503460f94b47625/html5/thumbnails/1.jpg)
W3C XForms
Interactive Web Services;Powerful Client-side Interfaces
Micah Dubinko Dave Navarro David Cleary
![Page 2: W3C XForms Interactive Web Services; Powerful Client-side Interfaces Micah Dubinko Dave Navarro David Cleary](https://reader036.vdocuments.mx/reader036/viewer/2022082820/56649e505503460f94b47625/html5/thumbnails/2.jpg)
A Brief History of Web Forms
1993: HTML forms1994–2000: Nothing happenedToday: XForms
![Page 3: W3C XForms Interactive Web Services; Powerful Client-side Interfaces Micah Dubinko Dave Navarro David Cleary](https://reader036.vdocuments.mx/reader036/viewer/2022082820/56649e505503460f94b47625/html5/thumbnails/3.jpg)
HTML Forms Limitations
Some Assembly Required <input value=“initial value”>
Primitive Data Representation Urlencoded? Ugh.
Need Script to do anything… Validations Calculations Dynamic Forms
![Page 4: W3C XForms Interactive Web Services; Powerful Client-side Interfaces Micah Dubinko Dave Navarro David Cleary](https://reader036.vdocuments.mx/reader036/viewer/2022082820/56649e505503460f94b47625/html5/thumbnails/4.jpg)
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 ToolsLeverage XPath, XML Schema, XSLT, SVGAny Time, Any Place, and on Any Device
![Page 5: W3C XForms Interactive Web Services; Powerful Client-side Interfaces Micah Dubinko Dave Navarro David Cleary](https://reader036.vdocuments.mx/reader036/viewer/2022082820/56649e505503460f94b47625/html5/thumbnails/5.jpg)
How It Works
XSLT XForms
<>
<> <> <> <>
Source tree
Instance data
Stylesheet tree
XForms Processing
XSLT
Processing
![Page 6: W3C XForms Interactive Web Services; Powerful Client-side Interfaces Micah Dubinko Dave Navarro David Cleary](https://reader036.vdocuments.mx/reader036/viewer/2022082820/56649e505503460f94b47625/html5/thumbnails/6.jpg)
XForms User Interface
![Page 7: W3C XForms Interactive Web Services; Powerful Client-side Interfaces Micah Dubinko Dave Navarro David Cleary](https://reader036.vdocuments.mx/reader036/viewer/2022082820/56649e505503460f94b47625/html5/thumbnails/7.jpg)
XForms Model
![Page 8: W3C XForms Interactive Web Services; Powerful Client-side Interfaces Micah Dubinko Dave Navarro David Cleary](https://reader036.vdocuments.mx/reader036/viewer/2022082820/56649e505503460f94b47625/html5/thumbnails/8.jpg)
XForms Model
Defines the ‘Purpose’ of the formIncludes the following: Instance Data Submit Information XML Schema Information XForms specific properties and actions
Model and Instance can be synthesized
![Page 9: W3C XForms Interactive Web Services; Powerful Client-side Interfaces Micah Dubinko Dave Navarro David Cleary](https://reader036.vdocuments.mx/reader036/viewer/2022082820/56649e505503460f94b47625/html5/thumbnails/9.jpg)
XForms Instance
Provides template for your dataProvides default or partially submitted dataCan be inline or referenced externally
![Page 10: W3C XForms Interactive Web Services; Powerful Client-side Interfaces Micah Dubinko Dave Navarro David Cleary](https://reader036.vdocuments.mx/reader036/viewer/2022082820/56649e505503460f94b47625/html5/thumbnails/10.jpg)
XForms Schema Support
Full XML Schema can be inline or externally referencedSchema fragments can be inline Create user defined datatypes
Instance data can be annotated with type informationClient validates simple types, not structure
![Page 11: W3C XForms Interactive Web Services; Powerful Client-side Interfaces Micah Dubinko Dave Navarro David Cleary](https://reader036.vdocuments.mx/reader036/viewer/2022082820/56649e505503460f94b47625/html5/thumbnails/11.jpg)
XForms Conformance Profiles
Two conformance profiles to support wide range of devicesBasic includes subset of XML Schema datatypesFull includes complete XML Schema support
![Page 12: W3C XForms Interactive Web Services; Powerful Client-side Interfaces Micah Dubinko Dave Navarro David Cleary](https://reader036.vdocuments.mx/reader036/viewer/2022082820/56649e505503460f94b47625/html5/thumbnails/12.jpg)
XForms Constraints
XML Schema defines static contraintsXForms extends these with ‘computed expressions’Evaluated at runtime Is something relevant or required? Calculated fields
![Page 13: W3C XForms Interactive Web Services; Powerful Client-side Interfaces Micah Dubinko Dave Navarro David Cleary](https://reader036.vdocuments.mx/reader036/viewer/2022082820/56649e505503460f94b47625/html5/thumbnails/13.jpg)
XForms Actions
Defines common set of behaviors for formsBased on XML Events specificationAllows event processing without requiring Javascript
![Page 14: W3C XForms Interactive Web Services; Powerful Client-side Interfaces Micah Dubinko Dave Navarro David Cleary](https://reader036.vdocuments.mx/reader036/viewer/2022082820/56649e505503460f94b47625/html5/thumbnails/14.jpg)
XForms Submit Info
Provides How, Where, and What to submit Multiple models per form Partial form submission
Default is ‘post’ of XML Instance
![Page 15: W3C XForms Interactive Web Services; Powerful Client-side Interfaces Micah Dubinko Dave Navarro David Cleary](https://reader036.vdocuments.mx/reader036/viewer/2022082820/56649e505503460f94b47625/html5/thumbnails/15.jpg)
Help Make XForms Better!
XForms “Smoke Tests”Containing Document Schemahttp://dubinko.info/xforms/
Vote For XForms in Mozilla!http://bugzilla.mozilla.org/show_bug.cgi?id=97806
![Page 16: W3C XForms Interactive Web Services; Powerful Client-side Interfaces Micah Dubinko Dave Navarro David Cleary](https://reader036.vdocuments.mx/reader036/viewer/2022082820/56649e505503460f94b47625/html5/thumbnails/16.jpg)
Try Out XForms
Implementations:X-Smiles http://www.xsmiles.orgMozquito http://www.mozquito.comApache Cocoon http://xml.apache.org/cocoon/Chiba http://sourceforge.net/projects/chiba/ExFormula http://sourceforge.net/projects/exformula/
Authoring ToolsCardiff LiquidOffice (demo)http://www.Cardiff.com/xforms/
![Page 17: W3C XForms Interactive Web Services; Powerful Client-side Interfaces Micah Dubinko Dave Navarro David Cleary](https://reader036.vdocuments.mx/reader036/viewer/2022082820/56649e505503460f94b47625/html5/thumbnails/17.jpg)
For More Information…
[email protected] (subj: “Subscribe”)http://www.w3.org/TR/xforms/http://www.w3.org/MarkUp/Formshttp://www.xml.com/http://www.xmml.com/ (SVG site)www.zvon.org/xxl/XForms1.0/Output/More?