#834: Redesign module.xml completely to allow arbitrary settings
--------------------+-------------------------------------------------------
 Reporter:  david   |       Owner:  david
     Type:  task    |      Status:  new  
 Priority:  high    |   Milestone:  1.0  
Component:  config  |     Version:       
 Severity:  minor   |    Keywords:       
Has_patch:  0       |  
--------------------+-------------------------------------------------------
 So it looks like this.
 {{{
 #!xml
 <ae:configurations
   xmlns="http://agavi.org/agavi/config/parts/module/1.0";
   xmlns:ae="http://agavi.org/agavi/config/global/envelope/1.0";
 >
   <ae:configuration>

     <module name="Default" enabled="false">

       <settings>
         <setting name="title">Default Agavi Sample App Module</setting>
         <setting name="version">1.0</setting>
         <setting name="authors">
           <ae:parameter name="[EMAIL PROTECTED]">Foo Bar</ae:parameter>
           <ae:parameter>Joe Cool</ae:parameter>
         </setting>
       </settings>

       <settings prefix="modules.${moduleName}.foo">
         <setting name="bar">baz</setting>
       </settings>

     </module>

   </ae:configuration>
 </ae:configurations>
 }}}

 BC can be maintained via XSL.

 Careful:
  * module name gets lowercased for the directives
  * {{{<author>}}} can have an "email" attribute right now
  * {{{enabled}}} should not be changeable once set

 Also a prerequisite for #668.

-- 
Ticket URL: <http://trac.agavi.org/ticket/834>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5


_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to