david rasch — technology. business. life.

david rasch — technology. business. life.

david rasch — technology. business. life. RSS Feed
 
 
 
 

Archive for PHP

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 [...]

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'];
[...]

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 [...]

TriPUG and MySQL Talk on Memcache and PHP

Memcache is an extension written by Danga for simple Key/Value pair caching for use with your favorite programming language. In this talk I demonstrate how to install, integrate, and leverage Memcache in PHP (using MySQL for a database). I build a sample application, demonstrate less than desirable performance and finally, return performance with [...]

Flickr

www.flickr.com
raschnet's items Go to raschnet's photostream

Twitter

    Tags

    Older Stuff