From: grok Date: Sat, 13 Aug 2005 15:21:36 +0000 (+0000) Subject: working on doc X-Git-Tag: LATEST_MERGED_1_1~113 X-Git-Url: http://erislabs.net/gitweb/?p=mir.git;a=commitdiff_plain;h=0a6cf77e25b805a67151fc8708c0e9421b03d347 working on doc --- diff --git a/doc/developers-guide/introduction.xml b/doc/developers-guide/introduction.xml index d3d2a618..9fcab14e 100755 --- a/doc/developers-guide/introduction.xml +++ b/doc/developers-guide/introduction.xml @@ -85,8 +85,7 @@ feeds for the global wire. In the admin web interface, producers appear, for example, on the admin->"Generate manually"->"advanced page": (they are called Tasks) -Further information on producers may be found at XXX and in the javadoc -(classes Producer, NodedProducer, roducerNode...). +More information on producers is available in . @@ -169,7 +168,10 @@ Filters may be organized into groups for easier management. generator -A generator is an abstraction for a template engine. +A generator is an abstraction for a template (html template). +Calling the generator's generate(outputFileWriter,keyValuePairs) method +will run the template engine on the template file +and write an output html file. Different template engines are supported right now: freemarker @@ -205,14 +207,15 @@ and these packages will probably be reorganized in future releases. - + bundles -Bundles are key/value pairs in a text file, used for configuration -and internationalization. -Bundles may be used to create a template for multiple languages. The -language dependent aspects are stored in a properties file. +A Bundle represents a set key/value pairs stored in a ".properties" +text file. Bundles are used for internationalization (language +translations) and for configuration files (config.properties and +source/default.properties). +Bundles may be used to create a template for multiple languages. @@ -264,8 +267,6 @@ The do argument determines the method's name. So http://somehost.org/mir/servlet/Mir?module=Comment&do=list will call ServletModuleComment.list(). - - @@ -277,7 +278,22 @@ will call ServletModuleComment.list(). The media framework is quite old and will be thoroughly changed in a future release. - + + + + + + configuration + + +Mir is configured through the +etc/config.properties file, which +overrides default values in +the +source/default.properties file. +The key/value pairs are handled by +bundles. + diff --git a/doc/developers-guide/producers.xml b/doc/developers-guide/producers.xml index d3b15a31..61d5ecde 100755 --- a/doc/developers-guide/producers.xml +++ b/doc/developers-guide/producers.xml @@ -1,4 +1,4 @@ - + The producer framework Please read the presentation of the producers concept for an introduction. @@ -142,6 +142,8 @@ and the <producer name="articles"> node. + Expressions + @@ -166,6 +168,7 @@ is declared outside producer definitions.
a string literal 'hello'
a numeric literal 2138
+ Reference for producer node types and statements
Name Set
Purpose Alter a variable's using a free expression