A few days ago I started using Symfony. I chose to use Propel as the ORM. The ORM generates the PHP classes and database structure from your schema.
(more…)
August 31, 2009
Symfony: Propel VS Doctrine
August 25, 2009
Symfony Deploy Script
I’ve just started using the PHP framework, Symphony, after putting it off for far too long!
This seems to be the way to download and deploy symfony, and I’m sure I’m going to want to do it again so I took notes, here they are: ![]()
(more…)
November 23, 2008
Explode into associative array
Simple function to explode a string into an associative array. Works in the same way as the normal explode but takes an extra argument which is an array of keys to use for the returned associative array.
November 11, 2008
Bash script to retry failed command
This was originally developed to retry an rsync command if a network error happened. It’s a mishmash of code found from around the net, and could probably be tidier but it gets the job done.