Re: [SMARTY] Suggestion for template resources
| From: | Peter Bowyer | Date: | Tue, 06 Aug 2002 14:16:19 +0000 |
| Subject: | Re: [SMARTY] Suggestion for template resources | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-5604@lists.php.net to get a copy of this message | ||
At 14:27 06/08/02 +0200, you wrote:
That's why I would prefer the convention "<resourcename>://<filepath>", eg. "db://path/to/template" - similar to PEAR DB datasource names and internet protocols. What do you think about that?More typing for no benefit :-) Getting off-topic here... I actually don't see the reason for it in PEAR::DB as it adds unnecessary overhead (extra parsing - I have to create the dsn for the script to immediately pull apart again) - simpler just to pass an array of the items. Of course, this has absolutely no relevance to Smarty so I'll shut up now :-) Peter -- Maple Design - quality web design and programming http://www.mapledesign.co.uk