How to use Memcache with PHP
Memcache with PHP Today I have new article for PHP. Last time I did post about Memcache with PHP . Today we will talking about caching in PHP again. I will show you how you can use Memcache in PHP . We will prepare useful class for working with Memcache for us and several examples. Memcache itself providing procedural and object oriented interface to memcached, highly effective caching daemon, which was especially designed to decrease database load in dynamic web applications. I don`t have online demo for today, just because haven`t installed Memcache at our hosting. But I will include samples of using our new library in this article too (as I did for our previous APC-related post). Also, pay attention that Memcache extension not bundled with PHP by default. This extension available in PECL. Step 1. PHP I made this useful class for you. We will use this class to working with memory using Memcache system. classes/memcache.caching.php oCache = new Memcache(...