Build your Web2 site quicker – Free Ruby Book

Ruby has a lot of buzz around it. The idiots version of what Ruby is:

  • It’s a programming language (like Java) that allows you to tell computers what to do.
  • Used with the Rails framework , it allows you to churn out your latest Web 2 site faster than you can pitch it to your friendly VC.

InfoQ has a good link to a Free Ruby Book that has just become available. The author of the book (Jeremy) blogs here.

Free Ruby Book Link

We have two main reasons why we’re interested in Ruby:

  1. Java is great for scalable , Enterprise systems used by thousands of people. Sometimes we just want something quick and dirty to try out an idea.
  2. If your idea proves successful , you want a migration path (i.e. not to have to throw away all your original work). Ruby gives you this as the way it is organised means it is less likely to fall into a heap (Object Orientated)
  3. So Why not PHP (the way this blog, using wordpress, is built)?  Ruby has a companion tool called JRuby. This means that you can run Ruby code anywhere you can use Java. Anything that Java can do , Ruby can do as well.

We’re also going down the free book route on Enterprise Web 2.0. Only it’s taking us a lot longer to get there. Currently the problem is a techie version of writers block.

Advertisements

8 comments

  1. John Ward · January 29, 2007

    You make it sound like ruby (and rails) is a prototyping language – its not.

  2. admin · January 29, 2007

    John,

    Not the intention to make it sound lightweight – more explaining the reasons why I’m interested in it.

    Paul

  3. John McClean · January 30, 2007

    er Paul, isn’t that 3 reasons?

    Seriously though – I read recently that the JRuby developers have managed to optimise JRuby (with JIT compiler I think) so that it’s running at twice the speed of C Ruby. Although I don’t think JRuby with compiler is released yet… Could well turn out that Java will be the platform for Ruby..

  4. admin · January 30, 2007

    John (McC),

    Do you know how fast it is in a web environment? I got the impression that the standard (Webbrick) server would fall over quite easily.

    Fortunately , they have a way of working with Apache, I haven’t tested the scalability (yet) of that.

    Paul

  5. John Ward · January 30, 2007

    Webrick is a development server and has never been proposed as a production solution.

    Mongrel is the solution. A cluster of mongrel’s can work with a software (e.g apache ) or hardware load balancer ensuring a horizontally scalable solution.

    Line for line ruby is slower than java, however performance is more than language choice. Its also about design and development decisions. Rails provides separation of concerns as well as horizontal scaling baked in.

  6. admin · January 30, 2007

    John (W),

    Appreciate the comment – you’re further ahead than I am on the rails stuff. Have you actually got to production with your current project , or is it still under wraps?

    What tipped the scales for me to start getting into Ruby is that yourself and a couple of other good / heavyweight Enterprise Java guys are swearing by it.

    Paul

  7. John Ward · January 30, 2007

    We have a beta of our solution, we’re out there engaging with partners at the moment getting the final touches.

    I can send you a more info by mail if your interested.

  8. admin · January 30, 2007

    John,

    If you have a 1 page already done , fire it over to paulb (at sign) firstpartners.net

    Paul

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s