all repos — h3rald @ f7e100dea0752e29792c3a20b221e097a1118ad3

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
-----
title: "Simply on Rails?"
content-type: article
timestamp: 1183176000
tags: "rails|web20"
-----
<p>So finally my site is back up, I don&#8217;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&#8217;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&#8217;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&#8217;s due a makeover, to be honest.</p>
<p>How am I gonna manage this? Let&#8217;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&#8217;re Lucky</em>, i.e.: if we&#8217;re not going out, if there&#8217;s nothing better to do, if I feel like it. No deadlines (almost), no plans to follow, nothing.</p>
<p>No, I&#8217;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&#8217;s what got me started with Rails, now it&#8217;s time to buy the real thing.</li>
	<li><strong>Blog about it</strong> \- I&#8217;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&#8217;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&#8217;d like to re-code the whole thing from scratch using Rails. Ideally I&#8217;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&#8217;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&#8217;ll spend quite a bit of time planning the application and what has to be done, then I&#8217;ll have  to practice a little bit with Rails, and then, eventually, I&#8217;ll end up writing some code. Of course, suggestions and ideas will be more than welcome throughout all the process.</p>
<p>Let&#8217;s see how it goes&#8230;</p>