RE: [PEAR-DEV] Package Proposal: HTML_Template_Dummy

From: Date: Sat, 19 Jul 2003 09:12:02 +0000
Subject: RE: [PEAR-DEV] Package Proposal: HTML_Template_Dummy
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-18422@lists.php.net to get a copy of this message
> From: Sebastian Roebke [mailto:php@sebastian-r.de] > Sent: Saturday, July 19, 2003 11:12 AM > ----- Original Message ----- > From: "Paul M Jones" <pjones@ciaweb.net> > > > Hi, Yavor, > > > > > I don't see the use of this class, it is too short to be usefull, > > > anyone needing such functionality could come up with it in a matter > of > > > minutes. > > > > True enough ... but part of the point is not the functionality itself, > > but the mindset (the method, if you will) that leads to using this > kind > > of class. > > This is definately interesting. If that is the case, a tutorial instead > of a concrete implementation could be enough, where your code is > provided as an example. > Even if your package will not make it into PEAR, you could think about > publishing an online-tutorial/article/whatever. Yes, definately > > This class proposes a different mindset: go back to basics. Use PHP > as > > the template language. Let a cache class do your caching. Scrap the > > whole "compiling" thing because that was just an outgrowth of the > > ever-increasing complexity of your prior attempt at a template engine. > > This class is not just about three main functions (or really just two) > > -- it's about a way-of-doing-things. > Does HTML as a top-level category fit here anyway? Yes since he has all sorts of HTML specific methods in there as well. Here you are actually beginning to blur the lines between simple and convenience. I really don't know the Xipe source code good enough (come on Wolfram, join the discussion), but I would think the coolest solution would be to take Xipe and make all the features that you would prefer to keep out if the template class optional through a plugin system. Btw: I now looked at the class, not at the examples though. Anyways I think I will now wait to hear from Wolfram before talking anymore about margining your ideas into Xipe. Regards, Lukas

« previous php.pear.dev (#18422) next »