1 / 18

Cocoon and Digital Libraries in the Humanities

Cocoon and Digital Libraries in the Humanities. Hugh A. Cayless UNC Chapel Hill. outline. What is Apache Cocoon? Why is it particularly useful for digital library applications in the Humanities? Getting started with Cocoon Some examples A Cocoon webapp Integrating software into Cocoon.

owen
Download Presentation

Cocoon and Digital Libraries in the Humanities

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Cocoon and Digital Libraries in the Humanities Hugh A. Cayless UNC Chapel Hill

  2. outline • What is Apache Cocoon? • Why is it particularly useful for digital library applications in the Humanities? • Getting started with Cocoon • Some examples • A Cocoon webapp • Integrating software into Cocoon

  3. What is Apache Cocoon? • An XML-based (web) publishing framework written in Java • Some explanatory digressions: • XML • XSLT • SAX

  4. Digressions continued… • Wimmel, Walter (1960) Kallimachos in Rom, Wiesbaden. or • Galinsky, Karl (1969) "The Triumph Theme in the Augustan Elegy," Wiener Studien 82, 75-107.

  5. Digressions continued… • <p>Wimmel, Walter (1960) <i>Kallimachos in Rom</i>, Wiesbaden.</p> • <bibl> <title lang="deu">Kallimachos in Rom</title> <author> <persName> <foreName>Walter</foreName> <surName>Wimmel</surName> </persName> </author> <date>1960</date> <pubPlace>Wiesbaden</pubPlace></bibl>

  6. What is Apache Cocoon? • Some explanatory digressions: • XML • (e)X(tensible) M(arkup) L(anguage) • XSLT • (e)X(tensible) S(tylesheet) L(anguage) T(ransformations) • SAX • S(imple) A(PI) (for) X(ML)

  7. Cocoon continued… • More explanations: • Pipeline-based processing • Generators • Transformers • Serializers • Readers • The Sitemap • http://localhost:8080/cocoon/mystuff/mypage.html

  8. Cocoon continued… • Separation of Concerns

  9. SoC • How does this help? • Focus on establishing contracts, rather than training. • Scholars don’t have to radically change the way they do things. • Programmers don’t have to create systems from scratch.

  10. Humanities Digital Libraries • Characteristics • Often focused on documents • Multiple languages • Integration of images with texts desired • Integration of analytical tools • Good search and retrieval tools

  11. Humanities Digital Libraries • Obstacles • Time • Money • Unfamiliarity of content providers with technology • Unfamiliarity of technologists with content

  12. Cocoon’s Solutions • Time • Reduces the amount of time spent in negotiations between scholars and programmers • Reduces the actual amount of code that needs to be written.

  13. Cocoon’s Solutions • Money • It’s free • It can run in a servlet container that’s also free • It can run on a software platform that’s free

  14. Cocoon’s Solutions • Content providers • Only have to learn enough technology to provide the content with sufficient data and metadata.

  15. Cocoon’s Solutions • technologists • Can focus on solving specific problems posed by the material, e.g. writing code to analyze content.

  16. Getting Started • Downloads: • http://java.sun.com http://jakarta.apache.org/tomcat • http://xml.apache.org/cocoon • Installation: • Install Java • Install Tomcat • Put cocoon.war in tomcat/webapps/ • Start Tomcat

  17. Getting started • Documentation • Online documentation much improved • Very active user / development community • Books • Cocoon: Building XML Applications, Matthew Langham and Carsten Zeigler, New Riders, 2003. • Cocoon Developer’s Handbook, Lajos Moczar and Jeremy Aston, Developer’s Library, 2003.

  18. Some Examples • A cocoon web application: • EpiDocinator • Integrating software • Transcoder • CHET-C-java

More Related