RE: [PEAR] HTML_Template_Flexy and the need for SPEED

From: Date: Tue, 22 Jul 2003 23:50:58 +0000
Subject: RE: [PEAR] HTML_Template_Flexy and the need for SPEED
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-6741@lists.php.net to get a copy of this message
Stan, Sorry if this isnt really PEAR related :( but if you need a really fast php template solution have a look at: http://php-templates.sourceforge.net/ is a php module and is really fast, simple yet still pretty flexible. Be nice if it became a PECL module. Regards, Joseph > -----Original Message----- > From: Stan Lemon [mailto:insyder@myrealbox.com] > Sent: Tuesday, 22 July 2003 11:46 PM > To: pear-general@lists.php.net > Subject: [PEAR] HTML_Template_Flexy and the need for SPEED > > > I've been working on a CMS prog and it is evolving more and > more every > day. Anyhow, currently for my templates I have a table in the DB, I > pluck the info out of the DB and run regular expressions to replace > %keys% with content. I used to eval() everything that came > out of that > table so that the user could insert PHP code as needed but > there are SO > MANY security issues there I took it out, not to mention it > was slower > then mollasus. I've been lookg at HTML_Template_Flexy and I > think I've > convinced myself that this might help me, if not in anything else but > the fact I can use some code rather then HTML to produce what I need. > Plus there's the whole idea that when I want to change the > template (and > I usually do so first on my HD - defeats the purpose of a > CMS, I know) > the upload would be easier. I think in general the development of a > template would be easier. > > The question, now that I've babeled... For those of you that use > HTML_Template_Flexy, how is speed? Does it slow you down, > speed you up, > how is it in comparison to other Template packages, and other ways of > handeling templates in general? My biggest issue with my > prog, at this > point is speed, and I want to make sure that this change is going to > help me out in the long run. > > Also, I've seen and working with the example on the web, but > does anyone > have any examples which are a bit more complicated? > > Thanks, > - Stan > > > -- > PEAR General Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.pear.general (#6741) next »