News Feed
Jobs Feed
Sections




News Archive
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

Paul Jones' Blog: The Stenhouse CSS Framework and Solar

PHPBuilder.com: Developing a Ajax-driven Shopping Cart with PHP and Prototype, Part 2

DevShed: Introducing Visitor Objects in PHP 5

DevArticles: Building an AJAX-Based Chat - Interacting With a Database

PHPMaster.com: Baking Cookies in PHP


Community Events











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


application code community release conference introduction example development zendframework2 framework opinion series tool language interview podcast phpunit testing functional unittest

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