User Control Panel
Search iVirtua
Advanced/Tag Search...
Search Users...
What is iVirtua Exclusive Community?
  • An exclusive gaming industry community targeted to, and designed for Professionals, Businesses and Students in the sectors and industries of Gaming, New Media and the Web, all closely related with it's Business and Industry.
  • A Rich content driven service including articles, contributed discussion, news, reviews, networking, downloads, and debate.
  • We strive to cater for cultural influencers, technology decision makers, early adopters and business leaders in the gaming industry.
  • A medium to share your or contribute your ideas, experiences, questions and point of view or network with other colleagues here at iVirtua Community.
Guest's Communication
Live Chat
Teamspeak (VOIP) Audio Conference
Private Messages
Check your Private Messages
Themes
Choose an iVirtua Community theme to reflect your interests...
Business Theme
India/Arabic Theme

Gaming Theme
iVirtua Recommends
Fly Emirates Advertising
Ruby on Rails is all very well, but what are its benefits?
Digg This Digg Topic Tag it on del.icio.us Tag topic on On del.icio.us Technorati Search Technorati Search Post to Slashdot Post to Slashdot
You are currently in Programming, Web and Software Design/Development
Post new topic Reply to topic
Sun Mar 04, 2007 2:00 pm Reply and quote this post
I was looking through the new sitepoint Ruby on Rails book. I took a look at the article on the main page and read most of it, however I didn't instantly see why ruby is so beneficial.

Aperantly it reduces code because it incorporates a variety of libraries used for database connectivity, AJAX, and so on.

I am not entirely sure on if this is correct (I have never used the framework before) so could someone please explain the primary benefits of the ROR.

I could see two things, maybe.

1. Coding by convention - if you follow the default settings of a typical Rails app, then a lot of work is done for you. For example, if you have a class called Book that's derived from ActiveRecord::Base, it expects a database table called "books". If you have that table set up, you don't have to specify it explicitly. One less thing to write in your code, and more importantly, one less thing to test and maintain.

2. Don't Repeat Yourself - the Rails framework makes it very easy to follow programming patterns like MVC (model-view-controller) which will help better organize and modularize your code. For exmaple, if you find that you're doing a lot of model-related things in your controller, and each controller method is doing something similar, it would be easier for you to move those methods into the model (or into another controller method, whatever works best). One place to change the same functionality app-wide. This makes for easier writing, maintenance and again, testing.

3. Yes you can get up and running quickly with things like scaffolds and Rails plugins that add a lot of functionality to your site in little time, but that's a very small part of the larger picture.

Now as for Ruby, it's an object-oriented scripting language with a clean syntax and a low barrier to entry. The "benefits" of Ruby, especially as it relates to whatever language you're currently using, will vary based on your needs.

What advantages does RoR have over ASP.Net and vice versa? There are a lot of 3rd. party components available for use with ASP.Net. Are there similar components available for RoR? Is there a need for 3rd. Party components with RoR?

Contributed by Editorial Team, Executive Management Team
372659 iVirtua Loyalty Points • View ProfileSend Private MessageBack to Top

Related Articles
Post new topic   Reply to topic


Page 1 of 1

iVirtua Latest
Latest Discussion

Discuss...
Latest Articles and Reviews

Latest Downloads
Subscribe to the iVirtua Community RSS Feed
Use RSS and get automatically notified of new content and contributions on the iVirtua Community.


Tag Cloud
access amd announced applications author based beta building business card case company content cool core course cpu create data deal dec demo design desktop developers development digital download drive email feature features file files firefox flash free future gaming google graphics hardware help industry information intel internet iphone ipod jan launch linux lol love mac market media memory million mobile money movie music net nintendo nov nvidia oct office official online patch performance playing power price product program ps3 pst publish ram release released report rss sales screen search security sep server show size software sony source speed support technology thu tue update video vista war web website wii windows work working works xbox 360 2006 2007 2008

© 2006 - 2008 iVirtua Community (UK), Part of iVirtua Media Group, London (UK). Tel: 020 8144 7222

Terms of Service and Community RulesAdvertise or Affiliate with iVirtuaRSSPress Information and Media CoverageiVirtua Version 4PrivacyContact