[PEPr] Comment on HTML::Template_Savant

From: Date: Wed, 02 Jun 2004 12:40:17 +0000
Subject: [PEPr] Comment on HTML::Template_Savant
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-29864@lists.php.net to get a copy of this message
Alan Knowles (http://pear.php.net/user/alan_k) has commented on the proposal for HTML::Template_Savant. Comment: have a look at the modified test files: http://devel.akbkhome.com/svn/index.php/akpear/Savant_tests/ 1-4 work ok. (See comments for changes) 5 - relates to filters, I'm not sure that it's the job of the template engine really.. - still needs some thought.. 6 - paths are not relivant, that is done in flexy by setting options['templateDir'] to an array. and/or using multiSource (for themes) There where quite a few modifications * plugins are now single files with many methods - as the base (although the old style still works) * plugins dont send the template engine in the method (it's avaialbe as a class var anyway) * getTokens is flexy->assign->variables * ->plugin returns only, you have to echo it.. it seemed pointless bloating the API just to provide a echo on it. Proposal information: http://pear.php.net/pepr/pepr-proposal-show.php?id=83 -- Sent by PEPr, the automatic proposal system at http://pear.php.net

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