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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.