Re: [issues] [binarycloud] #107: properties without a name in conf.xml
alex black <[email protected]>
| Newsgroups | gmane.comp.lib.binarycloud.devel |
|---|---|
| Message-ID | <[email protected]> |
see my comment: Why is this bad? It results in clean arrays without keys when converted to PHP. This is actually an excellent argument against moving to a database for conf (only) - because you don't necessarily want to have to reference each individual property with a key - sometimes you want an array. _a On Feb 25, 2005, at 1:13 PM, binarycloud wrote: > #107: properties without a name in conf.xml > -------------------- > +------------------------------------------------------- > Id: 107 | Status: new > Component: other | Modified: Fri Feb 25 21:13:55 2005 > Severity: normal | Milestone: > Priority: normal | Version: > Owner: | Reporter: wim > -------------------- > +------------------------------------------------------- > Somehow the dtd for conf.xml allows for defining properties with no > name. > > Examples: > 1. smarty.conf.xml > <section name="plugins_dir"> > <property type="raw">BC_PATH_BASE . > '/smarty/libs/plugins'</property> > <property type="raw">BC_PATH_BASE . '/smarty- > plugins'</property> > 2. debug.conf.xml > <section name="allowed_hosts"> > <property>*</property> > 3. Auth.conf.xml: > <section name="allperms_roles"> > <!-- > <property>roles.Admin</property> > --> > </section> > > <!-- The roles every user has implicitely. They cannot be > assigned to > a > user. --> > <section name="implicit_roles"> > <property>roles.Anonymous</property> > </section> > > -- > Ticket URL: <https://svn.binarycloud.com/trac/ticket/107> > binarycloud <http://svn.binarycloud.com/trac/> > binarycloud PHP development > framework_______________________________________________ > issues mailing list > issues-PnctHDZWAvB/Cz2I37pSEPZ4XP/[email protected] > http://lists.binarycloud.com/mailman/listinfo/issues > -- alex black, founder the turing studio, inc. 510.666.0074 [email protected] http://www.turingstudio.com 2600 10th street, suite 635 berkeley, ca 94710 _______________________________________________ dev mailing list dev-PnctHDZWAvB/Cz2I37pSEPZ4XP/[email protected] http://lists.binarycloud.com/mailman/listinfo/dev