FACTOID # 127: Australia has more than 28 times the land area of New Zealand, but its coastline is not even twice as long.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

Encyclopedia > 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. The framework focuses on XML and XSLT publishing and is built using the Java programming language. The flexibility afforded by relying heavily on XML allows rapid content publishing in a variety of formats including HTML, PDF, and WML. A powerful content management system, Apache Lenya, has been created on top of the framework. Cocoon is also commonly used as a data warehousing ETL tool or as middleware for transporting data between systems. In computer science, separation of concerns (SoC) is the process of breaking a program into distinct features that overlap in functionality as little as possible. ... The Extensible Markup Language (XML) is a W3C-recommended general-purpose markup language for creating special-purpose markup languages, capable of describing many different kinds of data. ... ... Java is an object-oriented programming language developed by James Gosling and colleagues at Sun Microsystems in the early 1990s. ... An excerpt of HTML code with syntax highlighting In computing, HyperText Markup Language (HTML) is a markup language designed for the creation of web pages with hypertext and other information to be displayed in a web browser. ... PDF is an abbreviation with several meanings: Portable Document Format Post-doctoral fellowship Probability density function There also is an electronic design automation company named PDF Solutions. ... Wireless Markup Language is the primary content format for devices that implement the WAP (Wireless Application Protocol) specification based on XML, such as mobile phones. ... A content management system (CMS) is a computer software system for organizing and facilitating collaborative creation of documents and other content. ... Apache Lenya is a Java/XML open-source content management system based on the Apache Cocoon content management framework. ... A data warehouse is a record of an enterprises past transactional and operational activities, stored in a database. ... ETL may stand for: Extract, transform, load, a data warehousing function ETL SEMKO (formerly Edison Testing Laboratory) This is a disambiguation page — a navigational aid which lists other pages that might otherwise share the same title. ... To meet Wikipedias quality standards, this article or section may require cleanup. ...

Contents


Sitemap

The sitemap is at the core of Cocoon. It's 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. Client/Server is a network application architecture which separates the client (usually the graphical user interface) from the server. ...


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. A Uniform Resource Locator, URL (spelled out as an acronym, not pronounced as earl), or Web address, is a standardized address name layout for resources (such as documents or images) on the Internet (or elsewhere). ... An HTTP cookie, or a Web cookie, is a parcel of text sent by a server to a web browser and then sent back unchanged by the browser each time it accesses that server. ... In playing card terms, a wild card is a card that can be assigned any value its holder desires. ... A regular expression (abbreviated as regexp or regex, with plural forms regexps, regexes, or regexen) is a string that describes or matches a set of strings, according to certain syntax rules. ...


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. In computing, the term stream is used in a number of ways, in all cases referring to a succession of data elements made available over time. ...


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). SQL (commonly expanded to Structured Query Language — see History for the terms derivation) is the most popular computer language used to create, modify, retrieve and manipulate data from relational database management systems. ...


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. An excerpt of HTML code with syntax highlighting In computing, HyperText Markup Language (HTML) is a markup language designed for the creation of web pages with hypertext and other information to be displayed in a web browser. ... The Extensible HyperText Markup Language, or XHTML, is a markup language that has the same expressive possibilities as HTML, but a stricter syntax. ... To meet Wikipedias quality standards, this article or section may require cleanup. ... The Rich Text Format (often abbreviated to RTF) is a document file format that has been continually developed by Microsoft since 1987 for cross-platform document interchange. ... Static image generated from an SVG example. ... Wireless Markup Language is the primary content format for devices that implement the WAP (Wireless Application Protocol) specification based on XML, such as mobile phones. ... Computer files can be divided into two broad categories: binary and text. ...


Selectors

Selectors offer the same capabilities as a switch statement. They are able to select particular elements of a request and choose the correct pipeline part to use.


Views

Views are mainly used for testing. A view is an exit point in a pipeline. You can put out the XML-Stream which is produced till this point. So you can see if the application is working right.


Readers

Publish content without parsing it (no XML processing). Used for images and such.


Actions

Are Java classes that execute some business logic.....


The Pipeline

The Pipeline is used to define how the different Cocoon components interact with different requests to produce a response. Ask can be used to refer: Amplitude-shift keying a telecommuncations term Ask and Embla about Norse Mythology Ask Jeeves A song by The Smiths. ... A response is the following: Often a response is the result of a stimulus. ...


See also

  • Reactor Pattern This is the design pattern that Cocoon is build on.
  • XSLT The XML language that Cocoon uses to store its tranformations.

The introduction to this article provides insufficient context for those unfamiliar with the subject matter. ... ...

External links


  Results from FactBites:
 
Apache Cocoon - Wikipedia, the free encyclopedia (455 words)
Apache Cocoon, often just called Cocoon, is a web development framework built around the concepts of separation of concerns and component-based web development.
Cocoon is also commonly used as a data warehousing ETL tool or as middleware for transporting data between systems.
The sitemap is at the core of Cocoon.
Apache Software Foundation - Wikipedia, the free encyclopedia (454 words)
The Apache Software Foundation (ASF) is a non-profit corporation (classified as 501(c)3 in the United States) to support Apache software projects, including the Apache HTTP Server.
The ASF was formed from the Apache Group and incorporated in Delaware, USA, in June, 1999.
The history of the Apache Software Foundation is linked to the Apache HTTP Server, the work on which started in 1994.
  More results at FactBites »

 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your location
Your comments
Please enter the 5-letter protection code


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.