Re: Variables.class

Mike Gifford <[email protected]> 29 Jul 2003 12:13:27 -0400
Newsgroups gmane.comp.cms.phpslash.devel
Organization OpenConcept Consulting http://www.openconcept.ca
Message-ID <[email protected]>
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




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01