XForms: A case study Rajiv Shivane & Pavitar Singh.

Slides:



Advertisements
Similar presentations
1 XML Technologies You Need For Workflow Applications Roger L. Costello 2 January, 2009.
Advertisements

XForms for Metadata Creation Winona Salesky University of Vermont Michael Park Brown University.
1/7 ITApplications XML Module Session 8: Introduction to Programming with XML.
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.
DT228/3 Web Development WWW and Client server model.
XHTML, XForms, XML Events & Device Independence Based on W3C Specs as of April 2002 Marc Abrams
XFORMS in minutes Chris Bailey. Presentation overview Introduction –What & Why How XFORM works –Code examples –Specific features Problems & Issues References.
Integrating SOA and the Application Development Framework Shaun O’Brien Principal Product Manager – Oracle JDeveloper / ADF.
6/3/2015eBiquity1 Tutorial on AJAX Anubhav Kale (akale1 AT cs DOT umbc DOT edu)
AJAX Presented by: Dickson Fu Dimas Ariawan Niels Andreassen Ryan Dial Jordan Nielson CMPUT 410 University of Alberta 2006.
AJAX & By – Anupama Sharma. Defining Ajax Ajax isn’t a technology. It’s really several technologies, each flourishing in its own right, coming together.
Cloud Computing Lecture #7 Introduction to Ajax Jimmy Lin The iSchool University of Maryland Wednesday, October 15, 2008 This work is licensed under a.
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.
UNIT-V The MVC architecture and Struts Framework.
Overview of JSP Technology. The need of JSP With servlets, it is easy to – Read form data – Read HTTP request headers – Set HTTP status codes and response.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
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.
Introduction to AJAX AJAX Keywords: JavaScript and XML
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
CIS 375—Web App Dev II ASP.NET 2 Introducing Web Forms.
5/5/2005Toni Räikkönen Internet based data collection from enterprises using XML questionnaires and XCola engine CoRD Meeting May 11th 2005.
Xforms Multumiri lui Dan McCreary.
Ruth Betcher Ruth Christie
HTML Forms and Scripts. Session overview What are forms? Static vs dynamic Client-side scripts –JavaScript.
CSCI 6962: Server-side Design and Programming Introduction to AJAX.
ASP.NET + Ajax Jesper Tørresø ITNET2 F08. Ajax Ajax (Asynchronous JavaScript and XML) A group of interrelated web development techniques used for creating.
Yahoo! User Interface (YUI) Library Natly Mekdara.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
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
1 The Architectural Design of FRUIT: A Family of Retargetable User Interface Tools Yi Liu, H. Conrad Cunningham and Hui Xiong Computer & Information Science.
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.
Writing various AJAX forms in Drupal 7 1. Overview of Form API 2. Ctools 2.1 Ctools features 3. Ajax 3.1 Ajax Forms in Drupal 4. Putting it all together.
DHTML: Dynamic HTML Internet Technology1. What is DHTML? A collection of enhancements to HTML ► To create dynamic and interactive websites Combination.
AJAX and Atlas in ASP.NET 2.0 William J. Steele MSDN Developer Evangelist Microsoft Corporation
Google Web Toolkit An Overview By Shauvik Roy Choudhary.
The Web Architecture and ASP.NET. Slide 2 Review of the Web (1) It began with HTTP and HTML, which delivers static Web pages to browsers which would render.
Presentation Topic: XML and ASP Presented by Yanzhi Zhang.
XRules An XML Business Rules Language Introduction Copyright © Waleed Abdulla All rights reserved. August 2004.
Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
Web Services. Abstract  Web Services is a technology applicable for computationally distributed problems, including access to large databases What other.
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.
© Drexel University Software Engineering Research Group (SERG) 1 An Introduction to Web Services.
INTRODUCTION TO WEB APPLICATION Chapter 1. In this chapter, you will learn about:  The evolution of the Internet  The beginning of the World Wide Web,
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE User Forum, Manchester, 10 May ‘07 Nicola Venuti
Strategies for Virtual Enterprises using XForms and the Semantic Web Albert Rainer, Jürgen Dorn & Peter Hrastnik.
Preliminary Ocean Project Page 1 WGISS SG May 15, C. Caspar G. Tandurella P. Goncalves G. Fallourd I. Petiteville Preliminary Ocean Project Phase.
Ajax for Dynamic Web Development Gregory McChesney.
XFormsDB An XForms - Based Framework for Simplifying Web Application Development Markku Laine Master’s Thesis Presentation March 9, 2010.
Preface IIntroduction Objectives I-2 Course Overview I-3 1Oracle Application Development Framework Objectives 1-2 J2EE Platform 1-3 Benefits of the J2EE.
1 Copyright © 2004, Oracle. All rights reserved. Oracle Application Development Framework.
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
REST By: Vishwanath Vineet.
Overview of Previous Lesson(s) Over View  ASP is a technology that enables scripts in web pages to be executed by an Internet server.  ASP.NET is a.
Web Technology (NCS-504) Prepared By Mr. Abhishek Kesharwani Assistant Professor,UCER Naini,Allahabad.
Flux & React Web Application Development Mark Repka, Rich McNeary, Steve Mueller.
SDJ INFOSOFT PVT. LTD. 2 BROWSERBROWSER JSP JavaBean DB Req Res Application Layer Enterprise server/Data Sources.
A Presentation Presentation On JSP On JSP & Online Shopping Cart Online Shopping Cart.
An Introduction to XForms Philadelphia XML Users' Group by Peter Meggitt.
DHTML.
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
Web Software Model CS 4640 Programming Languages for Web Applications
Presentation transcript:

XForms: A case study Rajiv Shivane & Pavitar Singh

Building a generic Web-Service client Problem statement: Need to build HTML forms for invoking operations on any web-service given it’s WSDL –Web services defined using WSDL –Operations are declared in WSDL Why XForms –Single Servlet to generate HTML for invoking any web- service –Generates dynamic forms for Collection data types –Ease of invoking web-service as submitted data is in XML format –Built in validation framework

Implementation overview WebService WSDL Servlet Parses XFORM Builds Chiba Renders Browser User Enters Data InvokesOperation Response Described By

Sample input-form for an operation

Form populated with web-service response

How Easy it is

XForms: An introduction

What is XForms ? –Next generation web forms from W3C –W3C Recommendation since October 2003 –Aims at replacing HTML forms –But supports any host language

XForms Goals Make Web form design easier –Less client-side (JavaScript) code –Less server-side code –More functionality! Capture data from end-user in XML

Problems with HTML Forms Dependence on Scripting Languages Like Java Script and VB Script to do common tasks –Marking Required Controls –Validations –Calculations –Error Messages –Conditional Layout Difficulty of Initializing Form Can Represent Only Flat Data (Name Value Pairs) Reintrepreting Data Format at every stage of workflow

Conceptual Structure of XForms

Sample XForm

Model Section Model Element in Xforms Document Contain Child Elements –Instance –Bind –Submit

Bind

Model Section Encapsulates Data Aspects of a Form Uses XML Schema to Define Constraints Uses Xpath to Define Model Properties Captures What, How and Where to submit Enable Reactive User Interfaces Encourage declarative authoring

UI Controls

Connects User Interface to the Model Uses Xpath to address nodes in the instance UI controls collects user input Bind to underlying model Controls are designed for accessibility Abstract Controls encourage Device Independence

UI Controls

Complex User Interfaces Aggregation construct –Group logically related user –Enables Refactoring

Complex User Interfaces Dynamic User Interaction with –Enables any of logically groups to be selectively displayed to the User –Use declarative Event Handler

Complex User Interfaces Repeating structures with repeat –Very powerful construct

Event Handlers

Events Bring User Interface to life Give access to eventing via XML Events Attach Dynamic Behavior Obviate common use of scripts via declarative actions

Events Categories Initialization –Events raised as various Xform components are initialized Interaction –Raised by user interaction e.g Request for a Help Notification –Raised by Xforms processing model –To trigger different steps in Xforms processing Errors –Raised when specific type of error conditions are encountered

Native Xform Support in Web Browsers Microsoft doesnt want to support it –Competing with InfoPath Mozilla/Firefox Support –In the works but not yet deployed –But still market share under 10% But is That a Problem if we want to implement XForm ??????

The Solution Server-side emulation layer A/K/A server-side XForms Developer writes XHTML and XForms, as he would with an XForms-aware web browser Server-side XForms engine translates this into (X)HTML, CSS, and lightweight JavaScript Uses AJAX to achieve asynchronous validation

Implementations for Server Side XForm Orbeon PresentationServer (OPS) Chiba → Both are open source

Thanks Q&A