19
WHY RUBY ON RAILS ROCKS FROM .NET DEVELOPER PERSPECTIVE Aymeric Gaurat-Apelli

Why Ruby on Rails rocks from a .net developer eye

Embed Size (px)

DESCRIPTION

How an experienced .net developer experienced the power of Ruby on Rails in a real life application, TaskArmy.com.

Citation preview

Page 1: Why Ruby on Rails rocks from a .net developer eye

WHY RUBY ON RAILS ROCKSFROM .NET DEVELOPER PERSPECTIVE

Aymeric Gaurat-Apelli

Page 2: Why Ruby on Rails rocks from a .net developer eye

Personal experience

“Recent” productivity jump thanks to Asp.net MVC + jQuery (http://weekplan.net)

Railscasts videos and TeachMeToCode videos while commuting

After three weeks of learning, I felt I was more productive in RoR than in Asp.net / Asp.net MVC

Page 3: Why Ruby on Rails rocks from a .net developer eye

TaskArmy.com

Freelance marketplace with a twist

Page 4: Why Ruby on Rails rocks from a .net developer eye

Glad you asked

Why does RoR rock?

Page 5: Why Ruby on Rails rocks from a .net developer eye

No wasteful compile time

Page 6: Why Ruby on Rails rocks from a .net developer eye

Scaffolding

Generate controller actions / views / models / database schema in one command

Page 7: Why Ruby on Rails rocks from a .net developer eye

Easy routing

Page 8: Why Ruby on Rails rocks from a .net developer eye

Emailing the way it should be

View: notifier/message_notification.erb

Usage

Model: notifier.rb

Page 9: Why Ruby on Rails rocks from a .net developer eye

Three environments out of the box

Page 10: Why Ruby on Rails rocks from a .net developer eye

Migrations

Page 11: Why Ruby on Rails rocks from a .net developer eye

Gems / Plugins system

gem install authlogic

ruby ./script/plugin install http://topfunky.net/svn/plugins/calendar_helper

Page 12: Why Ruby on Rails rocks from a .net developer eye

Open Source community

GitHub.com easy A/B testing (abingo) easy postmark lib (postmark-rails) easy paging (will_paginate) easy RpxNow lib (rpx_now) easy amazon s3 upload (aws-s3) easy full text search (texticle)

Page 13: Why Ruby on Rails rocks from a .net developer eye

Testing framework

autotestRun the related tests in the background when a file is modified

Page 14: Why Ruby on Rails rocks from a .net developer eye

Heroku

Cloud solution for ruby on rails Can add and remove modules

Database Emailing Exception notification Performance monitoring Gem installation Full text search

Super easy deployment> deploy “Fixed a typo in about us page”

Page 15: Why Ruby on Rails rocks from a .net developer eye

Easy Ajax

_form.html.erb

create.js.erb – AJAX SPECIFIC

feedback_controller.rb

application.js – AJAX SPECIFIC

Page 16: Why Ruby on Rails rocks from a .net developer eye

Elegant validation

Page 17: Why Ruby on Rails rocks from a .net developer eye

Easy authentication

loggedin?current_user

Page 18: Why Ruby on Rails rocks from a .net developer eye

Free

Works on free operating systems Out of the box databases are free too IDEs are not necessary

For a proper IDE: RubyMine from jetBrains Open source mindset

People are more inclined to open source something rather than try to make money out of their code.

Page 19: Why Ruby on Rails rocks from a .net developer eye

Questions?

http://aymeric.gaurat.net http://taskarmy.com