Re: [SMARTY] Seperation of Logic and Presentation
| From: | Jochem Maas | Date: | Sat, 30 Jul 2005 20:09:55 +0000 |
| Subject: | Re: [SMARTY] Seperation of Logic and Presentation | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-12908@lists.php.net to get a copy of this message | ||
boots wrote:
Interesting. My solution (also a PHP5 class) is called SmartyDocInfo (although I think that SmartyDoc might be more appropriate) and works in a similar way except that I use some filter magic and have just two addins/api methods to inject content into the header. Again, I wanted to provide control to template users to be able to inject head directives rather than forcing that in code. Take a look at the wiki if you wish. I wouldn't mind seeing your code either if you want to mail it to me or post it somewhere.ok :-) give me a day or 2 to get to gether my latest stable version packaged in such a way that irrelevant (to Smarty) dependencies don't get in the way of you having a good look. once I have something invetigatable I post a link here. rgds, jochem ...