Drinking Rails Kool-Aid

Posted by unbrand on 9 December 2005 | 9 Comments

Tags: Ruby, Rails, learning, leading, PostgreSQL

Not only have I been drinking the Rails Kool-Aid lately, I’ve been buying boxes of the little packets and throwing them at passers-by as I yell “Java ate my CPU!” while I tear open 3 packets at a time and coat my mouth in powdery Rails goodness. Sure the kids get scared, but the moms and dads understand. I think.

You learn something new but it doesn’t sink in until you put that knowledge to good use, right? A combination of factors led me to start looking at setting up a wiki using Rails.

  • MediaWiki does not use Textile markup for adding and editing content. I started using Textile for my Typo-powered blog and I like it a lot. I spent a good amount of time trying to plug Textile into MediaWiki with no luck. The content parsing in MediaWiki is tied very closely to other aspects of MediaWiki so it’s a bit tricky to isolate the parsing enough to plug in Textile. In the end, one markup for blog, and a different markup for wiki. Ugh.
  • I recently learned MediaWiki is busy doing a lot of PHP object processing to accomplish anything. There’s a lot of work going on to pull off all the MediaWiki functionality which derives from Wikipedia. In a corporate environment it might be worth the hassle, but this wiki is just for personal use and for playing with the technology. I have my own bias against using objects in PHP. My experiences have been that object orientation in PHP 5 is still buggy and bloated. Why? Was C++ this buggy and slow when it first came out? Dunno. At any rate, I was seeing (and now that I think about it have always seen) crappy performance in MediaWiki. Tell me again why my wiki is slow? And why should I have to deal with it?
  • Pain getting MediaWiki and Postgres working together. This should be getting better soon, but as of now it’s a bit twiddly to get it going.
  • I stumbled across Instiki and saw that it’s a wiki built on top of Rails. And, it was made by the creator of Rails. After installing it, I noticed that all of the above issues with MediaWiki disappeared. Instiki can use Textile, is speedy, plays nicely with PostgreSQL, and is a first-class Rails application as well. Which means that the little bit I’ve learned so far about my blog software Typo can be applied to the wiki software, too. That’s a big plus for maintaining the software & adding new features.

Now my blog and internal wiki are both Rails applications. The only problem with eating powdered Kool-Aid is that it stains clothing really bad. But that can be solved easily with cherry and lime-coloured clothing.

Here’s proof of more Kool-Aid drinkers from Tim O’Reilly’s blog. He talks about various computer language book sales and notes spikes in sales due to various reasons. Ruby book sales are the fastest rising, while Java book sales are declining, year on year. Good indications of trends, I think. There’s also an interesting discussion in the comments on the same page about people moving to (or away from) various languages. One interesting comment was from an author of a book on Struts who said “RoR is the most productive MVC architecture out there.”

I remember when Java came out and there was a lot of the same breathless excitement about what a great language it is (“everything’s an object,” “speed sucks but will improve,” “more expressive than C++”, etc.) I agreed with the Java hype then, and I agree with the Ruby hype now.

Commie Kool-Aid from FoolKiller

Post your comment

Comments

  • <p>Oooooooooooh! Very nice! :-)</p>

    Posted by Tim, 01/07/2007 11:39am (1 year ago)

  • <p>hmm, very fancy when you hit submit, is it an ajax app too?</p>

    Posted by Don, 01/07/2007 11:39am (1 year ago)

  • <p>After a comment like that I need to see what submitting a comment looks like. The comment form&rsquo;s sure cool.</p>

    Posted by Tim, 01/07/2007 11:39am (1 year ago)

  • <p>Hey Brian that Kool aid sounds pretty good, I may have to try some sometime, but stuck in slow internet land (India) it aint going to happen for a while. So I&rsquo;ll stick with wordpress. So basically typo is a blog that includes wiki markup and is powed by rails right?</p>


    <p>PS the new blog looks nice, good to see a bunch of posts</p>

    Posted by Don, 01/07/2007 11:39am (1 year ago)

  • <p>I agree. I am reaching the tipping point myself.</p>

    Posted by Jackson, 01/07/2007 11:39am (1 year ago)

  • <p>I had to give it a try as well.</p>

    Posted by Henry, 01/07/2007 11:39am (1 year ago)

  • <p>had to try it myself after getting sent here to check it out.</p>

    Posted by Kevin, 01/07/2007 11:39am (1 year ago)

  • <p>Very nice!</p>

    Posted by Kevin, 01/07/2007 11:39am (1 year ago)

  • <p>Greetings, Don! Yes, typo is a blog powered by Rails. It does have ajax capabilities as well. The Scipt.aculo.us stuff can plug in quite easily for nice client-side effects. I see typo as a next-gen blog a step ahead of Wordpress.</p>


    <p>Hope you&rsquo;re having fun in India!</p>

    Posted by unbrand, 01/07/2007 11:39am (1 year ago)

RSS feed for comments on this page