Re: New Conf: Draft Proposal
"Wim Niemans ri" <[email protected]>
| Newsgroups | gmane.comp.lib.binarycloud.devel |
|---|---|
| Organization | Pb Solo |
| Message-ID | <42120455.16937.1601F14@localhost> |
On 15 Feb 2005 at 14:03, Manuel Holtgrewe wrote:
> Hi
>
> > I've posted an example on querying the headers of Project.conf.
> >
> > Well, the feature originates from assuming that Conf: contains (global)
> > Configuration variables only. But if we agree that Conf; is specific to a
> > base class, and configures the base class only, you may want to have the
> > alias feature discarded, instead.
> >
> > Another use comes from the whish to add applications to the framework,
> > without the need to redesign it completely.
> >
> > Another use would be in a possible ndfConf extension Class, loading Node
> > definitions on the fly. In this Class it would be called 'include'. But i
> > thought the name 'alias' more appropiate for Conf:.
>
> I think such things belong into code. I.e. you should get the Project's
> header settings in your PHP code, change them and then send the
> according headers.
So you would rather code obj->get('Project/headers') in stead of
obj->get('myDomain/headers').
That's fine. The code wouldn't be reusable if Project isn't used to
startup it all, unless that startup uses the conf of Project.
Cheers,
wim niemans