Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

RE: [SMARTY] caching files and sessions
Well, Ive upgraded to the latest version and checked values such as
$force_compile and everything seems to be working now. Thanks to everyone
for the pointers and information


To answer this question that was posed...
' Why do you use a template framework to cache of large DB queries? Why not
use for example http://pear.php.net/package/Cache'


I needed a template engine for the site and smarty seemed right because of
its flexability, power and rich features, the caching came as a bit of a
bonus at first but doe to the nature of most of the pages on the site ive
created (site  visitor analysis reports) the caching will become a god send
as it saves the db servers from taking a hit every time a client runs a
report for a historic period, at present some reports can take upto 5
minutes to generate (MySQL) the caching is great as many users on an account
will want to view these reports at separate times, caching them saves my db
servers and also presents the reports in less than 1 second, as opposed to 5
minutes!


Cheers
Ash

-----Original Message-----
From: Monte Ohrt [mailto:monte@newdigitalgroup.com]
Sent: 18 April 2005 20:26
To: Yuri Weseman
Cc: ash@mtracking.com; smarty-general@lists.php.net
Subject: Re: [SMARTY] caching files and sessions

Smarty uses built-in caching features handle things such as leaving some
components uncached and handling caches by group. You can also use third
party cache solutions as an all-inclusive page cache (which would avoid
loading smarty/application libs altogether) if you wish.

Yuri Weseman wrote:

>Just wondering... Why do you use a template framework to cache of large DB
>queries? Why not use for example http://pear.php.net/package/Cache
>
>Greetings,
>
>Yuri
>
>
>
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
Ashley Etchell :: Mtracking
04-19-05 01:59 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Smarty Templates archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 07:17 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.