DSpace UI Alexey Maslov. DSpace in general A digital library tool useful for storage, maintenance, and retrieval of digital documents Two types of interaction:

Slides:



Advertisements
Similar presentations
EPrints Web Configuratio n Management. SQL database Web server Scripts to configure repository activities Configuration files EPrints - the Administrator's.
Advertisements

DOCUMENT TYPES. Digital Documents Converting documents to an electronic format will preserve those documents, but how would such a process be organized?
CG0119 Web Database Systems Parsing XML: using SimpleXML & XSLT.
1 XSLT – eXtensible Stylesheet Language Transformations Modified Slides from Dr. Sagiv.
Developing Interfaces and Interactivity for DSpace with Manakin Part 5: Introduction to Manakin’s Theme Tier Eric Luhrs Digital Initiatives Librarian,
XSL XSLT and XPath 11-Apr-17.
XML: Managing Data Exchange Stylesheets. Lesson Contents CSS The basic XSL file XSL transforms Templates Sort Numbering Parameters and Variables Datatypes.
 Copyright Wipro Technologies JSP Ver 1.0 Page 1 Talent Transformation Java Server Pages.
Languages for Dynamic Web Documents
XML Unit 6 October 31. XML, review XML is used to markup data Used to describe information Uses tags like HTML –But all tags are user-defined –Must be.
Manakin Workshop DSpace User Group, February 2006 Scott Phillips Texas A&M University
Project 1 Introduction to HTML.
Macromedia Dreamweaver 4 Advanced Level Course. Add Rollovers Rollovers or mouseovers are possibly the most popular effects used in designing Web pages.
XML Technologies and Applications Rajshekhar Sunderraman Department of Computer Science Georgia State University Atlanta, GA 30302
September 15, 2003Houssam Haitof1 XSL Transformation Houssam Haitof.
Technical Track Session XML Techie Tools Tim Bornholt.
Web 2.0 with AJAX Students : LASC Ioana KELEMEN Csilla POP Dan Adrian CIOBANU Dumitru Daniel Project leader : Ahmed RHIAT.
Copyright 2001 Michael Slinn JBrowCaps Open Source Browser Independent Page Rendering for Java Servlets Mike Slinn
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.
Understanding HTML Style Sheets. What is a style?  A style is a rule that defines the appearance and position of text and graphics. It may define the.
DSpace XML UI Project Texas A&M University Digital Initiatives, Research and Technology Scott Phillips, Cody Green, Alexey Maslov, Adam Mikeal, Brian Surratt,
Chapter 4 Dreamweaver: Part II The Web Warrior Guide to Web Design Technologies.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
Building a UI with Zen Pat McGibbon –Sales Engineer.
© Cheltenham Computer Training 2001 Macromedia Dreamweaver 4 - Slide No 1 Macromedia Dreamweaver 4 Advanced Level Course.
Chapter 16 The World Wide Web. 2 The Web An infrastructure of information combined and the network software used to access it Web page A document that.
CPS120: Introduction to Computer Science The World Wide Web Nell Dale John Lewis.
SDPL 2002Notes 7: Apache Cocoon1 7 XML Web Site Architecture Example: Apache Cocoon, a Web publishing architecture based on XML technology
XP New Perspectives on XML Tutorial 6 1 TUTORIAL 6 XSLT Tutorial – Carey ISBN
XP 1 CREATING AN XML DOCUMENT. XP 2 INTRODUCING XML XML stands for Extensible Markup Language. A markup language specifies the structure and content of.
WORKING WITH XSLT AND XPATH
NetTech Solutions Working with Web Elements Lesson 6.
Introduction to JavaServer Pages (JSP) Slides from Dr. Mark Llewellyn.
XHTML,XML M.Abdullah Mrian. What is the XHTML Why XHTML ?
Mid Morning Discussion Introduction to the IBIS-Q Front-End System ("Module" Emphasis) What is the front end Where does the front end fit in What is a.
IUScholarWorks is a set of services to make the work of IU scholars freely available. Allows IU departments, institutes, centers and research units to.
Session 1 SESSION 1 Working with Dreamweaver 8.0.
HTML. Principle of Programming  Interface with PC 2 English Japanese Chinese Machine Code Compiler / Interpreter C++ Perl Assembler Machine Code.
ECA 228 Internet/Intranet Design I XSLT Example. ECA 228 Internet/Intranet Design I 2 CSS Limitations cannot modify content cannot insert additional text.
JSTL, XML and XSLT An introduction to JSP Standard Tag Library and XML/XSLT transformation for Web layout.
CITA 330 Section 6 XSLT. Transforming XML Documents to XHTML Documents XSLT is an XML dialect which is declared under namespace "
Presentation Topic: XML and ASP Presented by Yanzhi Zhang.
WEB BASED DATA TRANSFORMATION USING XML, JAVA Group members: Darius Balarashti & Matt Smith.
Introduction to JavaServer Pages. 2 JSP and Servlet Limitations of servlet  It’s inaccessible to non-programmers JSP is a complement to servlet  focuses.
Dreamweaver 8 Introduction What you can do with Dreamweaver 8 What's new in Dreamweaver 8.
HTML Basics BCIS 3680 Enterprise Programming. Web Client/Server Architecture 2  Your browser (the client) requests a Web page from a remote computer.
1 Overview of XSL. 2 Outline We will use Roger Costello’s tutorial The purpose of this presentation is  To give a quick overview of XSL  To describe.
Web Development Process The Site Development Process Site Construction is one of the last steps.
CS562 Advanced Java and Internet Application Introduction to the Computer Warehouse Web Application. Java Server Pages (JSP) Technology. By Team Alpha.
Preface IIntroduction Objectives I-2 Course Overview I-3 1Oracle Application Development Framework Objectives 1-2 J2EE Platform 1-3 Benefits of the J2EE.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
INFSY 547: WEB-Based Technologies Gayle J Yaverbaum, PhD Professor of Information Systems Penn State Harrisburg.
28 Copyright © 2009, Oracle. All rights reserved. Customizing the Oracle Business Intelligence User Interface.
Introduction to the World Wide Web & Internet CIS 101.
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
10 Copyright © 2004, Oracle. All rights reserved. Building ADF View Components.
CHAPTER 7 LESSON C Creating Database Reports. Lesson C Objectives  Display image data in a report  Manually create queries and data links  Create summary.
1 LM 6 Database Applications Dr. Lei Li. Learning Objectives Explain three components of a client-server system Describe differences between a 2-tiered.
Rendering XML Documents ©NIITeXtensible Markup Language/Lesson 5/Slide 1 of 46 Objectives In this session, you will learn to: * Define rendering * Identify.
Apache Cocoon – XML Publishing Framework 데이터베이스 연구실 박사 1 학기 이 세영.
Teaching slides Chapter 6. Chapter 6 Software user interface design & construction Contents Introduction Graphical user interface – Rich window based.
Project 1 Introduction to HTML.
Chapter 1 Introduction to HTML.
Project 1 Introduction to HTML.
Using Access and the Web
Microsoft Office Illustrated
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
Chapter 27 WWW and HTTP.
XML Data Introduction, Well-formed XML.
Lesson 1 The Web.
Presentation transcript:

DSpace UI Alexey Maslov

DSpace in general A digital library tool useful for storage, maintenance, and retrieval of digital documents Two types of interaction: –Command line for administrative use –Automatically generated user interface

The original DSpace Interface Automatically created upon installation and deployment Fully functional from the onset Dynamically generated through an interaction between Java Servlets and Java Server Pages

The original DSpace Interface (cont.) 1.HTTP Request –Tomcat identifies the Java servlet 2.Java Servlets –Processes form data –Determines flow control –Invokes the JSP Manager 3.JSP Manager –Calls and applies the JSP pages 4.JSP Pages –Create the HTML 5.HTTP Response –Transmits HTML to the user DSpace Java Servlets JSP Manager HTTP Request HTTP Response JSP Pages

Editing The JSPs The JSPs are stored in the DSpace source directory under the /jsp subdirectory They can be edited by –Copying the.jsp file to be edited into the /jsp/local subdirectory –Modifying it as needed The changed JSP will override the one that came with the installation

Issues with the JSP DSpace Interface JSP pages create the HTML directly, in most cases complete with the styling information There is one JSP page for each DSpace page, so changes to all of DSpace require modification of most JSP’s

The XML based DSpace Interface DSpace XML UI is generated through an interaction between Java Servlets, XML Objects, XSLT styling language and Cascading Style Sheets –Java Servlets and XML Objects create an XML document describing a DSpace page –XSLT transforms the XML into HTML –The HTML is rendered using styling rules provided by CSS

XML Based DSpace Interface (cont.) The end result of JSP based UI is the HTML that will be sent to the browser The end result of XML based UI is an XML document that contains all the information necessary to build a DSpace page, but none of the visual formatting The themes are then used to convert the XML into HTML and apply styling rules to it

XML Based DSpace Interface (cont.) 1.HTTP Request –Tomcat identifies the Java servlet 2.Java Servlets –Processes form data –Determines flow control –Instantiates the XML Object 3.XML Manager –Creates the XML Document –Calls the XML Object 4.XML Object –Inserts content into the document 5.Theme Manager –Determines the theme –Applies the theme 6.HTTP Response –Outputs the resulting XML document DSpace Java Servlets XML Objects XML Manager Theme Manager themes.xml HTTP Request HTTP Response

Modifying the DSpace XML UI You do not edit the Java side of DSpace Modifications are instead performed on the XSLT and CSS. HTTP Response XSLT Templates XML Document CSS Rules HTML Document Final Output

The XML XML, or eXtensible Markup Language, is a data storage format The XML Document generated by the Java Servlets doesn’t do anything on its own Since it serves as a base for a DSpace page, it is also the same between all themes – – – –

page metaoptionsbody trail item userAgent browserVersio n browserType user contextPath title searchbrowse actions administrative language item sectiontabularform link label para help emphasize list columns emptyText pagination row label column image item image value params field division label fieldGroup pagination * ** * λ * * * * *** * * * * * * * * * * * * λ λ λ λ λ λ λ context item * λ 0,1 DSpace XML UI Schema Gray Language element 1Must be one 0,1May be one λ May be one group *None or many Legend label λ cell label option * firstName id logoutUrl lastName lang * 0,1

The XSL XSL, or the eXtensible Stylesheet Language, is used to transform the XML data into HTML It does so through template matching, which applies rules to and generates HTML for matching XML tags A base library exists to convert XML into HTML that be used or extended by each theme

The CSS The output of XSL transformations is HTML that can be output and rendered in a browser It still, however, lacks any visual styling Cascading Style Sheet rules can be applied to the HTML to render it graphically

Overall Most of the visual changes are done in CSS XSLT templates can also be overridden to make structural modifications Finally, the theme manager can be configured to apply certain themes to specific DSpace components HTTP Response XSLT Templates XML Document CSS Rules HTML Document Final Output

To recap… All DSpace pages are boiled down to single XML format Themes, which are combinations of a CSS style sheet and XSLT templates, convert the XML to styled HTML Different themes can be applied to different subset of DSpace

References XML Tutorial HTML Tutorial CSS Tutorial XSLT Tutorial