Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) XForms – the Future of XML Input

Slides:



Advertisements
Similar presentations
WAP Next Generation
Advertisements

XML Technology in E-Commerce
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.
Snejina Lazarova Senior QA Engineer, Team Lead CRMTeam Dimo Mitev Senior QA Engineer, Team Lead SystemIntegrationTeam Telerik QA Academy SOAP-based Web.
H E L S I N K I U N I V E R S I T Y O F T E C H N O L O G Y G O p r o j e c t : S e r v i c e A r c h i t e c t u r e f o r t h e N o m a d i c I n t e.
UNDERSTANDING JAVA APIS FOR MOBILE DEVICES v0.01.
Project 1 Introduction to HTML.
XML Study-Session: Part IV Transforming XML Documents Copyright Quddus Chong 2001.
©Silberschatz, Korth and Sudarshan10.1Database System Concepts W3C Activities HTML: is the lingua franca for publishing on the Web XHTML: an XML application.
W3C Activities HTML: is the lingua franca for publishing on the Web XHTML: an XML application with a clean migration path from HTML 4.01 CSS: Style sheets.
1st Project Introduction to HTML.
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
Understanding and Managing WebSphere V5
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Chapter ONE Introduction to HTML.
WEB DESIGN SOME FOUNDATIONS. SO WHAT IS THIS INTERNET.
Client/Server Architectures
Ajax, XSLT and SVG Displaying ATLAS conditions data with new web technologies Shaun Roe 1Ajax, XSLT & SVG (Shaun Roe, Atlas)CHEP'09 Prague.
Joel Bapaga on Web Design Strategies Technologies Commercial Value.
Xforms Multumiri lui Dan McCreary.
XForms: A case study Rajiv Shivane & Pavitar Singh.
Building a UI with Zen Pat McGibbon –Sales Engineer.
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 in X-Smiles Mikko Honkala Helsinki University.
XForms: The next generation of Web Forms Tyler St. John.
Ajax Technology for the Web Nic Shulver, FCET, Staffordshire University Introduction What is it? Pros and Cons Why is it important? Traditional Client-Server.
Copyright © Orbeon, Inc. All rights reserved. Erik Bruchez Applications of XML Pipelines XML Prague, June 16 th, 2007.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
Intro. to XML & XML DB Bun Yue Professor, CS/CIS UHCL.
XML Browser 닉스테크 교육사업부 김찬
Browsing MITA Seminar 2003 Mikko Pohja & Alessandro Cogliati.
MMS DresdenGermany – Dresden - Slide N°1Adolf Liepelt Final Project Review Newcastle upon Tyne, April 19, 2004 AESOP Platform.
Petri Vuorimaa1 X-Smiles XML Browser Petri Vuorimaa Tel
SMIL 2.0 Kari Pihkala HIIT – XML Technologies.
Presentation Topic: XML and ASP Presented by Yanzhi Zhang.
XRules An XML Business Rules Language Introduction Copyright © Waleed Abdulla All rights reserved. August 2004.
Web Services for Satellite Emulation Development Kathy J. LiszkaAllen P. Holtz The University of AkronNASA Glenn Research Center.
WEB BASED DATA TRANSFORMATION USING XML, JAVA Group members: Darius Balarashti & Matt Smith.
FYP: LYU0001 Wireless-based Mobile E-Commerce on the Web Supervisor: Prof. Michael R. Lyu By: Tony, Wat Hong Fai Harris, Yan Wai Keung.
Introduction to W3C XForms The Future of Web Forms Micah Dubinko.
Strategies for Virtual Enterprises using XForms and the Semantic Web Albert Rainer, Jürgen Dorn & Peter Hrastnik.
September, 2005What IHE Delivers 1 Retrieve Form for Data Capture (RFD) IHE Vendors Workshop 2006 IHE IT Infrastructure Education George Cole (Allscripts),
SOAP-based Web Services Telerik Software Academy Software Quality Assurance.
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 –
XFormsDB An XForms - Based Framework for Simplifying Web Application Development Markku Laine Master’s Thesis Presentation March 9, 2010.
VoiceXML Version 2.0 Jon Pitcherella. What is it? A W3C standard for specifying interactive voice dialogues. Uses a “voice” browser to interpret documents,
©Silberschatz, Korth and Sudarshan10.1Database System Concepts W3C - The World Wide Web Consortium W3C - The World Wide Web Consortium.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
Martin Kruliš by Martin Kruliš (v1.1)1.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
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.
.:Virtual prototypes:. Juha Vierinen. -=:Issues:=- Media Convergence Devices with different constraints and context of use Accessibility of information.
Added Value to XForms by Web Services Supporting XML Protocols Elina Vartiainen Timo-Pekka Viljamaa T Research Seminar on Digital Media Autumn.
1 Survey of Profiles from Other Domains XMSF Profile SG 13 January 2004 Curt Blais and NPS MV3250 (Introduction to XML, 1st Quarter 2005) Katherine L.
HTML PROJECT #1 Project 1 Introduction to HTML. HTML Project 1: Introduction to HTML 2 Project Objectives 1.Describe the Internet and its associated key.
HTML 2.0HTML 3.2 HTML 4.0 HTML 4.01 XHTML malformed, non-standard markup.
An Introduction to XForms Philadelphia XML Users' Group by Peter Meggitt.
Teaching slides Chapter 6. Chapter 6 Software user interface design & construction Contents Introduction Graphical user interface – Rich window based.
The Holmes Platform and Applications
Project 1 Introduction to HTML.
Topic Map & SMIL Prototypes KUL-ESAT-DOCARCH
Unit 4 Representing Web Data: XML
Chapter 1 Introduction to HTML.
Project 1 Introduction to HTML.
XML in Web Technologies
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
Chapter 7 Representing Web Data: XML
Lecture 1: Multi-tier Architecture Overview
Why use Web Standards?.
Presentation transcript:

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) XForms – the Future of XML Input HIIT - XML Browsing Workshop Mikko Honkala Helsinki University Of Technology, Finland

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) Outline of the Presentation Introduction to XForms Application areas - how can XForms help application development Implementation approaches & differences in them XForms implementation in X-Smiles Demos

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) Introduction to XForms

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) Introduction to XForms World Wide Web Consortium (W3C) creates Web recommendations. XForms – W3C Candidate Recommendation – Future Web forms technology. First requirements from september – Ideas from proprietary form languages (FML, Formsheets, XFA,XFDL). – Builds upon pre-existing XML technologies

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) What’s wrong with HTML forms? HTML Forms have not changed in ~8 years Forms defined as name=value pairs – Dynamic repeating constructs impossible – No multi-page or wizard type of interfaces – No datatype, validation or calculation support must be done at the server – more round-trips & reduced usability or programmed with scripts – reduced accessibility & maintenance Tied to single language: HTML

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) W3C XForms language Sends and receives structured data – XML instance data Form controls are bound to instance data Dynamic calculations and validation in the client Uses host language for the document layout – Can be almost any XML document language Advanced UI features

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) XForms document layers Instance – content (XML instance) Model – validation, constraints, calculations User Interface – the form controls embedded in a host language In addition: – Binding – binding between the instance,model and UI Can be seen as a MVC

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) XForms Example : purchaseOrder

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) XForms Example : Instance Data X-Smiles desktop X-Smiles PDA Java debugger

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) XForms Example : Model

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) XForms Example : The user interface Units Item name Price Total Enter the quantity of this item. Total price

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) Binding & Constraints using XPath XPath is a W3C recommendation – Developed mainly for XSLT but very general is used to: – select a single node from an XML document /purchaseOrder/items/item[1] – select multiple nodes (nodeset) from an XML document /purchaseOrder/items/item – perform calculations with the data in XML sum(/purchaseOrder/items/item/total)

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) Calculated Properties Properties apply to instance data in the model – calculate – parts of data calculated from other parts – relevant – is the item shown to the user – readonly – can the user edit the item – constraint – data is valid when this constraint is met – required – is the data required for submission Calculated properties can refer to other parts of the form data Uses XPath syntax 0” />

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) Validation Using XML Schema XML Schema is a W3C recommendation from 2001 – Defines the structure of an XML document as well as datatypes ’xsd:date’ ( ) ’xsd:time’ (13:20:00.000) ’xsd:decimal’ (-123.4) – Datatypes can be created by the user with restrictions and unions e.g. An integer smaller than 1000 – Datatypes are more important to XForms It is also possible to use a simpler ’schema for instance’ syntax

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) XForms User Interface Very general level of user interface controls – input – select Label is associated with the control Can be used also in non-graphical environments (e.g VoiceXML) Additional presentation hints with CSS stylesheets and presentation parameters

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) Datatype-aware form controls The form controls adapt to the datatype of the bound instance item. E.g. bound to xsd:date, will be shown as a calendar control with the current locale, and xsd:boolean as a checkbox.

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) Advanced UI: Repeat Repeating user interface constructs Repeats the contained markup for each of the referenced nodes Dynamic – Keeps UI and the instance in sync – Inserting and deleting items Similar to but dynamic

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) Advanced UI: Switch Allows switching between different parts of the UI Only one case active at a time action used to toggle between cases Usages: – multi-page forms – tabbed user interfaces

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) Submission Multiple submission types – Posting XML document using HTTP POST / PUT – Legacy support : HTTP Post / Get – PUT XML files into filesystem Allows submission of only part of the instance data The reply does not necessarily replace the whole document as in HTML

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) Application areas - how can XForms help application development

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) Desktop applications in the web Create “desktop-like” applications in the Web – Document editing – Spreadsheet-type – Wizards / Dialogs Increased – Usability (e.g. dynamic calculations and validations) – Maintenance (no scripting) – Accessibility (no scripting)

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) XML DB Application logic UI UI definitions XML Schemas XML Schemas XML Instances XML Instances XML Schemas XML Schemas XML Instances XML Instances Server Client (XForms processor) XForm UI HTTP

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) New platforms (Digi-TV, mobile devices) XForms UI defined in abstract level Single form can be show in – Different devices Desktop Digi-TV Mobile device – Different modalities Screen Speech

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) As a tool in desktop application development Using a XForms implementation as a embedded component in a normal desktop application – Easier UI implementation effort – Easier migration to WWW – Easier maintenance Document based development

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) SOAP front-end SOAP is a upcoming technology for creating machine-usable services in the Web XForms could send/receive simple SOAP requests Service discovery & configuration (WDSL) could be integrated with XForms – As an extension – In a later version of XForms

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) Implementation approaches & differences in them

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) Implementation approaches Plugin in a normal browser (No implementations currently) Language implementation in a normal browser (Formsplayer) Dedicated browser (X-Smiles) XForms as an application developement component (Handwise) Server-side XForms (Chiba open source)

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) Current implementations X-Smiles – Novell XForms preview Formsplayer – Chiba – sourceforge.net/projects/chiba/ sourceforge.net/projects/chiba/ Handwise XFUI - Mozquito WebAccess- E-XML Media XFE – And more...

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) X-Smiles implementation

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) X-Smiles Browser Open Source XML Browser – XSL FO, SVG, SMIL, Xforms. – XSLT Transformations – ECMAScript Java-based – portability, available components, JMF Virtual prototype – Desktop, digi-TV, PDA, mobile phone

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) XForms Implementation in X-Smiles The first browser implementation Supports most of the XForms features: – validation – calculations – form controls datatype adaption – events – dynamic binding We are co-specifying XForms

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) XForms architecture in X-Smiles Calculation Engine Instance Swing Abstract Components AWT Xerces SchemaXalan XPath Form ControlsAdaptive Controls Validation ActionsSwitchRepeat User interface Actions & Advanced UI XForms model Datatypes CSS

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) Embedding in different Markup languages XForms is designed to be used with another XML document layout format. Host languages in X-Smiles – Scalable Vector Graphics (SVG) – Synchronized Multimedia Integration Language (SMIL) – XML reformulation of HTML (XHTML) – XSL Formatting objects (XSL FO)

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) X-Smiles extension: XML Signature XML Signature & XForms integration – Custom action, that allows the user to sign the form using XML Signature – Signs both UI and the instance data What-you-see-is-what-you-sign Submission Instance data Signature Reference to instance (inline) Reference to UI (URI)UI Document

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) Level of support / Future work 80 % of CR spec implemented Rest will be implemented in few following months Platforms – Runs well on desktop – Performance / size issues in smaller devices, since needs Xerces & Xalan for schema & xpath support – Digi-TV components will be integrated in the future

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) Demos

Helsinki University Of Technology X-Smiles Telecommunications Software and Multimedia Laboratory (TML) Thank you!