News Feed
Jobs 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

C7Y: Reflections on Designing an IRC Bot in PHP, Part 1

PHPMac.com: Building and Installing Apache 2.2.2 and PHP 5.1.3 (or 5.1.4) on Mac OS X 10.4.6

Brian Cline's Blog: Installing PHPUnit on WAMPServer

PHPBuilder.com: PHP and Shell Scripting: Using Pipes

Duckout Blog: Do Funny Stuff with the Google Charts API and PHP


Community Events











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


framework application package composer symfony2 install unittest component release facebook introduction podcast security hhvm hack database series language performance opinion

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