Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Like this presentation? Why not share!

Like this? Share it with your network

Share

Apr08XForms.ppt - PowerPoint Presentation

on

  • 1,511 views

 

Statistics

Views

Total Views
1,511
Views on SlideShare
1,511
Embed Views
0

Actions

Likes
0
Downloads
7
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Apr08XForms.ppt - PowerPoint Presentation Presentation Transcript

  • 1. An Introduction to XForms Philadelphia XML Users' Group 2008-04-09   by Peter Meggitt  
  • 2. Agenda
      • What is XForms?
      • Why should I care?
      • How do I get started?
  • 3. What is XForms?
      • A W3C standard.
      • A replacement for HTML forms (Forms enable users to modify, and send data. Data modified using HTML controls)
      • Built for integration with XML.
        • Data can be sent and received using XML.
        • Controls defined using XML.
      • Meant to be integrated with a host language like XHTML.
  • 4. Connection to XML?
      • XForms starts with "X".
      • Built in support for reading, updating, and writing XML.
      • Much easier to fill in a form then enter XML by hand.
  • 5. History
      • Original XForms draft specification was published on April 6, 2000.
      • W3C Recommendation on 14 October 2003 .
      • XForms 1.0 (Third Edition) was published on 29 October 2007
      • XForms 1.1, which introduces a number of improvements, reached the status of W3C Candidate Recommendation on 29 November 2007
  • 6. Supporters
      • IBM: Aquired PureEdge and is marketing an XForms solution called Lotus Forms .
      • Yahoo: Blueprint
      • Novell
      • Oracle
      • Sun: OpenOffice has support for Xforms as described in tutorial .
      • Many open source projects.
  • 7. Competition
      • Microsoft InfoPath
      • Adobe
      • Ruby on Rails   (A comparison of developer productivity)
      • Various Ajax frameworks
  • 8. Implementations
    • Browsers don't natively support XForms. In order to use XForms you must have an environment that supports XForms. Browser Plugins:
      • Mozilla XForms add-on
    • Stand alone client applications:
      • Lotus Forms
      • OpenOffice writer
    • Server side environments:
      • Orbeon
      • Chiba
  • 9. Benefits
    • Cost savings
      • Enhanced developer productivity
      • Declarative specification of business logic
      • XML is simpler than object relational mapping
      • MVC architecture (Model, View, Controller)
    •  
    • Other
      • Embraces open standards - XML Schema, XPath, CSS
      • Efficient - fewer server round trips.
      • Disconnected persistence.
  • 10. Risks
      • Lack of browser support
      • Moving target - immature technology
      • Long release cycle
      • New (replaces HTML MVC frameworks)
        • Learning curve
        • Resistance to change
  • 11. Complimentary Technology
      • XHTML
      • XPath
      • CSS
      • SVG
      • XML Signatures
  • 12. XForms Sweet Spot
      • Replacement for traditional paper forms
      • CRUD environments for XML data.
      • Meta-data editors
    •  
    • Choose your implementation technology:
      • Understand your audience.
      • Client or server-side implementation.
  • 13. Anatomy of an XForm
    • <html>
      • <head>
      • </head>
      • <body>
      • </body>
    • </html>
    • borrowed from Winona Salesky
    • <xforms:model>
    • <xforms:model>
    The Model The User Interface <xforms:instance/> <xforms:bind …/> <xforms:submission …/> <xforms:input/> <xforms:output/> <xforms:text/> <xforms:select1/> <xforms:repeat/>
  • 14. Declarative Language?
    • Bind Attributes
      • Data type (from schema)
      • Relevant (whether data should be shown)
      • Required
      • Readonly
      • Constraint (validation)
      • Calculate
    •  
    • Model Driven Architecture (Don't hand code XForms, generate them).
    •  
  • 15. Advanced Architecture - XRX
    • Widely discussed at XML 2007
    •  
    • Definition
      • XForms on the client
      • REST interfaces
      • XQuery on the server
    • References:
      • Wiki
      • Dr Dictionary (aka Dan McCreary)
  • 16. Examples
    • General:
      • XForms Wikibook
      • Mozilla XForms add-on
      • Orbeon
      • Chiba
      • OpenOffice
      • Lotus Forms
    • MODS Editors
      • UVM Editor by Winona Salesky
      • Brown Editor by Michael Park
  • 17. Resources
    • Sites
      • XForms Wiki Page
      • XForms Wikibook
    • People (many more)
      • John Boyer (IBM)
      • Erik Bruchez (Orbeon)
      • Dan McCreary
  • 18. Thank You
    • Peter Meggitt
    • http://www.eviasoft.com
    • 609-921-8728
    •