View Andy Lo-A-Foe's profile on LinkedIn

Home office upgrade, new LCD!

Yesterday the new Dell 24” 2407WFP arrived for my home office, woohoo! I was really torn over which monitor to get, either the Dell 24” or Apple’s Cinema 23” display. The 30% off deal from Dell this week made it really easy in the end. The Dell was €400,- “cheaper”, 1” larger, has composite, s-video [...]

Rewriting a (large) PHP application in Rails, part 2

In my previous post on this topic I described the method we used to convert
a legacy MySQL PHP database to a Rails conformant PostgreSQL hosted version. In this article I will tell a bit about how we converted the HTML of the application to Rails layout templates and partials.

Extracting HTML from Firefox DOM

We first started [...]

Rewriting a (large) PHP application in Rails, part 1

In recent weeks I was busy converting a fairly large PHP application to Rails. The existing PHP application is about 65.500 lines of intermingled PHP and HTML/CSS code. Yep, a classic PHP application without any database abstraction layer, no templating, no MVC. This is why I dubbed it “large”, but replacing that with “crappy” would [...]