all repos — h3rald @ v10

The sources of https://h3rald.com

contents/articles/simply-on-rails-intro.html

 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
 42
-----
title: "Simply on Rails?"
content-type: article
timestamp: 1183176000
tags: "rails|web20"
-----
<p>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 <span class="caps">MVC</span>, no more frameworks&#8230;</p>
<p><em>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&#8230; You <strong>know</strong> what you have to do now</em></p>
<p><sup>^</sup> That was my fianc&eacute;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 <em>very</em> persuasive)
	that now I have to fix <a href="http://www.italysimply.com/">ItalySimply</a>, the site I created a while a go (4
	years?) with a mixture of Mambo (the <span class="caps">CMS</span>, now Joomla) and spaghetti <span
		class="caps">PHP</span>.</p>
<p>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.</p>
<p>How am I gonna manage this? Let's see&#8230;</p>
<h3><span class="caps">COW</span></h3>
<p><span class="caps">COW</span> \- Code On Week-ends. my web development methodology: simple, effective, basically my
	only choice. Actually the full name is <span class="caps">COW</span> (<span class="caps">IYL</span>): Code On
	Week-ends <em>If You're Lucky</em>, 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.</p>
<p>No, I'm not terribly motivated to take on this project, but I already thought about two things to get me going:</p>
<ul>
	<li><strong>Get <a href="http://www.pragmaticprogrammer.com/titles/rails/">Agile Web Development with
				Rails</a></strong> \- 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.</li>
	<li><strong>Blog about it</strong> \- I'll <em>try</em> 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.</li>
</ul>
<h3>The Cunning Plan</h3>
<p>Instead of getting out of troubles by simply tidying up some <span class="caps">PHP</span> 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&#8230;</p>
<p>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.</p>
<p>Let's see how it goes&#8230;</p>