cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@outerthought.org
Subject [WIKI-UPDATE] Lenya1.2 Modules Mfonsen HowTos People The+Pyramid+Model ForrestProposal Fri Oct 24 10:00:10 2003
Date Fri, 24 Oct 2003 08:00:10 GMT
Page: http://wiki.cocoondev.org/Wiki.jsp?page=Lenya1.2 , version: 2 on Fri Oct 24 09:01:38
2003 by AndreasHartmann

- !!Lenya 1.2 Release Planning
+ !!!Lenya 1.2 Release Planning
? +

- !Open Issues
+ !!Open Issues
? +

- *update default publication
+ !Default Publication
+ *configure BXE properly
+ *add RNG schema for simple doctype
+ *how about replacing the simple doctype by Forrest document-v1.2? Is there a RNG schema
for document-v1.2?
+ 
+ 


Page: http://wiki.cocoondev.org/Wiki.jsp?page=Modules , version: 1 on Fri Oct 24 08:05:57
2003 by Mfonsen

New page created:
+ !!!for beginners
+ 
+ __Status of this document is draft.__
+ 
+ There are three types of [Modules|http://cocoon.apache.org/2.1/userdocs/concepts/modules.html]:
[InputModules], OutputModules and DatabaseModules. Modules are introduced and configured in
the cocoon.xconf. The documentation for the latter two is not easy to understand, so here's
some newbie information on those.
+ 
+ While developing any Cocoon application, [set log level to debug in web.xml|http://cocoon.apache.org/2.1/faq/faq-configure-c2.html]
to see all relevant messages. Otherwise it can be very frustrating to develop without any
output from Cocoon.
+ 
+ Please insert any comments you have on this subject or move useful parts of this document
to the other more relevant docs.
+ 
+ !!Input Modules
+ Input modules can be used in various places, including the sitemap. These are well documented
in [InputModules|InputModules] and [Cocoon documentation|http://cocoon.apache.org/2.1/userdocs/concepts/modules.html].
There are good examples in the Cocoon distribution (samples > Input Modules).
+ 
+ !!Output Modules
+ The name would suggest that you could use these modules as easily as you can use input modules.
This is not the case however as you can't use these directly from the sitemap. You need to
have an action or some other Avalon component to achieve this. 
+ 
+ The most common use case for these seems to be to return values trough attributes to the
sitemap from [Modular Database Actions|ModularDatabaseActions] as they can be read easily
elsewhere with Input Modules. There's also an example in the Cocoon distribution in samples
> blocks > databases.
+ 
+ There are also some other actions where you can use these, see [this email|http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=106693686221737&w=2]
for more information.
+ 
+ !!Database Modules (AutoIncrementModules)
+ Database modules are used in [Modular Database Actions|ModularDatabaseActions], and cannot
be used directly. These modules actually take care of autoincrement columns for different
database systems and are named therefore AutoIncrementModules. You need to select the correct
module for database or write a new one for your database system. See [Modules|http://cocoon.apache.org/2.1/userdocs/concepts/modules.html]
for more information.
+ 
+ The following example from cocoon.xconf specifies HSQL-compatible AutoIncrementModule:
+ 
+ {{{
+    <!-- =============== Database Modules ==================== -->
+ 	<autoincrement-modules>
+ 		<component-instance 
+ class="org.apache.cocoon.components.modules.database.HsqlIdentityAutoIncrementModule"
+ logger="core.modules.auto" name="auto"/>
+ <!--
+ Choose the one suitable for your DBMS. You *can* have more than one at a time, 
+ but they need to have different names. You then need to specify explicitly, 
+ which one to use in your descriptor file.
+ -->
+       <component-instance logger="core.modules.auto" 
+ name="auto" class="org.apache.cocoon.components.modules.database.ManualAutoIncrementModule"/>
+       <component-instance logger="core.modules.auto" 
+ name="auto" class="org.apache.cocoon.components.modules.database.IfxSerialAutoIncrementModule"/>
+       <component-instance logger="core.modules.auto" 
+ name="auto" class="org.apache.cocoon.components.modules.database.MysqlAutoIncrementModule"/>
+       <component-instance logger="core.modules.auto" 
+ name="auto" class="org.apache.cocoon.components.modules.database.PgsqlAutoIncrementModule"/>
+ -->
+ 	</autoincrement-modules>
+ }}}
+ 


Page: http://wiki.cocoondev.org/Wiki.jsp?page=Mfonsen , version: 1 on Fri Oct 24 07:10:07
2003 by Mfonsen

New page created:
+ See my homepage [http://iki.fi/mf/] for more information.
+ 


Page: http://wiki.cocoondev.org/Wiki.jsp?page=HowTos , version: 141 on Fri Oct 24 07:26:40
2003 by Mfonsen

+ 
+ * __[Modules]__ -- how to use modules (input, output and database) for Cocoon. For beginners
-- [Mfonsen]


Page: http://wiki.cocoondev.org/Wiki.jsp?page=People , version: 197 on Fri Oct 24 07:13:36
2003 by Mfonsen

+ * [Mika Fonsén|Mfonsen] -- Cocoon user, see [http://iki.fi/mf] for more information].


Page: http://wiki.cocoondev.org/Wiki.jsp?page=The+Pyramid+Model , version: 4 on Fri Oct 24
07:47:58 2003 by JoergHeinicke

+ [The Pyramid Model]
- 


Page: http://wiki.cocoondev.org/Wiki.jsp?page=ForrestProposal , version: 50 on Fri Oct 24
07:08:35 2003 by DavidCrossley

- ''__Note:__'' This document is not relevant anymore since Cocoon has its docs built by Forrest
''-- Vadim''
+ ''__Note:__'' Some parts of this document are not relevant anymore since Cocoon has its
docs built by Forrest. The problem areas are now the generation of the docs via the webapp.



Mime
View raw message