Why Ruby on Rails rocks from a .net developer eye
-
Upload
aymeric-gaurat-apelli -
Category
Technology
-
view
3.213 -
download
1
description
Transcript of Why Ruby on Rails rocks from a .net developer eye
WHY RUBY ON RAILS ROCKSFROM .NET DEVELOPER PERSPECTIVE
Aymeric Gaurat-Apelli
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
TaskArmy.com
Freelance marketplace with a twist
Glad you asked
Why does RoR rock?
No wasteful compile time
Scaffolding
Generate controller actions / views / models / database schema in one command
Easy routing
Emailing the way it should be
View: notifier/message_notification.erb
Usage
Model: notifier.rb
Three environments out of the box
Migrations
Gems / Plugins system
gem install authlogic
ruby ./script/plugin install http://topfunky.net/svn/plugins/calendar_helper
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)
Testing framework
autotestRun the related tests in the background when a file is modified
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”
Easy Ajax
_form.html.erb
create.js.erb – AJAX SPECIFIC
feedback_controller.rb
application.js – AJAX SPECIFIC
Elegant validation
Easy authentication
loggedin?current_user
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.
Questions?
http://aymeric.gaurat.net http://taskarmy.com