- Anglais uniquement
Models and Environments for Document-based Interaction and Authoring MEDIA
OPPIDUM: a lightweight framework for developing XML-based Web applications
Oppidum provides developers with a simple application model that allows them to rapidly and efficiently deploy a RESTful application; it relies on a few fundamental principles:
- The application must be entirely defined in terms of actions on resources;
Each action is defined declaratively in a mapping file as a sequential
pipeline composed of three steps :
- The first step, called the model, is always an XQuery script;
- The second step, called the view, is always an XSLT transformation;
- The third step, called the epilogue (aiming at factorizing content visible on several pages of an application) is always an XQuery script.
- A pipeline may have only the first step, the first and second steps, the first and third steps, or the three steps.
It is always possible to extend a pipeline by invoking one or more XSLT transformations from XQuery in the first and the third steps.
The following figure illustrates the basic OPPIDUM principles: an HTTP request is first parsed by OPPIDUM and, in a second time, the host environment executes the pipeline that generates the HTTP response.