SPDO 1.0b Release Candidate 1
SPDO version 1.0 beta Release Candidate 1 is out the door. This version adds the following: Three custom Exception classes: SPDOError, ConnectionFailedError and ForeignKeyViolationError. Which are used...
View ArticleSPDO moving to SourceForge (I hope)
While school has kept me busy during my non-work hours I have not had much time to tend to other projects like SPDO. Seeing how my “Abandoned Project Takeover” has been approved on SourceForge,...
View ArticleError Handling and the PHP @ Operator
I have been trying to debug a plugin for WordPress (Shorten2Ping – I will keep plugging this because I think it is so nifty!) and I was running into a problem where the plugin would silently fail with...
View ArticleComparing PHP array_shift to array_pop
I noticed a note in the PHP documentation about speed differences between array_shift() (pulling the first element off the array) and array_reverse() followed by array_pop() (resulting in the same...
View ArticleApache and PHP HTTP PUT Voodoo
While trying to work out the details for a PHP REST utility I kept running into a wall when it came to using HTTP PUT (and HTTP DELETE) with Apache 2.2 and PHP 5. There are plenty of scattered tidbits...
View ArticlePHP Singleton? Not really
If you couldn’t tell by the long silence, things around here have been not so quiet as I had hoped. However, while reading the PHP: Patterns page I came across a large number of implementations of the...
View ArticleSimplified ANSI color term support in PHP
I was working on a script that needed some color terminal output and while it wasn’t particularly complicated, I found it was slowing me down. Flipping back and forth between a list of ANSI color codes...
View ArticleSymfony2 + Propel 1.6 with Memcache
I was looking for a way to put the Propel 1.6 “Instance Pool” into Memcache for a Symfony2 project I am working on, and I have managed it. Here is what I did; it may help you, but all the usual caveats...
View ArticlePECL on OS X Mountain Lion: Quick and dirty
Yes, this is pretty simple, but I had to look around for too long to find a solution that didn’t involve homebrew or ports or (even worse) some kind of path manipulation to install PEAR/PECL to MAMP....
View ArticleTemporary Blandness
You mat have noticed that the site was down for a bit, and is back with a particularly bland and uninspired theme. This is due to my personal theme being so 2009 that it barfed when PHP was updated to...
View Article