Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


Channels ▼
RSS

Design

Ruby On Rails


When a respected member of the Java development community says it may be time to look around for a successor to Java, it sort of catches your attention.

In Beyond Java, Bruce Tate describes the epiphany he reached when one of his clients dumped Java right in the middle of development of an application. Tate and his partner had decided, perhaps in one of those fits of whimsy that can hit you when you're busiest, to rewrite one component of the application in Rails. Just, you know, out of curiosity.

Tate says it shook him to his Java-loving core when the Rails rewrite took four nights of coding compared to four months for the Java build, then outperformed the Java version while weighing in at about a fifth the number of lines of code.

Remember that scene in My Cousin Vinny where sort-of lawyer Vinny Gambini (Joe Pesci) utterly destroys a witness and the formerly skeptical defendant jumps up, fires the stuttering public defender, points to Vinny, and declares, "I want him"? Apparently, Tate's client fired Java like a lawyer with a speech impediment.

The experience drove Tate to consider alternatives to Java. Of course, neither Tate nor anyone else expects Java to lose dominance soon. If you believe IBM, in a given day the world sees more COBOL transactions processed than web pages viewed. De gustibus non disputandum est, and languages don't die overnight. But Tate was forced to conclude that Rails just might have what it takes to supplant Java for certain purposes.

You've heard of Rails, of course. It's that hot Ruby-based Model-View-Controller-patterned full-stack framework for developing web applications that babysit databases.

Sorry; I should define my terms. Here's what I mean by "hot": At this year's Jolt Awards, Rails snagged the top prize for web development tools, while the top technical book pick was Agile Web Development with Rails. When the First International Rails Conference sold out in less than a week, the organizers added 150 seats—and sold all of those in 24 hours. In the past three months, Rails has been on the radar of publications ranging from BusinessWeek to Wired. Employers are starting to ask applicants for Ruby and Rails experience (so far, this only applies to applicants for programming jobs).

Rails 1.0 was released in December 2005, and there are a number of Rails-developed applications running on the Web right now—see the www.rubyonrails.org site or Wikipedia for lists. One such application, MeasureMap, was snapped up by Google.

Rails is clearly getting a lot of attention, but it's more than just the flavor of the month. For a growing number of web application developers, Rails seems to have hit some sort of sweet spot.


Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.