stopgaps

In high-school, the teacher who taught a programming class and worked to write a Java-based voting system insisted they build in logging functionality, in spite of the iron-clad storage of data into text files. This discussion made an impression upon me because the best and worst thing about programming and computers is they do exactly . . . → Read More: stopgaps

EJinnovations releases Chef 1.0

EJinnovations, run by an college friend of mine and one of the few people in the CS program I highly respected, has released a new piece of software to help the Chef in all of us. The software dwarfs the competition with killer features like recipe slideshows, printing of shopping lists, and recipe sharing. . . . → Read More: EJinnovations releases Chef 1.0

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