XForms for Metadata creation
-
Upload
eby -
Category
Technology
-
view
3.354 -
download
0
description
Transcript of XForms for Metadata creation
![Page 1: XForms for Metadata creation](https://reader035.fdocuments.us/reader035/viewer/2022062614/547906d95906b562048b4615/html5/thumbnails/1.jpg)
XForms for Metadata Creation
Winona SaleskyUniversity of Vermont
Michael ParkBrown University
![Page 2: XForms for Metadata creation](https://reader035.fdocuments.us/reader035/viewer/2022062614/547906d95906b562048b4615/html5/thumbnails/2.jpg)
The Problem
![Page 3: XForms for Metadata creation](https://reader035.fdocuments.us/reader035/viewer/2022062614/547906d95906b562048b4615/html5/thumbnails/3.jpg)
“XForms is an XML application that represents the next generation of forms for the web.”
- XForms 1.1 Specification
Enter XForms
![Page 4: XForms for Metadata creation](https://reader035.fdocuments.us/reader035/viewer/2022062614/547906d95906b562048b4615/html5/thumbnails/4.jpg)
XForms - the highlights
- Platform and device independent- Separates data and logic from
presentation- XML in, XML out- XML Schema validation- Reduces or eliminates the need for
scripting- Does not require expensive round-
tripping when the data is modified
![Page 5: XForms for Metadata creation](https://reader035.fdocuments.us/reader035/viewer/2022062614/547906d95906b562048b4615/html5/thumbnails/5.jpg)
Anatomy of an XForm
<html><head>
</head><body>
</body></html>
<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/>
![Page 6: XForms for Metadata creation](https://reader035.fdocuments.us/reader035/viewer/2022062614/547906d95906b562048b4615/html5/thumbnails/6.jpg)
Firefox XForms Extension
![Page 7: XForms for Metadata creation](https://reader035.fdocuments.us/reader035/viewer/2022062614/547906d95906b562048b4615/html5/thumbnails/7.jpg)
Demo
![Page 8: XForms for Metadata creation](https://reader035.fdocuments.us/reader035/viewer/2022062614/547906d95906b562048b4615/html5/thumbnails/8.jpg)
Putting it all together
MODS XForms
eXist Solr
Firefox Browser
RESTREST
![Page 9: XForms for Metadata creation](https://reader035.fdocuments.us/reader035/viewer/2022062614/547906d95906b562048b4615/html5/thumbnails/9.jpg)
More Info
- Code:http://code.google.com/p/xforms4lib/
- Examples:http://cdi.uvm.edu/exist/xforms/modshttp://cdi.uvm.edu/exist/xforms/modsSimple
- Blog:http://thedil.wordpress.com/category/mods/
![Page 10: XForms for Metadata creation](https://reader035.fdocuments.us/reader035/viewer/2022062614/547906d95906b562048b4615/html5/thumbnails/10.jpg)
Build a web-based XML editor ?!
![Page 11: XForms for Metadata creation](https://reader035.fdocuments.us/reader035/viewer/2022062614/547906d95906b562048b4615/html5/thumbnails/11.jpg)
Why a MODS Editor ?
Digital RepositoryMetadata
![Page 12: XForms for Metadata creation](https://reader035.fdocuments.us/reader035/viewer/2022062614/547906d95906b562048b4615/html5/thumbnails/12.jpg)
Requirements
- Web-based - Simple UI- Support complex metadata- Enforce correct data input - Easily maintained
![Page 13: XForms for Metadata creation](https://reader035.fdocuments.us/reader035/viewer/2022062614/547906d95906b562048b4615/html5/thumbnails/13.jpg)
Demo
![Page 14: XForms for Metadata creation](https://reader035.fdocuments.us/reader035/viewer/2022062614/547906d95906b562048b4615/html5/thumbnails/14.jpg)
XForms – which one ?
- Architecture- Implementation
Client Server
![Page 15: XForms for Metadata creation](https://reader035.fdocuments.us/reader035/viewer/2022062614/547906d95906b562048b4615/html5/thumbnails/15.jpg)
Why Orbeon ?
- Robust open source web app - XForms engine for Java
applications- Documentation- Active community- AJAX technology- Widgets
![Page 16: XForms for Metadata creation](https://reader035.fdocuments.us/reader035/viewer/2022062614/547906d95906b562048b4615/html5/thumbnails/16.jpg)
How it all works
eXist
MODS editor
Orbeon
AJAX
REST
XML
![Page 17: XForms for Metadata creation](https://reader035.fdocuments.us/reader035/viewer/2022062614/547906d95906b562048b4615/html5/thumbnails/17.jpg)
XForms - the downside
- It’s all XML !- Appears large and complicated - XForms is not a Web standard - Implementations aren’t there yet
![Page 18: XForms for Metadata creation](https://reader035.fdocuments.us/reader035/viewer/2022062614/547906d95906b562048b4615/html5/thumbnails/18.jpg)
XForms - the upside
- XML, XML, XML- Create an entire application - No scripting - Strong typing- Interactive UI
![Page 19: XForms for Metadata creation](https://reader035.fdocuments.us/reader035/viewer/2022062614/547906d95906b562048b4615/html5/thumbnails/19.jpg)
The MODS editor Code
- Code and documentation:http://dl.lib.brown.edu/its/software/metadata/
- Example:
http://riker.services.brown.edu:8080/repo/mods/demo.html
- Questions: [email protected]
![Page 20: XForms for Metadata creation](https://reader035.fdocuments.us/reader035/viewer/2022062614/547906d95906b562048b4615/html5/thumbnails/20.jpg)