Re: Play nice! Re: Savant/Flexy/Foo template engines

From: Date: Thu, 10 Jun 2004 16:06:05 +0000
Subject: Re: Play nice! Re: Savant/Flexy/Foo template engines
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-30404@lists.php.net to get a copy of this message
On Jun 10, 2004, at 10:33 AM, Alan Knowles wrote:
        require_once 'HTML/Template/Compiler.php';
        // factory - check if we need to compile!
        $compiler = HTML_Template_Compiler::factory($this);
        if (!is_a($compiler,'HTML_Template_Compiler')) {
            return $compiler;
        }
        return $compiler->compile();
        */
        // PMJ says:  the base class should just return a pointer to  the template.
        // extended classes can do whatever necessary maipulations to  find
        // the template.
There Are no extended classes!!!??? - the only reasons to extend it are to write BC wrappers.. ?
Well, yes -- I thought that was the point. Minimalist base, wrappers for specialized functionality. Maybe I'm not getting it; I thought that was the agreed procedure, in reference to the Jausions template outline. -- Paul M. Jones Savant: the simple alternative to Smarty for PHP. http://phpsavant.com/ DB_Table: build RDBMS tables and XHTML forms in one PHP class. http://wiki.ciaweb.net/yawiki/index.php?area=DB_Table Yawiki: your collaborative online documentation system. http://yawiki.com/ Yawp: a single-file foundation for PHP applications. http://phpyawp.com/

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