|
Posted by Marcus Bointon on 09/09/05 03:15
On 9 Sep 2005, at 00:47, boots wrote:
> No path? How do you retrieve your templates? No matter -- you don't
> literally need to store a path and further, the "path" needn't even
> look like a file path -- you can parse out the name passed to the
> resource anyway you see fit and from that develop a query to match
> your
> db backend.
So smarty is not worried about what the name looks like - as long as
I can concoct something that's unique to that template and preferably
filename-friendly, smarty will generate local cache files using it.
> No -- Smarty exclusively uses the filesystem for compiled templates
> (and cached template views).
ok, that wasn't clear before.
> It sounds like you might need to rethink some of your implementation
> but I think the benefits would make it worth your while.
Without a doubt - I'd always thought my existing approach was a bit
crap - it does work though ;^)
Thanks,
Marcus
--
Marcus Bointon
Synchromedia Limited: Putting you in the picture
marcus@synchromedia.co.uk | http://www.synchromedia.co.uk
Navigation:
[Reply to this message]
|