Managing Remote SVN Branches in Git-SVN

Uncategorized 25 August 2010 | View Comments

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

How to Setup sfPDOSessionStorage

Programming,symfony 16 June 2010 | View Comments

Setting up sfPDOSessionStorage is a fairly simple matter to make sure that sessions exist on a setup with multiple web-heads. Add the following code to your app//config/factories.yml file: all: storage: class: sfPDOSessionStorage param: db_table: session # table storing the sessions database: propel # database connection to use # Optional parameters db_id_col: sess_id # column storing [...]

Tagged in

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

Uncategorized 22 February 2010 | View Comments

While trying to build and send a fairly complicated e-mail using a template from within a task. Unfortunately that resulted in a fairly nasty (and annoying) bug with Symfony’s autoloader: Fatal error: Class ‘Swift_Message’ not found in apps/lib/email/DomainReportMessage.class.php on line 3 The format of the test files were extremely simple: class DomainReportMessage extends Swift_Message { [...]

Rackspace CloudSites Review

Business 19 November 2009 | View Comments

I’m investigating using Rackspace CloudSites as a replacement for 90% of my, and my client’s hosting needs. This may come as a disappointment to some, but I’m finding myself out of time for this sort of work. The clients I began migrating to the CloudSites service were experiencing repeated issues with their service. Until my [...]

Validate a Domain is Valid and Exists, Symfony 1.2

Programming,symfony 27 October 2009 | View Comments

When a good portion of my day is spent working with validating, parsing, and analyzing URLs – I find that I’ve written a small set of tools to ensure consistency, clean, and sane URLs. After an overhaul on a settings page – I had to integrate much of this into a simple (to the viewer, [...]