IT Community - Software Programming, Web Development and Technical Support

Reasons for choosing RoR

This is a discussion on Reasons for choosing RoR within the Ruby forums, part of the Web Development category; Hi, What is the reasons for choosing RoR over other popular programming languages & frameworks written for PHP or ASP....


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > Ruby

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 03-27-2008, 09:17 PM
shaalini shaalini is offline
D-Web Analyst
 
Join Date: Apr 2007
Posts: 342
shaalini is on a distinguished road
Default Reasons for choosing RoR

Hi,
What is the reasons for choosing RoR over other popular programming languages & frameworks written for PHP or ASP.NET
__________________
Shaalini.S
Be the Best of Whatever you are...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-27-2008, 09:21 PM
bluesky bluesky is offline
D-Web Analyst
 
Join Date: Jun 2007
Posts: 201
bluesky is on a distinguished road
Default Re: Reasons for choosing RoR

Reasons for choosing RoR over other web-targeted programming languages: scaffolding.RoR is also quite growing in popularity by the day.

There are people who say RoR isn't suitable for business-critical applications because it's slower that other programming languages already available and that the ActiveRecord database model just don't offer any help when you need more complex database functionality.

While some parts of these statements might be true for the moment, let's not forget that this was the case with virtually any new programming language and framework - until someone believed in it and realized it's true potential and decided to participate in the community and contribute with code or valuable advice.
.Actually, there probably isn't one "best than all" programming language or framework, it all depends on the programmers skills of accomplishing the give task with it.There only are advantages and disadvantages..and preferences of course.

* Ruby has a simple syntax, following natural language

* Ruby code is easy to read and understand
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-27-2008, 09:23 PM
nnraja nnraja is offline
D-Web Programmer
 
Join Date: May 2007
Posts: 94
nnraja is on a distinguished road
Default Re: Reasons for choosing RoR

Hi bluesky ,

You r right with your answer.its all depends on the programmers skills of accomplishing the give task with it.
* Ruby and Ruby on Rail's popularity is constantly increasing.This means that more and more support will be available to the community offered by the growing number of members.Chances are that if you encounter a more unusual problem, there will be someone out there able to help you;and if not now,most certainly in a near future.

* Ruby code is easier to maintain,cleaner also due to the "Don't repeat yourself" principle and scaffolding.

* You can now save time because most applications take now less to code due to Ruby on Rails's architecture

* Since the language has a growing base of fans, it's quite possible that new Ruby frameworks will be developed, better than Rails at the moment.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-27-2008, 09:27 PM
satheesh satheesh is offline
D-Web Programmer
 
Join Date: Aug 2007
Posts: 95
satheesh is on a distinguished road
Default Re: Reasons for choosing RoR

Hi shaalini,
If you've never programmed, it will be much easier for you to start on Ruby than if you would've started first with asp or php, or Java

for example
* Ruby and Ruby on Rails communities and forums contain much more recent,relevant to the current trends than other programming language's forums.It should be a lot easier to find solutions to a problem because more up to date information is posted.

* Unlike other web programming languages, Ruby is a full featured object-oriented programming language

* A lot of code for basic operations has already been written for you if you use the Rails framework.This saves you a lot of development time.This can also be true for other programming languages tough, for example if you've heard of the Code Ignite framework for PHP or CakePHP.

* The ActiveRecord will bring your database much "closer" to you than other traditional OOP development techniques;it will make you feel you have a lot more control over your development process.In most cases,the database will be one of the most important parts of the project.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-27-2008, 09:31 PM
nnraja nnraja is offline
D-Web Programmer
 
Join Date: May 2007
Posts: 94
nnraja is on a distinguished road
Default Re: Reasons for choosing RoR

hi satheesh,
* Rails is Web 2.0 ready.It can provide an easy way to implement AJAX functionality specific to the Web 2.0 trends.It also has an emailing framework built in, web services and caching.

* Ruby code is easy to test and fix because of it's built-in testing features.If you're using Rails, it will automatically create basic tests for you that you can later expand if you wish.The less time you need to spend on these processes, the more productive you'll be.
* Test cases can be easily planned and ran with "harnesses" and "fixtures" and then deployed automatically with "rake" that you can get here.In fact, with Rails you get separate environments for development, testing, and production also.

* Rails uses code generation and metaprogramming also,unlike other frameworks which mainly rely on code generation.Metaprogramming allows the use of programs to write other programs.You can get more info on metaprogramming concepts here

* Rails is open source.This means that it can be easily improved,modified,have bugs fixed.Newer,better distributions of it generally can appear at a faster rate than it happens with other proprietary-code frameworks,because open-source allows others to contribute.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 03-27-2008, 09:33 PM
bluesky bluesky is offline
D-Web Analyst
 
Join Date: Jun 2007
Posts: 201
bluesky is on a distinguished road
Default Re: Reasons for choosing RoR

Surprisingly, I would like to add a few cons now, just to keep things balanced:

* Since Ruby and RoR are still relatively new to being used on a large scale, it would be best to avoid trying to build large business-critic applications on it just yet.You don't want to reach to a point where your servers will just crash and have no backup immediate plan.We are still waiting on gathering enough experiences from programmers on Ruby's scalability and efficiency on such critic mediums.

* Ruby is great tough for projects that have a well defined scope and that do not need to sustain tens of thousands of users.It appears that at least for the moment,Ruby is slower than php or asp...this could also result in you having to add more resources to your system than you would have to in the case of php or asp or java.

* Shared-hosting that is Ruby ready is still not widely available.You will probably need a dedicated server or a VPS if a shared-hosting account won't suit your space or bandwidth needs or if you want to modify the standard Ruby configuration deployed on the specific shared hosting server.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 03-27-2008, 09:34 PM
satheesh satheesh is offline
D-Web Programmer
 
Join Date: Aug 2007
Posts: 95
satheesh is on a distinguished road
Default Re: Reasons for choosing RoR

To conclude with, there are a lot more pros than cons on why to choose Ruby.It really is a programming language truly worth learning.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reasons for process termination vijayanand Operating Systems 0 09-20-2007 06:33 AM
Open color picker And choosing,applying a color to a Movie Clip in Flash oxygen Flash Actionscript Programming 1 07-25-2007 04:00 AM
RSS... And The 10 MOST Powerful Reasons montyauto Promotion Techniques 0 04-23-2007 08:51 PM


All times are GMT -7. The time now is 05:30 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0