?

Log in

No account? Create an account

BloodSpell Development Updates

We're riding the Rails. Or so I'm told.

BloodSpell Development Updates

We're riding the Rails. Or so I'm told.

Previous Entry Share Next Entry
A successful day, for a given value of "successful".

This post isn't going to have much to do with machinima or film-making - only read this if you're a geek web programmer type.

We re-wrote the site almost from scratch. It featured much cursing and swearing, interrupted by occasional moments when we actually found the bit of code we needed, at which point we both tended to sit back and mutter "Oooh ... that's really clever".

Hugh kept insisting that, although Ruby (and Rails) is very clever and slick and all that, it would be easier to do what we were doing in PHP. He changed his tune when we looked at some of the old source code. Three simple lines of Ruby translated into about fifteen horribly complicated lines of PHP. We didn't realise that they were horribly complicated, because we're both used to looking at PHP code (in particular, I'm used to looking at Hugh's PHP code, which is an experience like no other).

Of course, it took us all afternoon to write those three beautiful lines of Ruby, but when I started writing PHP that's about the speed I moved at. I'm hoping that, as I get more experience using Ruby I'll speed up. At the moment, I'm much, much better in PHP, but I can see Ruby overtaking that quite quickly (Hugh has also seen my PHP code, which is usually very well structured but completely broken).

So, the site now runs on Rails. Hooray. Can you see the difference?
No, neither can we.
  • Look at the URLs! Pretty URLs! Pretty!
    • I'm trying to find some decent, rails-capable hosting (that, ideally, can handle PHP as well, so's I can use PHPMyAdmin, so I can get stuck into it properly. Any recommendations?
  • As I understand it, Bytemark (www.bytemark.co.uk) will have Rails by default very soon. We're on their servers now, and whilst we did have to install Rails, it was about 3 hours' work for two people with at best marginal Linux competence.
  • Oh, and they also have PHP and all that good stuff, you get root access and full SSH, and they kick more ass than a centipede trained in Muay Thai.
Powered by LiveJournal.com