XForms for Metadata Creation

7,098 views

Published on

Published in: Business, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
7,098
On SlideShare
0
From Embeds
0
Number of Embeds
1,108
Actions
Shares
0
Downloads
53
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • XForms for Metadata Creation

    1. 1. XForms for Metadata Creation Winona Salesky University of Vermont Michael Park Brown University
    2. 2. The Problem
    3. 3. Enter XForms “ XForms is an XML application that represents the next generation of forms for the web.” - XForms 1.1 Specification
    4. 4. XForms - the highlights <ul><li>- Platform and device independent </li></ul><ul><li>- Separates data and logic from presentation </li></ul><ul><li>- XML in, XML out </li></ul><ul><li>- XML Schema validation </li></ul><ul><li>- Reduces or eliminates the need for scripting </li></ul><ul><li>- Does not require expensive round-tripping when the data is modified </li></ul>
    5. 5. Anatomy of an XForm <ul><li><html> </li></ul><ul><ul><li><head> </li></ul></ul><ul><ul><li></head> </li></ul></ul><ul><ul><li><body> </li></ul></ul><ul><ul><li></body> </li></ul></ul><ul><li></html> </li></ul><ul><li><xforms:model> </li></ul><ul><li><xforms:model> </li></ul>The Model The User Interface <xforms:instance/> <xforms:bind …/> <xforms:submission …/> <xforms:input/> <xforms:output/> <xforms:text/> <xforms:select1/> <xforms:repeat/>
    6. 6. Firefox XForms Extension
    7. 7. Demo
    8. 8. Putting it all together MODS XForms eXist Solr Firefox Browser REST REST
    9. 9. More Info <ul><li>- Code: </li></ul><ul><ul><li>http://code.google.com/p/xforms4lib/ </li></ul></ul><ul><li>- Examples: </li></ul><ul><ul><li>http://cdi.uvm.edu/exist/xforms/mods </li></ul></ul><ul><ul><li>http://cdi.uvm.edu/exist/xforms/modsSimple </li></ul></ul><ul><li>- Blog: </li></ul><ul><ul><li>http://thedil.wordpress.com/category/mods/ </li></ul></ul>
    10. 10. Build a web-based XML editor ?!
    11. 11. Why a MODS Editor ? Digital Repository Metadata
    12. 12. Requirements <ul><li>- Web-based </li></ul><ul><li>- Simple UI </li></ul><ul><li>- Support complex metadata </li></ul><ul><li>- Enforce correct data input </li></ul><ul><li>- Easily maintained </li></ul>
    13. 13. Demo
    14. 14. XForms – which one ? - Architecture - Implementation Client Server
    15. 15. Why Orbeon ? <ul><li>- Robust open source web app </li></ul><ul><li>- XForms engine for Java applications </li></ul><ul><li>- Documentation </li></ul><ul><li>- Active community </li></ul><ul><li>- AJAX technology </li></ul><ul><li>- Widgets </li></ul>
    16. 16. How it all works eXist MODS editor Orbeon AJAX REST XML
    17. 17. XForms - the downside <ul><li>- It’s all XML ! </li></ul><ul><li>- Appears large and complicated </li></ul><ul><li>- XForms is not a Web standard </li></ul><ul><li>- Implementations aren’t there yet </li></ul>
    18. 18. XForms - the upside <ul><li>- XML, XML, XML </li></ul><ul><li>- Create an entire application </li></ul><ul><li>- No scripting </li></ul><ul><li>- Strong typing </li></ul><ul><li>- Interactive UI </li></ul>
    19. 19. The MODS editor Code <ul><li>- Code and documentation: </li></ul><ul><li>http://dl.lib.brown.edu/its/software/metadata/ </li></ul><ul><li>- Example: </li></ul><ul><li>http://riker.services.brown.edu:8080/repo/mods/demo.html </li></ul><ul><li>- Questions: </li></ul><ul><li>michael_park_ 1 @brown.edu </li></ul>

    ×