Introduction to Ruby and Rails
@BoTreeTech
What is Ruby ?
What is Rails ?
Install Ruby and Rails ?
Exercise
Overview
What is Ruby ?
General purpose programming language
Created in the 1990s by Yukihiro Matsumoto “Matz”
Dynamic, interpreted, object-oriented
Influenced by Perl, Smalltalk, Eiffel, Ada, and Lisp
Why Ruby ?
Open Source
Why Ruby ?
Easy to Learn
Why Ruby ?
Closer to a naturally spoken language 8.times { say "hello!" }
Why Ruby ?
High productivity
Ruby < = > Java / .NET
Why Ruby ?
Stepping stone
Why Ruby is so popular?
Optimized for programmer’s
happiness and productivity
Leverage - pre-written frameworks and libraries(Gems)
Well Documented
Learning resources
Books
Vibrant
What is Ruby on Rails ?
David Heinemeier Hansson
dhh
Open source web-application framework
Follows MVC
Webapplication ?
Framework ?
Why Ruby on Rails is so Popular?
Open source
Rapid prototyping
Most Productive
Easy to deploy
Less LoC
Easy to understand
Vibrant Community
Learning Resources
Installation
“One of the most painful
parts for almost every
developer is setting
everything up”
Rails API book
Exercise
http://www.codecademy.com/en/tracks/ruby
https://rubymonk.com/learning/books/1-ruby-primer
References
http://martinfowler.com/articles/rubyAtThoughtWorks.html#IsRubyMoreProducti
ve
http://www.skilledup.com/guides/learn-ruby-programming-language-course-
guide
Installation:
https://online.pragmaticstudio.com/tour/courses/ruby/steps/3
https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-
on-ubuntu-12-04-lts-precise-pangolin-with-rvm
Thank You
Amit Patel
@amit_savani

Introduction to Ruby on Rails