Search:

Apache » Lenya
project logo
  • Project
  • Developer
  • Community
  • Version 2.0
  • Version 1.2
  • Version 1.2
    • Installation
      • Download
      • Subversion Access
      • Install Instructions
    • Tutorial
      • Introduction
      • 1. Understanding Lenya
      • 2. Installing Lenya
      • 3. Anatomy of the Pipeline
      • 4. Editing in Lenya
      • 5. Custom Navigation in Lenya
      • 6a. Mod Proxy and Lenya
      • 6b. Mod Proxy and Lenya
    • How-To
      • FAQ
      • New Publication
      • Deploy Publication
      • Look and Feel
      • Custom Resource Type
      • Adding Mime Types
      • Site Navigation
      • LDAP Authentication
      • CMS Menus
      • CMS Screens
      • Search Publications
      • External Data
      • Unit Tests
    • Components
      • Access Control
        • Basic Terms
        • Access Controllers
        • Access Controller Resolvers
        • Authenticators
        • Authorizers
        • Policies and Policy Managers
        • Accreditable Managers
        • SSL Encryption
      • Authoring
        • Adding a new document creator
        • Image Upload
        • OpenOffice
      • Deployment
        • Proxying
      • Editors
        • HTML Form Editor
        • HTML One Form Editor
        • Bitflux Editor
        • Kupu
        • Xopus
      • Layout
        • Navigation
        • XHTML templating
        • Serving static resources
        • Lenya Menubar
      • Publication
        • PageEnvelopeModule
        • Site tree
      • Resource Types
        • Resource Types
      • Revision Control
        • Revision Controller
        • RCML
        • Check In
        • Check Out
        • Revisions
        • Rollback
      • Repository
        • WebDAV Servers
      • Search
        • Searching with Lucene
      • URI Handling
        • URI Parametrizer
        • URI Scheme
        • Usecases
      • Asset Management
        • Asset Management
      • Link Management
        • Link Management
      • Meta Data
        • Meta Data Handling
      • Multilingual Documents
        • Multilingual Document Handling
      • Tasks
        • The Task Concept
        • Defining Tasks
        • The TaskAction
        • Scheduling a Task
        • Included tasks
          • AntTask
          • DefaultFilePublisher
          • StaticHTMLExporter
          • MailTask
        • Developing Tasks
      • Workflow
        • Terms
        • The State Machine
        • Configuration
        • Implementation
      • Site Management
        • Archive
        • Copy
        • Deactivate
        • Delete
        • Delete the trash
        • Move
        • Move Up/Down
        • Rename
        • Restore
    • Miscellaneous
      • Namespaces
      • Reserved Names
      • XInclude Processor
    • 1.2 API (Javadoc)

Current Event

Built with Apache Lenya

URI Scheme

Table of Contents
  • Introduction
    • Dynamic URIs
    • Static URIs
  • URI definition
  • Static URIs
  • Dynamic URIs

Introduction

We want to standardize CMS functionality across different publications so that we can consolidate them in a standard root sitemap.

In order to achieve this one precondition is to standardize on the URIs how the CMS functionality is invoked.

There are different ways to achieve this. We either reserve part of the URI space (e.g. /lenya/foo) or we reserve part of the request parameter space (e.g. /foo?lenya=bar)

Dynamic URIs

We decided to go mostly for the second solution so that we can leave the URI space as required by the publication and use request parameters to invoke CMS actions.

We define two standard request parameters which we use to invoke all CMS actions in a standard way:

lenya.usecase
The name of the use case, e.g. "publish"
lenya.step
Each use case can have multiple steps, e.g. "showscreen"

For further information about usecases, see section Usecases.

Static URIs

There are also some static URIs that are needed for the Lenya CMS. They are mostly internal pipelines for resources such as the menu, css or support files for Xopus and Bitflux editors.

There is currently no consistent standard as to under which URI space these resources should be located. Some are residing in /xopus/** or /bitflux/** and others are in /lenya/**.

URI definition

Given the URI /lenya/computerworld/authoring/news/foo.html we define the following parts:

URI fragment Name
lenya context-prefix
computerworld publication-id
authoring area
news/foo document-id

Static URIs

Currently different fragments of the URI space are reserved (e.g. /xopus/**, /bitflux/** and everything under /lenya/** that hasn't been defined previously).

fixme (author: ce)

The reserved URI space needs to be consolidated and standardized.

Dynamic URIs

The dynamic URIs that are used for usecases are explained in the section Usecases.

Copyright © 1999-2011 The Apache Software Foundation. All rights reserved.

Apache Lenya, Apache, and the Apache feather logo are trademarks of The Apache Software Foundation.