Rackspace CloudSites Review

by Graham Christensen on November 19, 2009

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

{ 2 comments }

Validate a Domain is Valid and Exists, Symfony 1.2

by Graham Christensen on October 27, 2009

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

{ 0 comments }

Modifying Form Elements in Symfony 1.2

October 15, 2009

As I found in recent development of an app, I needed to change one of Symfony’s form on the fly (more specifically, I needed to change a drop-down, sfWidgetFormSelect). After some looking, there wasn’t much documentation on this that I could find. My final solution was easy enough:
<?php
$form = new SomeFancyForm();
$new_choices = array(’Selection 1′, ‘Selection [...]

Read the full article →

Forcing Login Success Page, Symfony 1.2 + sfGuard

September 28, 2009

Working on my latest project, we needed to force a specific page to be sent to after login. After quite a bit of searching, I went to the most logical location for this information: The README. Duh. sfGuardPlugin v. 3.1.3 README Unfortunately, Symfony’s documentation is notoriously sketchy, however this is verifiably functional.
Add the following to [...]

Read the full article →

Ranking Items in a Database

September 5, 2009

At work recently, I was tasked to create a system that ranked items in a database, from least to greatest based on time. Originally I was quite blinded by the original code, which had used three nested queries, and a dozen variables of impenetrable names, a set of code I won’t be posting. Now, [...]

Read the full article →