By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,247 Members | 1,250 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,247 IT Pros & Developers. It's quick & easy.

PHP-Smarty Caching Database Templates

P: 1

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 but didn't get anything more useful !

Hope you people try to solve the problem.
Dec 28 '06 #1
Share this Question
Share on Google+
1 Reply

Post your reply

Sign in to post your reply or Sign up for a free account.