You are here: Re: Smarty Templates from Database « PHP Programming Language « IT news, forums, messages
Re: Smarty Templates from Database

Posted by pritaeas on 10/16/86 12:00

"Bruno Rafael Moreira de Barros" <brunormbarros@gmail.com> wrote in message
news:1d4f374d-5e28-415c-b2d2-2a6a1ede3dd2@l1g2000hsa.googlegroups.com...
> Smarty, on the readme, says it is able to get template from arbitrary
> sources, file system or database. I have seen $default_resource_type
> and it can be file: or db:...
>
> After searching the documentation, I found:
>
> http://www.smarty.net/manual/en/template.resources.php
>
> But then, where is it cached and compiled? Is there a way to run
> Smarty 100% from the database?

If you also want to cache to the database:
http://www.smarty.net/manual/en/section.template.cache.handler.func.php

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация