XFORMS in minutes Chris Bailey. Presentation overview Introduction –What & Why How XFORM works –Code examples –Specific features Problems & Issues References.

Slides:



Advertisements
Similar presentations
JavaScript FaaDoOEngineers.com FaaDoOEngineers.com.
Advertisements

Apache Struts Technology
Developing Interfaces and Interactivity for DSpace with Manakin Part 5: Introduction to Manakin’s Theme Tier Eric Luhrs Digital Initiatives Librarian,
XML 6.7 XForms 6. Motivation HTML forms deliver the interactive WWW Forms are what make electronic transactions possible HTML forms are long overdue for.
M. Honkala, A. Vainio XForms & SVG MITA Seminar, HUT SVG Introduction Features Benefits Simple Example Standardization Mobile Environment Current.
Edoclite and Managing Client Engagements What is Edoclite? How is it used at IU? Development Process?
Web applications using JavaServer Faces (JSF) A brief introduction 1JavaServer Faces (JSF)
CS 290C: Formal Models for Web Software Lecture 10: Language Based Modeling and Analysis of Navigation Errors Instructor: Tevfik Bultan.
2/9/00 EECS 684: Current Topics in Databases1 ( W3C Working Draft 17 December 1999 )
AJAX & By – Anupama Sharma. Defining Ajax Ajax isn’t a technology. It’s really several technologies, each flourishing in its own right, coming together.
XML Introduction What is XML –XML is the eXtensible Markup Language –Became a W3C Recommendation in 1998 –Tag-based syntax, like HTML –You get to make.
Introduction to XSLT & its use in Grainger Library full-text & metadata projects Thomas G. Habing Grainger Engineering Library Presentation to ASIS&T,
Introduction to XML: Part I By Sandeep Jangity CS 157B, Section 2 Dr. Lee.
UNIT-V The MVC architecture and Struts Framework.
DHTML. What is DHTML?  DHTML is the combination of several built-in browser features in fourth generation browsers that enable a web page to be more.
XML & Library Applications ELAG 2001 Poul Henrik Jørgensen, Danish Bibliographic Centre,
4.1 JavaScript Introduction
A Scalable Application Architecture for composing News Portals on the Internet Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta Famagusta.
Database-Driven Web Sites, Second Edition1 Chapter 8 Processing ASP.NET Web Forms and Working With Server Controls.
Xforms Multumiri lui Dan McCreary.
XForms: A case study Rajiv Shivane & Pavitar Singh.
 2003 Prentice Hall, Inc. All rights reserved. CHAPTER 3 JavaScript 1.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
AJAX Without the “J” George Lawniczak. What is Ajax?
W3C XForms Interactive Web Services; Powerful Client-side Interfaces Micah Dubinko Dave Navarro David Cleary.
Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) XForms – the Future of XML Input
Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) XForms in X-Smiles Mikko Honkala Helsinki University.
Web Services Experience Language Web Services eXperience Language Technical Overview Ravi Konuru e-Business Tools and Frameworks,
XForms: The next generation of Web Forms Tyler St. John.
Implementation Of A MedBiquitous Virtual Patient Compatible Web-Player Hess F, Heid J, Huber S, Haag M Centre for Virtual Patients, University Hospital.
September 15, 2015 Laszlo Overview. 2 Copyright (c) 2007 Laszlo Systems, Inc. Laszlo Systems: Leader in RIA Software Pioneer of Rich Internet Applications.
CNIT 133 Interactive Web Pags – JavaScript and AJAX JavaScript Environment.
ITCS 6010 SALT. Speech Application Language Tags (SALT) Speech interface markup language Extension of HTML and other markup languages Adds speech and.
Introduction to Computational Linguistics Programming I.
Copyright © Orbeon, Inc. All rights reserved. Erik Bruchez Applications of XML Pipelines XML Prague, June 16 th, 2007.
© 2006 IBM Corporation IBM WebSphere Portlet Factory Architecture.
Processing of structured documents Spring 2002, Part 2 Helena Ahonen-Myka.
Google Web Toolkit Paul Heiniz, Wolfgang Kluth, Jan Marten, Malte Behrendt Web Technologies – Prof. Dr. Ulrik Schroeder – WS 2010/111 The slides are licensed.
XRules An XML Business Rules Language Introduction Copyright © Waleed Abdulla All rights reserved. August 2004.
An Introduction to JavaScript Summarized from Chapter 6 of “Web Programming: Building Internet Applications”, 3 rd Edition.
 2003 Prentice Hall, Inc. All rights reserved. CHAPTER 3 JavaScript 1.
Building Rich Web Applications with Ajax Linda Dailey Paulson IEEE – Computer, October 05 (Vol.38, No.10) Presented by Jingming Zhang.
Tuukka Haapaniemi XForms – What’s the need? HTML forms Very outdated Hard to develop and to maintain Requires lot of work To create basic.
Introduction to W3C XForms The Future of Web Forms Micah Dubinko.
Retrieve Form for Data Capture (RFD) George Cole, Steve Speicher, Dave Iberson-Hurst Allscripts, IBM, Assero.
Dr. Qusai Abuein1 Internet & WWW How to program Chap.(6) JavaScript:Introduction to Scripting.
HTML Forms. Slide 2 Forms (Introduction) The purpose of input forms Organizing forms with a and Using different element types to get user input A brief.
Welcome to WEB 2.0 An Open Laszlo presentation Part 2 Carlos Fernando Scheidecker Antunes
Strategies for Virtual Enterprises using XForms and the Semantic Web Albert Rainer, Jürgen Dorn & Peter Hrastnik.
Web Technologies Lecture 4 XML and XHTML. XML Extensible Markup Language Set of rules for encoding a document in a format readable – By humans, and –
Web Technologies Lecture 3 Web forms. HTML5 forms A component of a webpage that has form controls – Text fields – Buttons – Checkboxes – Range controls.
The New Solution? Translate XHTML to Java GUI.. Advantages Using XML W3C support XSLT Language Testing Language Specification Using XHTML Reuse web tools.
Asstt. Prof Sonia Sharma Computer Dept 1 HTML ( Hypertext MarkUP Language ) HTML is the lingua franca for publishing hypertext on the World Wide Web.
HTML A brief introduction HTML1. HTML, what is? HTML is a markup language for describing web documents (web pages). HTML stands for Hyper Text Markup.
Application Report: An extensible policy editing API for privacy and identity management policies Giles Hogben jrc. It European Commission.
JavaScript & Introduction to AJAX
Introduction  “M” “V” “C” stands for “MODEL” “VIEW” “CONTROLLER”. ASP.NET MVC is an architecture to develop ASP.NET web applications in a different manner.
Text INTRODUCTION TO ASP.NET. InterComm Campaign Guidelines CONFIDENTIAL Simply Server side language Simplified page development model Modular, well-factored,
CGS 3066: Web Programming and Design Spring 2016 Introduction to JavaScript.
JavaScript and Ajax (JavaScript Environment) Week 6 Web site:
Introduction to ASP.NET development. Background ASP released in 1996 ASP supported for a minimum 10 years from Windows 8 release ASP.Net 1.0 released.
An Introduction to XForms Philadelphia XML Users' Group by Peter Meggitt.
DHTML.
JavaScript and Ajax (Ajax Tutorial)
Unit 4 Representing Web Data: XML
Avraham Leff James T. Rayfield IBM T.J. Watson Research Center
JavaScript Functions.
JavaScript an introduction.
Versatile workflow management Tool
Web Development Using ASP .NET
Presentation transcript:

XFORMS in minutes Chris Bailey

Presentation overview Introduction –What & Why How XFORM works –Code examples –Specific features Problems & Issues References

is dead – all hail the ! XForms offers a higher level approach to writing traditional XHTML form-based input. Became a W3C recommendation in 2003 Second edition of the spec released in Sept 2006 XForms WG currently working on 1.1

Why use Xforms? Clearer design –Implements separation of concerns via a MVC approach –data model independent from presentation –‘logic’ easier to code Less code –No javascript! Works with existing technologies… –Designed with AJAX in mind

Underpinning technologies XML XML Schema XPath DHTML HTTP Javascript Ajax… What you (as the developer) need to know What the xform handling code uses

How to do I produce XFORMS? XFORMS are all written in XML When executed XFORMS (D)HTML+Javascript –Pre-compile source code  –Dynamic compilation on server  –Dynamic compilation on client (browser)

XFORM implementations Pre-compilation –AJAXForms –XFormation Server support –Orbeon –IBM Workplace Forms Browser support –X-Smiles Browser addons/extensions –Mozilla XForms –MozzIE –FormsPlayer –FormFaces

Quotes “XForms is the most-implemented W3C specification ever at this stage in its life-cycle.” [W3C XForms FAQ] British Government's e-government interoperability framework current guidance is to use the XForms standards as defined by W3C

XFORMS MVC Approach Model: Define the format of the data Controller: Specify constraints and relationships View: Simply reference parts of the model

XFORMS MVC Approach No empty nodes allowed String, max length 50 chars Enumeration (Male|Female) Date value Integer range{0 < x < 10} Model: Define the format of the data Controller: Specify constraints and relationships View: Simply reference parts of the model

XFORMS MVC Approach No empty nodes allowed String, max length 50 chars Enumeration (Male|Female) Date value Integer range{0 < x < 10} Model: Define the format of the data Controller: Specify constraints and relationships View: Simply reference parts of the model

Show me some XFORMs! <xforms:bind nodeset="/person/name" type="xs:string" constraint=“string-length(.) Hello world. Please enter your name here: Data model Control binding View

Show me some XFORMs! <xforms:bind nodeset="/person/name" type="xs:string" constraint=“string-length(.) Hello world. Please enter your name here: Data model Control binding View

Referencing data with XPATH View and controllers reference data model with XPATH expressions e.g. /credit-card/number /credit-card/*[position() = 1] /credit-card/*[starts-with(local-name(),’expiration’)] /credit-card/*

Binding attributes (validation) type constraint = 1 and 12 >=."/> required

Binding attributes (cont) calculate readonly relevant

View attributes appearance="full" appearance ="compact" appearance ="minimal"

Disadvantages of XFORMS Enhanced accessibility –The abstraction that xforms offers means that you need not worry so much about the presentation issues Reduced accessibility  –At the mercy of the xforms handler –Can AJAX ever be made accessible?

Did I mention it’s all XML? OH MY GOSH IT’S ALL XML!!!!!! Not for the faint hearted (or people without a CS degree!) Editors should make this easier when they arrive –OpenOffice.org 2.0 already here

References XForms 1.0 (Second Edition) W3C Recommendation 14 March 2006 – XForms 1.1 W3C Working Draft – Orbeon Forms –