
Lenya
Lenya: Detailed technical description
π Release date
The Lenya project began in 1999 under the impetus of Michael Wechner . In 2000, Michael founded Wyona , which continued the development of Lenya. In 2000, it was known as XPS (Extensible Publishing System), hosted on wyona.org, which was renamed WyonaCMS in 2002. In 2003, Wyona sold Lenya to the Apache Software Foundation , where the project continued to grow, becoming a prominent project since September 2004. The project was officially completed and retired to Apache Attic in 2015 . The name Lenya is made up of the first names of Michael Wechner's two children: Levi and Vanya .
π License
Apache Lenya is distributed under the terms of the Apache Software License , a license of the BSD family, and contains software compatible with the BSD license style. It is therefore open source software, freely usable, modifiable and redistributable, including for commercial purposes.
π» Programming language
Apache Lenya is an open-source content management system based on Java . It is based on open standards such as XML and XSLT . The content is stored entirely as flat XML files on the server, with no relational database required. Presentation transformations are performed by XSLT , and validation schemas by RELAX NG and XML Schema (XSD). .
ποΈ Architecture
- architecture Java/XML built on Apache Cocoon as the core component β all Cocoon components can be used to develop custom functionality.
- concept "Publishing" : Allows for the reuse of a site's information architecture and provides modularity in content β different publications can share content and business logic.
- architecture Multi-platform : 100% developed in Java, compatible with major web browsers and major operating systems.
- Clear separation between content and presentation thanks to XHTML+CSS templates , without the need to learn another templating language.
π Database
The foundation of Lenya is XML-based XML : there's no backend database to manage the content β everything is stored as flat XML files on the server. Lenya can, however, connect to external databases if necessary. Supported systems include:
- XML files (native storage by default)
- MySQL , PostgreSQL , Oracle (via JDBC connection for application data)
- Metadata managed according to the Dublin Core
βοΈ Key features
β
Built-in WYSIWYG editors : BXE and Kupu browser editors natively provided, with input validation against a RELAX NG schema, preventing invalid markup. Resource and link management is built into editors.
β
Revision control : Each change to a page creates a new revision, allowing you to revert to any previous version. Pages that are being edited are automatically locked for other users.
β
Multi-site management : Multiple sites (publications) can share content and business logic β new publications can be created by cloning.
β
Native multilingual : Pages can be created in multiple languages without impacting the site structure. Lenya automatically displays the page in the default language if it is not available in a specific language. The interface is localized in Spanish, Italian, French, German, English, Dutch, and Japanese.
β
Built-in search engine : Apache Lenya integrates with Apache Lucene to perform phrase-based text searchesβa high-performance, full-text search engine written entirely in Java.
β
Task Scheduler : Workflow events such as publishing or deactivating a page can be scheduled over time.
π₯ Advanced features
π Customizable workflow engine : Lenya includes a customizable workflow engine that uses a simple XML format to define workflows. Standard one- and two-step workflows are included, with email notification of pending approvals.
π Separate work areas : Separate spaces for authoring, staging, and live production are supported.
π Full access to the Apache Cocoon ecosystem : If native features are insufficient, access to all Apache Cocoon components allows for the development of custom extensions.
π Automatic navigation : The navigation framework automatically creates navigation elements such as menus, breadcrumbs, and tabs.
π¦ Advanced Asset Management : Asset management allows you to keep track of the images and documents associated with a page. Each page has tabs for easy access to metadata, resources, workflow status, reviews, access control, and scheduling.
π‘ Clean URLs : Lenya generates clean URLs without query parameters, making sites optimally accessible to search engines.
π Security
πΉ Granular Access Control (ACL): The access control mechanism allows access to certain parts of the site to be restricted to members of a group or individuals. Access can be restricted by function: view, edit, approve, or administer.
πΉ LDAP authentication : Users can be authenticated against an LDAP server ; access can also be controlled by IP address ranges.
πΉ Selective SSL support : Every page or part of the site can be protected by SSL . It is possible to protect only the parts of the site that need it, for optimal performance.
πΉ Full audit trail : All workflow steps are logged, providing a complete history of changes (change auditing).
πΉ Unit Testing : Lenya uses unit testing to detect regressions in code.
β Pros and cons
β Benefits
βοΈ Open Standard and XML Architecture : Content stored in pure XML, avoiding vendor lock-in and ensuring full interoperability with XML/XSLT tools in the Apache ecosystem.
βοΈ Advanced Workflow Management : Configurable workflow engine in XML, with approval management, planning, and audit trail β ideal for organizations with complex editorial processes.
βοΈ Built-in version control : Full revision historization with the ability to rewind, without third-party tools.
βοΈ Apache ecosystem membership : Leverages the robustness, documentation, and reusable components of the Apache Foundation (Cocoon, Lucene, Tomcat).
βοΈ Cross-platform : Lenya can run on virtually any UNIX/Linux server, and even Microsoft Windows.
β Cons
β Project abandoned since 2015 : The Lenya project was reprocessed to Apache Attic in April 2015 β no security updates, evolutions, or active community support since then.
β Complex installation : Unlike other CMSs that have a one-click installation, installing Lenya requires the use of Ant and compiling Lenya as well as Cocoon.
β Very high learning curve : Mastery of Apache Cocoon and its pipelines is essential to expanding the platformβa particularly long learning curve that causes many users to abandon quickly.
β Hard to find hosting : It's hard to find a web host that offers Lenya β you usually need to have your own server.
β Clean URLs that are difficult to configure : Obtaining clean URLs requires advanced configuration of the Apache server, which is more complex than usual.
π Official website
π https://lenya.apache.org (project archived at Apache Attic since April 2015: https://attic.apache.org )


