From: Andreas A. <a.a...@th...> - 2001-08-18 10:41:59
|
Hi Alex, > I'll add a 'database' flag to the init array, and a method to > init to import QueryManager. If you did not already do this. Just wait a bit I've added this already just bevore starting to lift the qm code ":) <page> <init> <database>true</database> </init> <!-- extra <source>hook</source> // hook in datasources <mcrpyt>true</mrcypt> // import metabase mcrypt stuff <manage>false</manage> // import metabase manager classes </database> </page> > > So QueryManager will become a global like $Lang and not a > > aggregated-as-needed class. > Yes... though I am not married to that at the moment, I think > it's probably best. I also think thats best for now. Querymanager does have the capability to load stored queries so there is no real need to have more than one instance of it loaded, I guess. So you define, e.g. in page or entity manager, which queries you need for this pagerender/operation/ety e.g. in page: <database> <queries> <name_of_query>path.to.query</name_of_query) </queries> </database> or something like that. [metabase] > I've cc'd manuel on this, see what he says :) Cool. Andi |