By Colleen, on February 7th, 2009%
Warning: Hard Core Dorkage ahead!
I ran into a snag implementing a general callback strategy. The issue is that you can’t use a class name as a variable and then call one of its methods. Here is the backdrop, the boo-boo, and the workaround.
Continue reading Class names as variables in PHP
By Colleen, on February 5th, 2009%
Warning: Hard Core Dorkage!
Here’s a little simple memcached test you can have to test memcached on your system. I am working on an app that, while the server load is not huge, the datasets that you are presenting to a visitor are larger than normal for a web app, and so I ultimately plan to break them into subsets and only load the subset the user is focusing on and cache the rest. Hopefully most users will confine their activities to items from the same subset so we won’t be thrashing too much. Anyway we’re a long way from that day. I just installed the memcached and tested it with telnet, and I got it all hooked into the whole PHP Apache tangle. So now we’re going to cache some data and see if it works.
Continue reading Memcached Test