cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@cocoon.zones.apache.org
Subject [DAISY] Created: Module Management
Date Tue, 16 Aug 2005 13:25:55 GMT
A new document has been created.

http://cocoon.zones.apache.org/daisy/documentation/669.html

Document ID: 669
Branch: main
Language: default
Name: Module Management
Document Type: Document
Created: 8/16/05 1:25:42 PM
Creator (owner): Helma
State: publish

Parts
=====

Content
-------
Mime type: text/xml
Size: 1454 bytes
Content:
<html>
<body>

<p>In addition to the application management feature, the framework offers a
facility called module management. It enhances the application management by
adding the possibility of configuring components for the application. For
example, the Cocoon portal engine needs information about the source of the
portal profile for the user, about where the layout is stored, etc. Each portal
needs this information. Assuming that a portal is an application each
application needs this information. As only the portal engine itself knows what
information it needs, the module management is a standarized way for configuring
such components.</p>

<p>The module configuration is part of the application configuration:</p>

<pre>&lt;autentication-manager&gt;
  &lt;handlers&gt;
    &lt;handler name="unique"&gt;
      ....redirect-to/authentication configuration
      &lt;applications&gt;  &lt;!-- the applications for this handler --&gt;
        &lt;application name="unique"&gt;
          ...
          &lt;configuration name="portal"&gt;
            ...portal configuration
          &lt;/configuration&gt;
        &lt;/application&gt;
      &lt;/applications&gt;
    &lt;/handler&gt;
  &lt;/handlers&gt;
&lt;/autentication-manager&gt;</pre>

<p>So whenever the portal engine is asked to build the portal it can easily
retrieve its configuration from the current application by getting the module
configuration named "portal".</p>

</body>
</html>

Collections
===========
The document belongs to the following collections: documentation

Mime
View raw message