News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Dhiraj Patra's Blog:
Caching PHP Programs with PEAR
August 07, 2008 @ 12:58:09

In a recent post to his blog Dhiraj Patra looks at the caching functionality that PEAR has to offer via the PEAR Cache package.

Caching is currently a hot topic in the PHP world. Because PHP produces dynamic web pages, scripts must be run and results must be calculated each time a web page is requested, regardless if the results are the same each time. In addition, PHP compiles the script every time it is requested. [...] PEAR's Cache package offers a framework for the caching of dynamic content, database queries, and PHP function calls.

He talks a bit about what kind of methods are included with the package and shows examples of how it works for function call caching, caching the output from the script execution and how to implement your own custom caching extension of the main code to make it even more flexible.

3 comments voice your opinion now!
pear cache tutorial function call output custom handler


blog comments powered by Disqus

Similar Posts

Ilia Alshanetsky's Blog: Filter Extension Revamped (and PHP 5.2 news)

David Coallier's Blog: PEAR is using jQuery et new features

Zend Developer Zone: Migrating applications from PHP 4 to Zend Core 2.5 w/support for IBM Informix

DevShed: Using the Xdebug Extension's xdebug_call_function() Function

Manfred Webber's Blog: PHP and Flex - Part III


Community Events

Don't see your event here?
Let us know!


framework interview extension introduction language laravel voicesoftheelephpant community laravel5 version api podcast release unittest series php7 opinion security development library

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework