Re: [Phpslash-devel] Variables.class
Brought to you by:
joestewart,
nhruby
From: Mike G. <mi...@op...> - 2003-07-29 16:42:28
|
Howdy Joe, On Tue, 2003-07-29 at 04:57, Joe Stewart wrote: > > How much is this class being used? Just got a question about trying to > > extend this class to allow folks to add global template variables. > > That's beyond what this class does now from what I understand, but it's > > an interesting concept. > The Variable class is not used at all currently. 0.5.3 had many variables > in the db and had many queries to get them each page view. We worked hard > to move to html templates and defining what's needed in the config text > file. Right... > We discussed possibly using it again by loading variables from the db into > the session to reduce repeated access issues. This makes sense.. Would be nice to be able to turn modules on/off via the web interface and customize other variables through the interface.. But wow.. Has it been 0.5.3 since it was used that way? That was a heck of a long time ago.. Speaking of modules, how is the phpSlash modules code going? > I think providing some of the basic common placeholder values to the > template object when initiating it is a natural next step. We couldn't do > this till we had a slashTemplate class. Now, we should be able to set > things like rooturl, imageurl, etc. to be provided to all templates. Is someone working on a slashTemplate class? Mike -- Mike Gifford, OpenConcept Consulting Free Software for Social Change -> http://www.openconcept.ca Site Launch - Make Every Vote Count - http://www.fairvotecanada.org The cruelest lies are often told in silence. -- Robert L Stevenson |