News Feed
Sections




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

The Bakery:
Simple way to memcache (almost) all database queries
January 13, 2010 @ 13:20:56

On The Bakery (the CakePHP resource) there's a recent post looking at a simple way you can integrate database query caching (using memcache) into your CakePHP application's models.

Most common way to access data is a database. Most common way to speed this up - Memcached. As a quite young CakePHP developer I had a bit of headache "how to cache queries effectively?". Now I know the way, so I share.

Rafal's method, as seen in this example using the caching methods included with CakePHP to serialize and store the database queries out to a cache.

0 comments voice your opinion now!
simple cakephp framework database query tutorial memcache


blog comments powered by Disqus

Similar Posts

Chris Jones' Blog: Speeding up DBMS_OUTPUT in PHP OCI8

DevShed: PHP Programs to Prevent MySQL Injection or HTML Form Abuse

DevArticles: Learning AJAX

Zend Developer Zone: Case Study w/ Zend Core for IBM with DB2 9 - 10k Active DB Connections

IBM developerWorks: Understanding the Zend Framework, Part 3: The feeds


Community Events





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


opinion library community version release voicesoftheelephpant update symfony introduction laravel series framework podcast language composer tool interview install security package

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