473,772 Members | 2,420 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Application Scope Implementation - PHP with Memcached

Hey guys,

Just wanted to ask your opinion - I just wrote up and released as Open
Source a class called AppCache. AppCache is an easy to use class
implementation of an Application scope in PHP, using Memcached as the
backend.

If any of you have any criticisms or concerns, (or hey, even a few
compliments), I'd appreciate it much. :)

You can check it out here:

http://lab.arc90.com/2007/06/appcache_for_php5.php

Thanks,

Umbrae.

Jun 20 '07 #1
0 1487

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2795
by: Little Twin Star | last post by:
Hello all A questions from 10,000ft: I'm looking to use memcached as a Cache::Cache. Looks like I'll need to wrap Cache::Memcached to conform to the Cache::Cache interface...? Has this been done somewhere (and I've missed it?)?
5
1992
by: Rich | last post by:
The following code produced a singleton object with application scope when it should have had page scope: public class Singleton { private static Singleton uniqueInstance = null; private Singleton() { } public static Singleton getInstance()
7
5636
by: =?Utf-8?B?Q2hyaXMgQ2Fw?= | last post by:
We are considering moving from using several seperate webservers to a web farm. I was lookingg at implementing a start server to manage state for the web farm. The problem is, how do we keep the Application object consistent between all web servers? As far as I read the state server only manages session state and not application state. I would like to avoid setting up our load balancer using sticky. What options do I have for...
3
1454
by: surfivor | last post by:
I understand that memcached can store objects on different servers using hashing, and I've seen typical things such as storing query results. Say at line 100 in module 'A', I want to render some content so I check the memcache. If previously I had rendered this from this same line of code and it's in the cache, then I use that. However, what if module B changed one of the records on the database and that was in the cache ? It must be up...
0
1225
by: Rico | last post by:
Memcached improves latency of site from 23 seconds to .23ms http://teenwag.com
1
4151
by: Gilles Ganault | last post by:
Hello I'd like to play with MemcacheD and see how it improves read access to data, but I'm a bit lost at how to get from a working Apache2 + PHP5 + MySQL5 server on FreeBSD 6.3. I've never used PECL and PEAR before, and they seem required to install MemcacheD. I just ran "make config ; make ; make install" to build the php5 and
1
1791
by: Vladimir Ghetau | last post by:
Hi guys, Have you noticed the add, set, and replace functions of the PHP memcached extension? I'm trying to figure out if there's any difference between set, and (add or replace). After few tests, I've proven myself that the set() method is enough to add a new variable or update it.
3
6745
by: bigqiang | last post by:
Memcached is a high-performance, distributed memory object caching system. its website is http://www.danga.com/memcached/ . How to use Memcached in Classic Asp? Help thanks .
0
9619
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10261
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10103
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9911
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.