Gallery 2.2–Multisite and Multiroot

Recently I tried to use the Gallery Multiroot module/plugin to setup a new site based upon an existing Album in our gallery. Since we started sorting albums chronologically, we wanted to sort out the Dachshund photos separately. To do this, I used the Multiroot feature. Unfortunately, I couldn’t get this to work as . . . → Read More: Gallery 2.2–Multisite and Multiroot

Blog Tweaks

Made some tweaks to the blog:

using tags instead of categories
google ads
amazon wishlist
I learned lots more about widgets
integration with my delicious

Related posts

Zend Framework and PDO_MYSQL (4)
Zend Framework 0.1.1 Released (0)
who wants tags? (0)
TriPUG and MySQL Talk on Memcache and PHP (6)
return of . . . → Read More: Blog Tweaks

PHP on the Backend (part 2)

To run the class I posted yesterday, I typically use a class called DaemonRunner. This class sets up for proper signal handling, and ‘executes’ the class extended from Daemon.

declare(ticks=1);

class DaemonRunner {
public static function exec($className) {
$argv = $_SERVER['argv'];
. . . → Read More: PHP on the Backend (part 2)

PHP on the Backend

PHP (or any language for that matter) can just as easily be used as a daemon as on the web. This can be especially useful when solving problems that can’t “complete” in less than 500 ms which one shoots for on the web. As you write an application to handle things such as . . . → Read More: PHP on the Backend