Exuberence

Jul 01, 2005 19:27

Ways to cure boredom at work #1: Take it upon yourself to completely re-write the project you've been working on for almost 9 months, whilst retaining backwards compatibility with the existing database and front-end templates.

Some days it just feels like everything falls into place perfectly and is just Right. Today was one of them. My Catalyst port of this app is turning out really well so far, even the interface that lets it use the old templates. The DB code dropped right in, and I've cleaned up loads of annoying routines into elegant OO methods.
Eg: user_allowed_countries($r->{user}); turned into the much nicer: $c->request->user->allowed_countries;

Probably a few more days to finish it up properly, but along the way I'm picking up documentation and test routines that would have taken ages to put into the existing app anyway.

...

Erm, I should probably go home now.

work, coding

Previous post Next post
Up