Graham Christensen

Symfony development, hardware, and everything else too.

Testing Symfony and Propel With PHPUnit

Running PHPUnit alongside of symfony is a fairly easy matter. Including the ProjectConfiguration file initializes the autoloader, your libraries get set up, everything is gravy... Except when its not. Read more...

posted on November 30 2010

Making Objects Linkable in symfony

In a simple CRUD symfony application, repeatedly writing `link_to` is exhausting. This way is simpler. Read more...

posted on September 10 2010

Managing Remote SVN Branches in Git-SVN

This was a major problem I’ve been having with git-svn is how to handle remote branches. There is lots of documentation on SVN, switching to Git, using git-svn, but very little seemed to be related to creating remote branches and then switching to them.

Turns out it was pretty obvious:

To create the branch:

git svn branch foo

To switch to the branch:

git branch foo remotes/foo

To delete a remote branch you have to do it with SVN’s command line tool:

svn rm http://svn.foobar.org/branches/foo
comments · posted on August 25 2010

How to Setup sfPDOSessionStorage

Use the symfony plugin sfPDOSessionStorage to keep all web servers on the same page with your sessions. Read more...

posted on June 16 2010

Sending Mail from a Task, Symfony 1.4; Fatal error: Class 'Swift_Message' not found

Fix the pesky Symfony autoloader issue when sending email from a task. Read more...

posted on February 22 2010