Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What to learn - Ruby on Rails or ASP .NET MVC...given that am familiar with ASP .NET [closed]

I need to learn and adpot the MVC methodology for building web apps. Which is the better way to go given that I have experience with ASP .NET Webforms - ASP .NET MVC or Ruby on Rails?

I've heard people going gaga over RoR and its simplicity and its features such as scaffolding, ActiveRecord, convention over configuration etc.

However, I fail to see what is so great about these. Most of them sound basic (the kind you'll not really want to use in production code - scaffolding for example) - and most of them sound like they are there in ASP .NET MVC in some form or the other.

Why should I consider learning RoR over ASP .NET MVC?

Are there benefits I do not know about or am unable to perceive?

like image 460
Sameet Avatar asked May 23 '09 05:05

Sameet


People also ask

Do I need to learn ASP.NET before MVC?

if you want to study MVC, you don't need to learn asp.net at first, because it'll only confuse you. and it is not very nescesary. The things you'll learn or should learn to make a good/great MVC application are C#, Linq and jQuery.

Which is better ASP.NET or ASP Net MVC?

ASP.NET requires less expertise than MVC and is much faster to develop web applications overall. Prior knowledge of HTML is not required. ASP.NET uses a more mature code-base and has a larger web control toolbox. It's more sensible to use ASP.NET if you are already relying on 3rd party UI controls.

Should I learn Ruby for web development?

Ruby on Rails makes web development quicker and easier. It defines the structure of web applications so developers can get started coding right away instead of spending a lot of time setting things up. It comes with pre-built code libraries that you can use in coding projects to speed up development time.


2 Answers

I suggest you learn both!

I'm a professional ASP.Net developer by day, and a hobbyist RoR developer by night. Learning RoR will in fact make you a better .Net developer, and it's fun!

Also consider that one day you may in fact be able to write an ASP.NET MVC app in IronRuby instead of fussy old c# :)

like image 183
Bayard Randel Avatar answered Oct 02 '22 16:10

Bayard Randel


There are many reasons I would recommend learning RoR over MVC

  1. It's a much more mature stack. It's been around since 2005.
  2. You get to learn a new programming language. "They" say you should learn a new programming language every year.
  3. There is a very rich set of extensions to the base stack. Eg. HAML, Authentication gems, profiling and the list goes on and on.
  4. You get to use database migrations out of the box. Something that is a bit of a breakthrough in database configuration management.
  5. Dynamic languages give you a massive amount of flexibility.

That said: ASP.Net MVC is an awesome framework from Microsoft. I am not advocating dumping your stack and moving to the dark side. I just think it helps to have a broad understanding when it comes to technology.

like image 32
Sam Saffron Avatar answered Oct 02 '22 16:10

Sam Saffron