Mirage 2: A responsive user interface for DSpaceBram Luyten
Three years after the original contribution of the Mirage theme to DSpace 1.7, @mire is currently developing Mirage 2 for DSpace 4. This theme for the DSpace "Manakin" XML User Interface was built on modern web technologies including Bootstrap, SASS/Compass and Grunt. Mirage 2 adds support for devices in all shapes and sizes, an updated look & feel and an entire range of optimizations behind the scenes.
This is the presentation I made on JavaDay Kiev 2015 regarding the architecture of Apache Spark. It covers the memory model, the shuffle implementations, data frames and some other high-level staff and can be used as an introduction to Apache Spark
Mirage 2: A responsive user interface for DSpaceBram Luyten
Three years after the original contribution of the Mirage theme to DSpace 1.7, @mire is currently developing Mirage 2 for DSpace 4. This theme for the DSpace "Manakin" XML User Interface was built on modern web technologies including Bootstrap, SASS/Compass and Grunt. Mirage 2 adds support for devices in all shapes and sizes, an updated look & feel and an entire range of optimizations behind the scenes.
This is the presentation I made on JavaDay Kiev 2015 regarding the architecture of Apache Spark. It covers the memory model, the shuffle implementations, data frames and some other high-level staff and can be used as an introduction to Apache Spark
Data Lakehouse, Data Mesh, and Data Fabric (r2)James Serra
So many buzzwords of late: Data Lakehouse, Data Mesh, and Data Fabric. What do all these terms mean and how do they compare to a modern data warehouse? In this session I’ll cover all of them in detail and compare the pros and cons of each. They all may sound great in theory, but I'll dig into the concerns you need to be aware of before taking the plunge. I’ll also include use cases so you can see what approach will work best for your big data needs. And I'll discuss Microsoft version of the data mesh.
A brief overview of caching mechanisms in a web application. Taking a look at the different layers of caching and how to utilize them in a PHP code base. We also compare Redis and MemCached discussing their advantages and disadvantages.
Presentation / Workshop which will teach you the core patterns, concepts and visualisation options of D3.js (v4). Accompanying exercises can be found here: https://github.com/josdirksen/d3exercises
Intro to MongoDB
Get a jumpstart on MongoDB, use cases, and next steps for building your first app with Buzz Moschetti, MongoDB Enterprise Architect.
@BuzzMoschetti
Apache HBase™ is the Hadoop database, a distributed, salable, big data store.Its a column-oriented database management system that runs on top of HDFS.
Apache HBase is an open source NoSQL database that provides real-time read/write access to those large data sets. ... HBase is natively integrated with Hadoop and works seamlessly alongside other data access engines through YARN.
Workshop held at Open Repository 2018, Bozeman, Montana
As of late 2016, a DSpace 7 UI Working Group has begun developing an Angular User Interface which will replace the existing UIs in DSpace 7. This effort also includes the development of a new REST API for DSpace, designed to follow the principles of a RESTful webservice and adopt emerging standards and formats. The goals of the REST API are twofold: (1) to fully support the new Angular UI, and (2) to provide a rich, RESTful integration point for third-party services and tools.
This workshop will allow developers to become more familiar with the new REST API framework before DSpace 7 is released.
This hands-on developers workshop will provide attendees with an overview of the DSpace 7 REST framework:
- standards / best practices that the API is based on (HAL, JSON+PATCH, JWT)
- DSpace 7 REST Contract (documentation of all endpoints)
- interacting with the REST API (via HAL browser, curl and/or postman)
- how to build new endpoints into the REST API
- where to look when issues arise
- how to document and test existing/new endpoints
Attendees will be expected to setup a virtual machine (or install the DSpace 7 codebase locally) to get more familiar with the codebase/development tools.
Modern Data Warehousing with the Microsoft Analytics Platform SystemJames Serra
The traditional data warehouse has served us well for many years, but new trends are causing it to break in four different ways: data growth, fast query expectations from users, non-relational/unstructured data, and cloud-born data. How can you prevent this from happening? Enter the modern data warehouse, which is able to handle and excel with these new trends. It handles all types of data (Hadoop), provides a way to easily interface with all these types of data (PolyBase), and can handle “big data” and provide fast queries. Is there one appliance that can support this modern data warehouse? Yes! It is the Analytics Platform System (APS) from Microsoft (formally called Parallel Data Warehouse or PDW) , which is a Massively Parallel Processing (MPP) appliance that has been recently updated (v2 AU1). In this session I will dig into the details of the modern data warehouse and APS. I will give an overview of the APS hardware and software architecture, identify what makes APS different, and demonstrate the increased performance. In addition I will discuss how Hadoop, HDInsight, and PolyBase fit into this new modern data warehouse.
Apache Maven supports ALL Java (Javaland 2019)Robert Scholte
With the Release Train we can expect a new version of Java every 6 month. This means that tools like Maven should try to keep up with this pace. Especially Java 9 came with quite some new features and Maven managed to support these features. Maven found an elegant solution to work with modulepaths and classpaths without any need for developers to specify which jars belongs where.
This session will highlight the most important features developers should know to work with Java 9, 10 and beyond, combined with some practical tips and warnings.
Robert Scholte is the chairman of Apache Maven and on behalf of the Maven team he was a member of the expert group for JSR-376, also known as project Jigsaw. He has done most of the implementations to support the Java 9+ features in Maven.
Data Lakehouse, Data Mesh, and Data Fabric (r2)James Serra
So many buzzwords of late: Data Lakehouse, Data Mesh, and Data Fabric. What do all these terms mean and how do they compare to a modern data warehouse? In this session I’ll cover all of them in detail and compare the pros and cons of each. They all may sound great in theory, but I'll dig into the concerns you need to be aware of before taking the plunge. I’ll also include use cases so you can see what approach will work best for your big data needs. And I'll discuss Microsoft version of the data mesh.
A brief overview of caching mechanisms in a web application. Taking a look at the different layers of caching and how to utilize them in a PHP code base. We also compare Redis and MemCached discussing their advantages and disadvantages.
Presentation / Workshop which will teach you the core patterns, concepts and visualisation options of D3.js (v4). Accompanying exercises can be found here: https://github.com/josdirksen/d3exercises
Intro to MongoDB
Get a jumpstart on MongoDB, use cases, and next steps for building your first app with Buzz Moschetti, MongoDB Enterprise Architect.
@BuzzMoschetti
Apache HBase™ is the Hadoop database, a distributed, salable, big data store.Its a column-oriented database management system that runs on top of HDFS.
Apache HBase is an open source NoSQL database that provides real-time read/write access to those large data sets. ... HBase is natively integrated with Hadoop and works seamlessly alongside other data access engines through YARN.
Workshop held at Open Repository 2018, Bozeman, Montana
As of late 2016, a DSpace 7 UI Working Group has begun developing an Angular User Interface which will replace the existing UIs in DSpace 7. This effort also includes the development of a new REST API for DSpace, designed to follow the principles of a RESTful webservice and adopt emerging standards and formats. The goals of the REST API are twofold: (1) to fully support the new Angular UI, and (2) to provide a rich, RESTful integration point for third-party services and tools.
This workshop will allow developers to become more familiar with the new REST API framework before DSpace 7 is released.
This hands-on developers workshop will provide attendees with an overview of the DSpace 7 REST framework:
- standards / best practices that the API is based on (HAL, JSON+PATCH, JWT)
- DSpace 7 REST Contract (documentation of all endpoints)
- interacting with the REST API (via HAL browser, curl and/or postman)
- how to build new endpoints into the REST API
- where to look when issues arise
- how to document and test existing/new endpoints
Attendees will be expected to setup a virtual machine (or install the DSpace 7 codebase locally) to get more familiar with the codebase/development tools.
Modern Data Warehousing with the Microsoft Analytics Platform SystemJames Serra
The traditional data warehouse has served us well for many years, but new trends are causing it to break in four different ways: data growth, fast query expectations from users, non-relational/unstructured data, and cloud-born data. How can you prevent this from happening? Enter the modern data warehouse, which is able to handle and excel with these new trends. It handles all types of data (Hadoop), provides a way to easily interface with all these types of data (PolyBase), and can handle “big data” and provide fast queries. Is there one appliance that can support this modern data warehouse? Yes! It is the Analytics Platform System (APS) from Microsoft (formally called Parallel Data Warehouse or PDW) , which is a Massively Parallel Processing (MPP) appliance that has been recently updated (v2 AU1). In this session I will dig into the details of the modern data warehouse and APS. I will give an overview of the APS hardware and software architecture, identify what makes APS different, and demonstrate the increased performance. In addition I will discuss how Hadoop, HDInsight, and PolyBase fit into this new modern data warehouse.
Apache Maven supports ALL Java (Javaland 2019)Robert Scholte
With the Release Train we can expect a new version of Java every 6 month. This means that tools like Maven should try to keep up with this pace. Especially Java 9 came with quite some new features and Maven managed to support these features. Maven found an elegant solution to work with modulepaths and classpaths without any need for developers to specify which jars belongs where.
This session will highlight the most important features developers should know to work with Java 9, 10 and beyond, combined with some practical tips and warnings.
Robert Scholte is the chairman of Apache Maven and on behalf of the Maven team he was a member of the expert group for JSR-376, also known as project Jigsaw. He has done most of the implementations to support the Java 9+ features in Maven.
Maven: Managing Software Projects for Repeatable ResultsSteve Keener
This presentation explores the features of Maven 2, a software build tool that has achieved prominence in the Java development arena. Find out how Maven can be leveraged to automate key project tasks.
A small slide stack to introduce an audience to DSpace, what it is, what makes it go, what you get out of the box, and how to start off working with it. Originally delivered to a group of developers at UCLA Library, so there might be some UCLA-specific links, that don't work for non-UCLA types. Sorry about that.
On the Road to DSpace 7: Angular UI + RESTTim Donohue
Updates on the DSpace 7 efforts, including status of Angular UI development and new REST API. This presentation was given at the Open Repositories 2017 conference on Wednesday, June 28, 2017 in Brisbane, Australia.
Introducing the New DSpace User InterfaceTim Donohue
Introduction of the DSpace UI Initiative, the process of selecting a new UI platform and the new Angular 2 UI proof-of-concept demo. This presentation was given at the Open Repositories 2016 conference on Wednesday, June 15, 2016 in Dublin, Ireland.
DSpace UI Prototype Challenge: Spring Boot + ThymeleafTim Donohue
Presentation of my user interface prototype (#1) using Spring Boot + Thymeleaf for the DSpace UI Prototype Challenge:
https://wiki.duraspace.org/display/DSPACE/DSpace+UI+Prototype+Challenge
NOTE: As this was just a prototype/proof-of-concept there are NO GUARANTEES that this work will become a new User interface.
Discussion on DSpace's Two UIs : DuraSpace 2015 SummitTim Donohue
These slides were presented as part of a breakout session at the DuraSpace 2015 Summit. See:
https://wiki.duraspace.org/display/DSP/2015+Membership+Summit+Meeting%2C+March+11-12%2C+2015
Since then, more discussion has taken place both on the DSpace wiki and within the DSpace Steering Group. See this DSpace wiki page for more details:
https://wiki.duraspace.org/display/DSPACE/Brainstorms+on+a+Future+UI
This brief overview / roadmap was presented as part of the "DuraSpace Plenary" session at the Open Repositories 2014 conference in Helsinki, Finland on June 12, 2014.
The full DuraSpace Plenary session can be found at: http://www.slideshare.net/DuraSpace/duraspace-plenary-at-or14
These slides also make reference (near the end) to the "Future of DSpace" panel session at OR14. The slides for that panel are also available at: http://www.slideshare.net/DuraSpace/future-of-dspace-steering-group-panel-at-or14
DSpace RoadMap and Vision presentation given (in part) during the "DuraSpace Plenary" talks at the Open Repositories 2013 conference in Charlottetown, Prince Edward Island, Canada. This presentation was given on July 11, 2013.
A video screencast of this talk is also available at: http://youtu.be/JtnjPk9qS_k
These slides were prepared as part of the Open Repositories 2012 DuraSpace Plenary. They describe the DSpace RoadMap for 2012. However, the talk itself was presented by Valorie Hollister of DuraSpace (as I was unable to attend the conference).
DSpace RoadMap and Vision (at 2013 OAI8 DSpace User Group)Tim Donohue
Virtual presentation at the DSpace User Group Meeting before the OAI8 conference in Geneva on June 18, 2013.
A video recording of this presentation is available at: http://youtu.be/OVlndHO_RBE
NOTE: An updated version of this talk was presented at OR13. Those slides, and associated video are available at: http://www.slideshare.net/tdonohue/dspace-roadmap-vision-2013-or13
This small set of remarks was part of the larger "Future Trends" panel at the GKR Symposium on Cooperative Curation at Georgia Tech, Aug. 8 2012. http://www.library.gatech.edu/gkr/node/96
DSpace & DuraCloud Integrations talk, as presented as part of the DuraCloud Workshop at Open Repositories 2011 on June 6, 2011.
More Information on work presented in these slides can be found at:
* https://wiki.duraspace.org/display/DSPACE/ReplicationTaskSuite
Presentation at Open Repositories 2010 in Madrid, Spain on upcoming AIP export/import functionality (planned for DSpace 1.7.0). This functionality helps to provide a more preservation-quality backup (which can be used for restores or even migrations).
Presentation given during the "Ensuring Enduring Access: A Forum on Digital Preservation" sponsored by CARLI (Consortium of Academic and Research Libraries in Illinois) in Champaign, Illinois, USA on July 21, 2009.
The original PowerPoint for this presentation is available at:
http://hdl.handle.net/2142/13147
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
In this insightful webinar, Inflectra explores how artificial intelligence (AI) is transforming software development and testing. Discover how AI-powered tools are revolutionizing every stage of the software development lifecycle (SDLC), from design and prototyping to testing, deployment, and monitoring.
Learn about:
• The Future of Testing: How AI is shifting testing towards verification, analysis, and higher-level skills, while reducing repetitive tasks.
• Test Automation: How AI-powered test case generation, optimization, and self-healing tests are making testing more efficient and effective.
• Visual Testing: Explore the emerging capabilities of AI in visual testing and how it's set to revolutionize UI verification.
• Inflectra's AI Solutions: See demonstrations of Inflectra's cutting-edge AI tools like the ChatGPT plugin and Azure Open AI platform, designed to streamline your testing process.
Whether you're a developer, tester, or QA professional, this webinar will give you valuable insights into how AI is shaping the future of software delivery.
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
"Impact of front-end architecture on development cost", Viktor TurskyiFwdays
I have heard many times that architecture is not important for the front-end. Also, many times I have seen how developers implement features on the front-end just following the standard rules for a framework and think that this is enough to successfully launch the project, and then the project fails. How to prevent this and what approach to choose? I have launched dozens of complex projects and during the talk we will analyze which approaches have worked for me and which have not.
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Clients don’t know what they don’t know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clients’ needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
Neuro-symbolic is not enough, we need neuro-*semantic*Frank van Harmelen
Neuro-symbolic (NeSy) AI is on the rise. However, simply machine learning on just any symbolic structure is not sufficient to really harvest the gains of NeSy. These will only be gained when the symbolic structures have an actual semantics. I give an operational definition of semantics as “predictable inference”.
All of this illustrated with link prediction over knowledge graphs, but the argument is general.
Search and Society: Reimagining Information Access for Radical FuturesBhaskar Mitra
The field of Information retrieval (IR) is currently undergoing a transformative shift, at least partly due to the emerging applications of generative AI to information access. In this talk, we will deliberate on the sociotechnical implications of generative AI for information access. We will argue that there is both a critical necessity and an exciting opportunity for the IR community to re-center our research agendas on societal needs while dismantling the artificial separation between the work on fairness, accountability, transparency, and ethics in IR and the rest of IR research. Instead of adopting a reactionary strategy of trying to mitigate potential social harms from emerging technologies, the community should aim to proactively set the research agenda for the kinds of systems we should build inspired by diverse explicitly stated sociotechnical imaginaries. The sociotechnical imaginaries that underpin the design and development of information access technologies needs to be explicitly articulated, and we need to develop theories of change in context of these diverse perspectives. Our guiding future imaginaries must be informed by other academic fields, such as democratic theory and critical theory, and should be co-developed with social science scholars, legal scholars, civil rights and social justice activists, and artists, among others.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
Here is something new! In our next Connector Corner webinar, we will demonstrate how you can use a single workflow to:
Create a campaign using Mailchimp with merge tags/fields
Send an interactive Slack channel message (using buttons)
Have the message received by managers and peers along with a test email for review
But there’s more:
In a second workflow supporting the same use case, you’ll see:
Your campaign sent to target colleagues for approval
If the “Approve” button is clicked, a Jira/Zendesk ticket is created for the marketing design team
But—if the “Reject” button is pushed, colleagues will be alerted via Slack message
Join us to learn more about this new, human-in-the-loop capability, brought to you by Integration Service connectors.
And...
Speakers:
Akshay Agnihotri, Product Manager
Charlie Greenberg, Host
JMeter webinar - integration with InfluxDB and GrafanaRTTS
Watch this recorded webinar about real-time monitoring of application performance. See how to integrate Apache JMeter, the open-source leader in performance testing, with InfluxDB, the open-source time-series database, and Grafana, the open-source analytics and visualization application.
In this webinar, we will review the benefits of leveraging InfluxDB and Grafana when executing load tests and demonstrate how these tools are used to visualize performance metrics.
Length: 30 minutes
Session Overview
-------------------------------------------
During this webinar, we will cover the following topics while demonstrating the integrations of JMeter, InfluxDB and Grafana:
- What out-of-the-box solutions are available for real-time monitoring JMeter tests?
- What are the benefits of integrating InfluxDB and Grafana into the load testing stack?
- Which features are provided by Grafana?
- Demonstration of InfluxDB and Grafana using a practice web application
To view the webinar recording, go to:
https://www.rttsweb.com/jmeter-integration-webinar
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
Epistemic Interaction - tuning interfaces to provide information for AI support
Making DSpace XMLUI Your Own
1. MAKING DSPACE XMLUI YOUR OWN
CUSTOMIZATION VIA OVERLAYS
Tim Donohue
Research Programmer
IDEALS
University of Illinois
DSUG 2009 – Gothenburg, Sweden
3. Introducing Maven…
Apache Software Foundation
Java Project Build / Management Tool
Advantages:
Manages dependencies
Easier to manage/build many “modules”
Allows for basic application customizations via
“overlays”
Disadvantages:
Yetanother XML config (many actually…)
Somewhat complex, if doing more than basic overlays
4. Maven v. Ant
DSpace 1.x-1.4 used Ant to build & install DSpace
DSpace 1.5 & 1.6 uses both Maven & Ant
Maven – Builds / Assembles DSpace “package”
Includesapplying “overlays” and pulling down all the
necessary 3rd party dependencies
Ant – Installs or Updates your DSpace Installation
directory ([dspace.dir] in dspace.cfg)
5. Ok, so what really is Maven?
Build DSpace Here’s what I need…
<dependencies/>
mvn package pom.xml
Maven
local copies
build Repository
target
JAR WAR
dspace-1.5-build.dir Here you go…
Dependencies!
7. DSpace Release Structure
dspace-1.5 For those who only want to
dspace
make minor (non-Java)
customizations
bin
config
docs
etc
modules (Module Overlays)
src (Maven Build Settings – no Java here…)
pom.xml (Maven Project Object Model config)
8. DSpace “Modules”
dspace-1.5 modules
dspace
src / main / resources
jspui
src / main / webapp
….
(empty directories)
lni
modules
oai
….
sword
xmlui
Where’s the
actual source
code?
src / main / java?
9. DSpace Source (SVN)
dspace-1.5
dspace (Same as release version – see previous slides)
dspace-api
dspace-jspui
dspace-lni
Source code for DSpace “modules”
dspace-oai
In Release Version:
dspace-sword Maven pulls down
pre-compiled versions of
dspace-xmlui these modules
11. Customization via Overlays…
Overlay is Maven term (“Maven WAR Overlays”)
Simple way to override defaults with your own
customizations and code
Allow you to more easily manage your
customizations separate from DSpace core code
What can you “overlay”?
User interface look-and-feel (JSPUI, XMLUI Themes)
Language / terminology (messages.xml)
Java code to add functionality (XMLUI Aspect)
Although, this may be better built into a custom “module”
12. DSpace + Maven = “Overlays”
Build DSpace pom.xml
Can you give me the JSPUI
<dependencies/> Web application?
dspace
<build/>
modules
Maven
jspui Repository
messages Overlay JSPUI
.properties jsp
WAR Here you go…
My
JSPUI
13. Creating a Basic Overlay - JSPUI
dspace
Notice the Maven
modules “standard directory
layout”
jspui
src See “The Dspace Course” (S. Lewis & C. Yates)
for more details on 1.5.x JSPUI customizations
main
java
resources messages.properties
webapp (Replacement for “/jsp/local” )
jsp
15. Building/Installing an Overlay
Add your files to appropriate “/dspace/modules/”
directory (see previous slides)
Rebuild DSpace: mvn package
Builds to [dspace-src]/dspace/target/
Update DSpace installation: ant update
Installs to [dspace.dir] (as specified in dspace.cfg)
16. Review: Why Overlays?
Essentially, they came along with move to Maven
You can manage your own customizations separate
from DSpace source code
“/dspace/modules” subdirectories empty by default
JSPUI replacement for “/jsp/local” from pre-1.5
It is possible to overlay most *anything* (Java code,
JSPs, XMLUI Aspects/Themes, sitemaps, etc.)
17. Overlays: things to watch out for…
We don’t recommend
overlaying core APIs
Be very careful to merge
in new code changes
during your next upgrade
A local SVN code
repository is helpful
(“SVN vendor branch”) Image borrowed from:
http://www.flickr.com/photos/valgonzarp/
It is recommended to only place overlays in
[dspace-src]/dspace/modules/ (and subdirectories)
18. XML-UI Overview
• Intro to Manakin / XMLUI
• Tiered interface development
Credit: Scott Phillips, Texas Digital Library + Texas A&M
(Most of this content is borrowed heavily from Scott’s numerous Manakin tutorials)
22. Why Choose XMLUI?
Module design – easier to extend
Multiple interfaces / views, per community,
collection or item
Metadata in its native
formats
No knowledge of
Java/JSPs necessary Picture borrowed from:
http://www.flickr.com/photos/lambdageek/
23. XMLUI Architecture Overview
Built on Apache Cocoon
Modular, web-development framework
Pipeline based architecture
DRI (Digital Repository Interface) Schema
Structure
based on TEI (light)
Metadata referenced in METS
Aspects and Themes
Aspects= functionality in system (Java or XSL)
Themes = style / look & feel (XSL, CSS, images)
24. Cocoon’s Pipeline Model
Sitemaps are used by both
XMLUI Aspects and Themes.
Diagram Credit: Scott Phillips, Texas Digital Library
25. XMLUI Architecture Overview
defines aspect chain & themes
xmlui.xconf
Diagram Credit: Scott Phillips, Texas Digital Library
Notice the similarities to Cocoon Pipeline model…
26. Digital Repository Interface (DRI)
DRI is XML
Abstract representation
of page in a repository
View from any page by
appending ?XML or
&XML onto URL
27. Aspects
Implement set of features across entire repository
Java or XSL
“Aspect Chain” (see below)
Each requires valid DRI document as input/output
Core Aspects in DSpace 1.5
ArtifactBrowser (browse / search)
E-Person (login / logout)
Submission (submit new items)
Administrative (admin and management tools)
28. Themes
Look and feel of repository
May apply to any of following:
item, collection, community, whole repository
Theme folders can include
XSL(restructure site)
CSS (add style)
Images
Other static resources?
45. Simple XMLUI Theme Overlay
• Task: Modify file display to show a format icon
• (E.g.) PDF icon is displayed next to PDF files
46. Review: Create a new Theme
dspace
webapp
modules
i18n messages.xml
xmlui
themes
src My-Custom-Theme
main
css xsl images
java
sitemap.xmap
resources
webapp
47. Creating a new theme folder
dspace/modules/xmlui/src/main/webapp
themes Copy the default “Reference” theme into a
new folder called “MyTheme”
MyTheme
sitemap.xmap
images
lib (CSS is stored here)
48. Adding File Format icons to theme
/src/main/webapp Copy of “mets:file” template from General-Handler.xsl
<xsl:template match=“mets:file”>
themes …
<xsl:call-template name="getFileFormatIcon">
MyTheme <xsl:with-param name="mimetype">
<xsl:value-of select="@MIMETYPE "/>
</xsl:with-param>
my-theme.xsl
</xsl:call-template>
…
sitemap.xmap </xsl:template>
<xsl:template name=“getFileFormatIcon”>
images …
pdf.png <xsl:when test=“$mimetype=‘application/pdf’">
<xsl:value-of select="$theme-path"/>
<xsl:text>/images/pdf.png</xsl:text>
lib </xsl:when> Snippet from getFileFormatIcon
50. Enable your new theme…
[dspace.dir]
…
<themes>
config
…
<theme name="My New Theme"
xmlui.xconf regex=".*" path="MyTheme/" />
…
</themes>
…
Restart web server for changes to take effect
Other sample theme settings:
• regex=“^$” (Theme for homepage ONLY)
• regex=“^browse$” (Theme for all global “Browse By” pages)
• handle=“2142/2” (Theme for Community/Collection/Item)
52. Creating an XMLUI Aspect
•A few (high-level) hints and tips on starting an
XMLUI aspect
53. Options for adding custom Java
via Overlay via Maven Module
Little more simplistic Little more complex
Sitemap (XMLUI) pom.xml & sitemap
Compiled in WAR (XMLUI)
Only one “module” Compiled in JAR
(UI) can use Multiple “modules”
can use via
dependencies
Easier to share with
others
54. Create a simple Aspect via overlay
Good for simple aspects
dspace
modules java (Custom java source code)
xmlui
resources
src
aspects
main
MyAspect
java
sitemap.xmap
resources
My-aspect.xsl
webapp
55. Aspect via a new Maven module
For complex aspects or for easier sharing
dspace
modules java (Custom java source code)
my-module
resources
src
aspects
main
MyAspect
java
sitemap.xmap
resources
pom.xml
56. Aspect via a new Maven module
dspace Very simple example of a valid pom.xml
modules <project>
<groupId>edu.myu.modules</groupId>
<artifactId>my-aspect</artifactId>
my-module <packaging>jar</packaging>
<name>My Aspect’s API</name>
src <version>1.0-SNAPSHOT</version>
<dependencies>…</dependencies>
</project>
main
java
resources
pom.xml
More pom.xml details:
http://cocoon.apache.org/
57. Add new Module as a Dependency
dspace Add it to /dspace/modules/pom.xml
so it is built alongside other modules
modules
<project>
…
my-module <modules>
…
<module>my-module</module>
</modules>
…. </project>
pom.xml Also add it as a <dependency> in pom.xml
of UI modules (XMLUI, JSPUI, etc)
Rebuild DSpace for changes to take effect
58. Simple Aspect via Overlay
• Modify Breadcrumb Trail to link to our Library’s
Homepage
• Do this at the “aspect” level so that it will apply
across all of our XMLUI Themes
• No Java…just XSLT
Credit: Conal Tuohy, New Zealand Electronic Text Centre
59. Review: Simple Aspect via overlay
dspace XSLT-only Aspect, so everything will go in
/src/main/resources
modules
xmlui
resources
src
aspects
main
MyAspect
java
sitemap.xmap
resources
My-aspect.xsl
webapp
62. Enable your new aspect…
[dspace.dir]
…
config <aspects>
…
xmlui.xconf <aspect name=“Trail”
path=“resource://aspects/Trail/”/>
</aspects>
…
Restart DSpace for changes to take effect
66. DSpace Resources
DSpace System Docs (/dspace/docs/)
DSpace Wiki: http://wiki.dspace.org
http://wiki.dspace.org/index.php/DspaceResources
http://wiki.dspace.org/index.php/Category:HOWTO
Dspace Training Materials
www.dspace.org > Resources > Training Materials
Mailing Lists
dspace-general : general announcements, q & a
dspace-tech : weird errors? upgrade issues?
dspace-devel : where the developers are…
67. Useful DSpace / XMLUI Tutorials
“The DSpace Course” (Stuart Lewis & Chris Yates):
http://hdl.handle.net/2160/615
(Also linked to from www.dspace.org under “Training Materials”)
“Learning to Use Manakin” Tutorial (Scott Phillips):
http://di.tamu.edu/publications/resources/dsug07/LearningToUseManakin.pdf
http://di.tamu.edu/publications/resources/dsug07/LearningToUseManakin.zip
(Also linked to from www.dspace.org under “Training Materials”)
68. How you can help…
Help test : DSpace Testathon before new releases
Report bugs / Request new features : Add to
bug/feature list on Jira
http://jira.dspace.org/
Help others, just like you : Answer questions on
dspace-general or dspace-tech lists
Tec h-savvy? Fix bugs or add functionality :
Announce your work on dspace-tech
http://wiki.dspace.org/index.php/Guide_to_Developing_with_DSpace
69. Contact Info
Tim Donohue
(Before Nov. 2009) (As of Nov. 2009)
University of Illinois DuraSpace
http://ideals.illinois.edu/ tdonohue@duraspace.org
DSpace Mailing Lists
Technical Questions:
dspace-tech@lists.sourceforge.net
Development Questions / Suggestions:
dspace-devel@lists.sourceforge.net
This work is licensed under a Creative Commons Attribution-
Noncommercial-Share Alike 3.0 United States License.