Re: CompileBL Scenario
| Newsgroups | gmane.comp.cms.xaraya.devel |
|---|---|
| Organization | Xaraya |
| Message-ID | <[email protected]> |
Jason wrote: > I think you are missing my point. The internal directory the compiler looks in > is (surely?) a configurable property of the compiler class, and so can be > overridden or extended in whatever environment the compiler is running in. The > compiler does not need to have any knowledge of the environment it is in - it is > simply *told* what to do and where to find stuff when it is loaded, even when it > is just told to look in its own default folders. Agree. The compiler needs to be told, rather than "has to know". One way of achieving this decoupling is as you say extending the compiler within Xaraya. I like that idea. Another would be feeding it say an XML configuration file. Another would be giving it instructions via its own database table (probably not so good). Any others? Marc