This document provides an overview of new features in Apache Lenya 1.4, including modularization, use of UUIDs for internal links, changes to the repository API, configurable meta data, publication templating, and the introduction of a usecase framework. Key points include improved separation of concerns through modularization, more efficient linking using UUIDs instead of URLs, a more queryable metadata model, inheritance and overriding of publication resources using templating, and a standardized way to declare interactive use cases in Lenya.
5. Modularization
Module
Module
Editor X ...
Resource Type A
Integration Code
Foo Service API
Module
Module
Alternative ...
Foo Impl
Default Foo Impl
API
Core
Impl
5
15. Advantages of UUIDs
• Separation of Concerns: No duplication of URL
information (sitetree and document path)
• No need to copy/move files when URLs change
• No need for link rewriting when URLs change
• Multiple views (URL spaces) for document space
• Document collections can be combined (import)
15
30. Chemistry
Math
Science
Physics
Biology
University
English
French
Spanish
Languages
Italian
30
31. Overriding Resources
@import ...
University
XSLT A XSLT B main.css head.css
Science
XSLT A XSLT B' main.css head.css
Physics
XSLT A XSLT B'' main.css head.css
<xsl:import>
31
35. Usecases
• User interaction
• Typically form-based
• Edit and manage content
• Interact with other applications (newsletter)
• Functionality for website visitors (contact form)
• ...
• Triggered using a request parameter (lenya.usecase)
• Full screen or document-based
35
36. continuation
Form Form
! !
Template Template
View
Sitemap + Flowscript
Controller
!
Usecase Handler
vali-
dation
Documents, ... Documents, ...
Model
36