Apache Cocoon

Apache Cocoon, often just called Cocoon, is a web development framework built around the concepts of separation of concerns and component-based web development.

Sitemap

The sitemap is at the core of Cocoon. Its here that the web site developer configures the different Cocoon components, and defines the Client/Server interactions in what Cocoon refers to as the Pipeline.

Components

The components within Cocoon are grouped by function.

Matchers

Matchers are used to match user requests such as URLs or cookies against wildcard or regular expression patterns. Each user request is sent through the pipeline until a match is made. It is from here that a particular request is processed.

Generators

Generators create a stream of data for further processing. This stream can be generated from an existing XML document or there are generators that can create XML from scratch to represent something on the server, such as a directory structure or image data.

Transformers

Transformers take a stream of data and change them in some way. The most common transformations are performed with XSLT to change one xml format into another. But there are also transformers that take other forms of data (SQL for example).

Serializers

A serializer takes a data stream, makes any required changes, and sends it to the client. There are serializers that allow you to send the data in many different formats including HTML, XHTML, PDF, RTF, SVG, WML and plain text, for example.

Selectors

Views

Readers

Actions

The Pipeline

The Pipeline is used to define how the different Cocoon components interact with different requests to produce a response.

External links

 

<< PreviousWord BrowserNext >>
chagatai khan
wyrzysk
documentum
munch
soviet submarine b 37
bac lieu
tony jarrett
apache lenya
matochkin strait
list of fictional institutions
kittens (band)
ethos
liberia, costa rica
chagatai
fraw bow
half time
maximilian
your mom
william dallinger
guy of warwick
commonwealth liberal party
yellow socialism
dub narcotic sound system
v disc
jacksonian professor of natural philosophy
greg foster
aleksei chirikov
engineering, procurement and construction
r. l. burnside
uzbeg khan
buildings at risk
tojimbo
captain clegg
bull creek, western australia
onegesius
wilde lake, columbia, maryland
mariana pfaelzer
heart lung transplant
trinidad stadion
buddah's witnesses
dragon (band)
doctor syn on the high seas
mottershead
geography of british indian ocean territory