all repos — h3rald @ 2e83d5668f040221d07b71f73f63143db2608739

The sources of https://h3rald.com

content/articles/simply-on-rails-intro.textile

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
----- 
permalink: simply-on-rails-intro
filters_pre: 
- redcloth
title: Simply on Rails?
comments: []

date: 2007-06-30 06:00:00 +02:00
tags: 
- rails
- web20
type: article
toc: true
-----
So finally my site is back up, I don't have to worry about coding anymore: just writing about whatever I like, no more Cake, no more MVC, no more frameworks...

_What do you mean no coding anymore? You've been bragging about how this Rails thing is fast, how you can develop things easily, and this, and that... You *know* what you have to do now_

^^^ That was my fiancée, actually, and she's right: my web development days are far from being over, actually. I admit I tried to get away from it, but she kindly reminded me (and she can be _very_ persuasive) that now I have to fix "ItalySimply":http://www.italysimply.com/, the site I created a while a go (4 years?) with a mixture of Mambo (the CMS, now Joomla) and spaghetti PHP.

A sort-of-real-estate thingie visited by people who want to move to Italy or simply buy a house here. And it's due a makeover, to be honest.

How am I gonna manage this? Let's see...

h3. COW

COW \- Code On Week-ends. my web development methodology: simple, effective, basically my only choice. Actually the full name is COW (IYL): Code On Week-ends _If You're Lucky_, i.e.: if we're not going out, if there's nothing better to do, if I feel like it. No deadlines (almost), no plans to follow, nothing. 

No, I'm not terribly motivated to take on this project, but I already thought about two things to get me going:

* *Get "Agile Web Development with Rails":http://www.pragmaticprogrammer.com/titles/rails/* \- I read bits of the first edition, and that's what got me started with Rails, now it's time to buy the real thing.
* *Blog about it* \- I'll _try_ to keep a diary of my coding efforts and share the most juicy bits with the rest of the world. In this way I'll also have content for my site and the three people who read this blog will have something (hopefully) interested to read.

h3. The Cunning Plan

Instead of getting out of troubles by simply tidying up some PHP code or migrate the site to Joomla, I'd like to re-code the whole thing from scratch using Rails. Ideally I'd like to migrate quite a bit of the content (including the hundreds of houses with pictures which were published over the years), but at the moment I'm not thinking about it: after all, in the end the site will be so addictive and easy to use that adding hundreds of houses back on will be just so much fun! Right? Yeah, right...

First of all I'll spend quite a bit of time planning the application and what has to be done, then I'll have  to practice a little bit with Rails, and then, eventually, I'll end up writing some code. Of course, suggestions and ideas will be more than welcome throughout all the process.

Let's see how it goes...