Presentation is loading. Please wait.

Presentation is loading. Please wait.

Tuukka Haapaniemi 26.11.2008. XForms – What’s the need? HTML forms Very outdated Hard to develop and to maintain Requires lot of work To create basic.

Similar presentations


Presentation on theme: "Tuukka Haapaniemi 26.11.2008. XForms – What’s the need? HTML forms Very outdated Hard to develop and to maintain Requires lot of work To create basic."— Presentation transcript:

1 Tuukka Haapaniemi 26.11.2008

2 XForms – What’s the need? HTML forms Very outdated Hard to develop and to maintain Requires lot of work To create basic validation To create basic calculations In effect, to make anything userfriendly’ish 26.11.20082Future of XForms - Tuukka Haapaniemi

3 Limitations of HTML forms Provides no means of separating data from the view Data insertion into the templated form Client -> Server ideology Hard to implement workflow Flat, key-value paired data 26.11.2008Future of XForms - Tuukka Haapaniemi3

4 Key ideas of XForms Separation of data from views of data Model View Controller –pattern Referencing complex data easily from the view Workflow by changing only the view Simple calculations Simple validations Dynamic controls Device specific rendering 26.11.2008Future of XForms - Tuukka Haapaniemi4

5 XForms’ requirements XML namespaces XML Xchema Xpath XML events CSS3 26.11.2008Future of XForms - Tuukka Haapaniemi5

6 How to use XForms now Browser specific plug-in Common users propably don’t want to download Server side XForms engine Orbeon Forms Many others Client side parsing Ubiquity XForms Many others 26.11.2008Future of XForms - Tuukka Haapaniemi6

7 Server side XForms engine No need for a separately downloaded plug-in Similar idea as with PHP, ASP(.NET) etc. Produce currently supported code, that is, HTML, JavaScript and CSS from the XFoms code on the server Emulation layer creates extra payload on server Multiple postbacks or heavy custom scripting required 26.11.2008Future of XForms - Tuukka Haapaniemi7

8 Client side parsing No need for a separately downloaded plug-in By using existing JavaScript libraries and adding new APIs to them, parse the XForms code on client Light on the server A bit slower on the client Ajax support – less full postbacks required Hard to make cross-platform and cross-browser compatible 26.11.2008Future of XForms - Tuukka Haapaniemi8

9 Near future of XForms Current implementations allow to test and learn the technology New applications can be created with XForms and used through the existing implementations Easy to transform if/when native support arrives Intelligent usage of supported technologies possible Strong ground through being a W3C standard 26.11.2008Future of XForms - Tuukka Haapaniemi9

10 Future of native XForms FireFox Has a good plug-in created close to the browsers core Implements most of XForms’ requirements Is constantly rising in ”market share” (44%, Oct 2008) Microsoft Internet Explorer Has one of the best plug-ins Microsoft has a competing product: InfoPath Could lose its market leader status (47,1%, Oct 2008) Opera and Apple unenthusiastic 26.11.2008Future of XForms - Tuukka Haapaniemi10

11 Questions & discussion 26.11.2008Future of XForms - Tuukka Haapaniemi11

12 Thank you! 26.11.2008Future of XForms - Tuukka Haapaniemi12


Download ppt "Tuukka Haapaniemi 26.11.2008. XForms – What’s the need? HTML forms Very outdated Hard to develop and to maintain Requires lot of work To create basic."

Similar presentations


Ads by Google