Tag: ruby

Will Rails go the Struts 1 way ?

Posted by – December 24, 2008

Just saw the story Merb gets merged into Rails 3. Quickly reminded me of another story that played itself out similarly around Nov. 2005 ie. Webwork Joining Struts. And there really are some parallels indeed. (Disclaimer: While I can claim to know struts quite well and webwork exceptionally well, my knowledge of Rails is limited and that of Merb is rather superficial)

  • Struts 1 was the grand daddy with a massive market share, whereas Webwork 2 was the upstart
  • Struts 1 established its dominance by being far ahead of its competition in its time. Webwork 2 was the exceptionally well designed, highly compartmentalised, granular and flexible MVC framework which clearly established a strong design lead over Struts 1
  • Struts 1 was monolithic, Webwork 2 was far more fine grained and pluggable
  • Struts 1 primarily had a single controller servlet, Webwork offered more fine grained controllers

In the post Rails and Merb merge, Katz explicitly refers to the Struts / Webwork 2 Migration. However there was one big difference, while Webwork 2 made some movement towards being just a little bit more struts like during the migration, for all practical purposes the next version after Webwork 2.2.x became Struts 2, and Struts 1 got confined to legacy. In this case it just seems unclear how Rails and Merb will move towards each other. As a designer, I really cannot imagine easily merging two frameworks and have the best of both of them be reflected in the result (it is exceedingly tough but feasible). There is a practical driving necessity of ensuring consistency which is likely to favour one of the two frameworks. I am really left with this feeling that one of them will dominate the other in the end – and this whole effort will be quite unnecessary if Rails has to dominate eventually. Definitely an interesting space to watch.

Should Sun focus more on Java-Ruby or Java-Groovy integration

Posted by – January 18, 2008

Rick Hightower presents an argument to encourage sun to support groovy rather than ruby (“Quit pimple pimping ruby”:http://www.jroller.com/RickHigh/entry/thanks_zed_btw_syntax_matters)

bq. Can we just get some decent support for Groovy? No instead Sun invests in Ruby via JRuby. DOH! Groovy looks a lot like Java. It is much easier to get started with it. The syntax does not make developers want to hurl. Why is Sun investing so much money in JRuby?

The investment should be in Groovy. Developers who know Java can learn Groovy quickly and are more likely to do so if the tools support it. Ruby is a non-starter.

One of the arguments based on a chart similar (not the same) to the one below is :

bq. Here is another reason not to invest heavily in Ruby. For the color blind: RUBY COMES IN DEAD LAST!

Ruby comes in dead last. If there was going to be a revolution, it would have happened already. Ruby is a little long in the tooth to finish this poorly. Don’t you think?

More…