Jump to content

PHP-Smarty Caching Database Templates


jimmy_B

Recommended Posts

Hi,

I have one query and I hope you people can solve it. Problem is related to Smarty Caching Database Templates..

Most popular web applications and forums like IPB (invision power board) and vbulletin now a days store there all templates to database in the form of template bits (means in small portions like login form in one table row, lost password form in second row and so on).

And through Admin panel if someone wants to edit then web applications offers only little part of the code to edit in a very clean way means only login form not rest part of the webpage. These type of web applications basically store there all templates in database & create it's cache in some directory and when someone view the forum or site they pick the cache data display it.

But they export/import all the database templates in XML format.

Now I want to know is there any good & detail tutorial through which I can know how to store especially smarty templates in database and then create it's cache in some dir and also export/import templates in XML format. Also be able to re create a particular portion cache when I modify the template in table.

I have searched Smarty Forum http://www.phpinsider.com/smarty-forum/ but didn't get anything more useful !

Hope you people try to solve the problem.

Link to comment
https://forums.phpfreaks.com/topic/32061-php-smarty-caching-database-templates/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.