SlideShare a Scribd company logo
1 of 7
Ruby’on’Rails Germano Mergel
What is Ruby? Programming language Created by Yukihiro Matsumoto in 1993 Object-Oriented Similarities to Perl, Smalltalk, Python, LISP Simple and powerful 2 Ruby is designed for programmer productivity and fun, following the principles of good user interface design.
Interactive Ruby (irb) http://tryruby.org/ 3
Ruby sources http://www.ruby-lang.org http://www.ruby-lang.org/en/documentation/ http://www.ruby-lang.org/en/documentation/quickstart/ http://www.ruby-lang.org/en/documentation/ruby-from-other-languages/ http://mislav.uniqpath.com/poignant-guide/ (crazy guide) http://betterexplained.com/articles/starting-ruby-on-rails-what-i-wish-i-knew/ 4
Framework that adapts Ruby for web-application A gem, or a Ruby library.  Created by Written in Ruby Open Source Uses MVC Architecture Ok, but... what is Rails? 5
Rails MVC Architecture Model Database Typical (non-MVC) Web Architecture 6 View Controller
Rails File Structure > rails myApp myApp/ .../app .../controller .../helpers .../models .../views .../layouts 7

More Related Content

Viewers also liked

Presentación monica botero
Presentación monica boteroPresentación monica botero
Presentación monica boteroRamón Mejía
 
エコーワークス【a-blogcms in KANAZAWA】
エコーワークス【a-blogcms in KANAZAWA】エコーワークス【a-blogcms in KANAZAWA】
エコーワークス【a-blogcms in KANAZAWA】Akira Nozaki
 
Graphical Pieces from Portfolio
Graphical Pieces from PortfolioGraphical Pieces from Portfolio
Graphical Pieces from PortfolioSamantha McCain
 
Trusting AI with important decisions
Trusting AI with important decisionsTrusting AI with important decisions
Trusting AI with important decisionsLouis Dorard
 
Obnovljivi izvori-energije-vlada
Obnovljivi izvori-energije-vladaObnovljivi izvori-energije-vlada
Obnovljivi izvori-energije-vladavladimir minic
 
File Test 03 Writing
File Test 03 WritingFile Test 03 Writing
File Test 03 WritingAlicia Garcia
 
M3 Lecture 5 metal frame door notes
M3 Lecture 5 metal frame door notesM3 Lecture 5 metal frame door notes
M3 Lecture 5 metal frame door notesEst
 
Dirix Elsloo Pp Presentatie
Dirix Elsloo Pp PresentatieDirix Elsloo Pp Presentatie
Dirix Elsloo Pp Presentatiehubertpeter
 
China 衛國軍魂
China   衛國軍魂China   衛國軍魂
China 衛國軍魂nk1953
 

Viewers also liked (15)

Presentación monica botero
Presentación monica boteroPresentación monica botero
Presentación monica botero
 
page0008
page0008page0008
page0008
 
Moderní nábytek
Moderní nábytekModerní nábytek
Moderní nábytek
 
Формы бизнеса
Формы бизнесаФормы бизнеса
Формы бизнеса
 
エコーワークス【a-blogcms in KANAZAWA】
エコーワークス【a-blogcms in KANAZAWA】エコーワークス【a-blogcms in KANAZAWA】
エコーワークス【a-blogcms in KANAZAWA】
 
Graphical Pieces from Portfolio
Graphical Pieces from PortfolioGraphical Pieces from Portfolio
Graphical Pieces from Portfolio
 
Leadership
LeadershipLeadership
Leadership
 
Trusting AI with important decisions
Trusting AI with important decisionsTrusting AI with important decisions
Trusting AI with important decisions
 
Obnovljivi izvori-energije-vlada
Obnovljivi izvori-energije-vladaObnovljivi izvori-energije-vlada
Obnovljivi izvori-energije-vlada
 
File Test 03 Writing
File Test 03 WritingFile Test 03 Writing
File Test 03 Writing
 
Energija
EnergijaEnergija
Energija
 
M3 Lecture 5 metal frame door notes
M3 Lecture 5 metal frame door notesM3 Lecture 5 metal frame door notes
M3 Lecture 5 metal frame door notes
 
Dirix Elsloo Pp Presentatie
Dirix Elsloo Pp PresentatieDirix Elsloo Pp Presentatie
Dirix Elsloo Pp Presentatie
 
Измерение социального эффекта
Измерение социального эффектаИзмерение социального эффекта
Измерение социального эффекта
 
China 衛國軍魂
China   衛國軍魂China   衛國軍魂
China 衛國軍魂
 

Similar to Ruby'on'rails

Similar to Ruby'on'rails (20)

02 ruby overview
02 ruby overview02 ruby overview
02 ruby overview
 
Ruby on rails
Ruby on rails   Ruby on rails
Ruby on rails
 
Introduction To Rails
Introduction To RailsIntroduction To Rails
Introduction To Rails
 
Ruby Introduction
Ruby IntroductionRuby Introduction
Ruby Introduction
 
01 index
01 index01 index
01 index
 
Why Is Ruby On Rails Becoming So Popular?
Why Is Ruby On Rails Becoming So Popular?Why Is Ruby On Rails Becoming So Popular?
Why Is Ruby On Rails Becoming So Popular?
 
Ruby Beyond Rails
Ruby Beyond RailsRuby Beyond Rails
Ruby Beyond Rails
 
Ruby
RubyRuby
Ruby
 
sl slides-unit-1.pptx
sl slides-unit-1.pptxsl slides-unit-1.pptx
sl slides-unit-1.pptx
 
Intro To Ror
Intro To RorIntro To Ror
Intro To Ror
 
Most popular Ruby Frameworks & Tools
Most popular Ruby Frameworks & ToolsMost popular Ruby Frameworks & Tools
Most popular Ruby Frameworks & Tools
 
Most popular Ruby Frameworks & Tools
Most popular Ruby Frameworks & ToolsMost popular Ruby Frameworks & Tools
Most popular Ruby Frameworks & Tools
 
Intro for RoR
Intro for RoRIntro for RoR
Intro for RoR
 
Technologies of today
Technologies of todayTechnologies of today
Technologies of today
 
Pengantar Ruby on Rails
Pengantar Ruby on RailsPengantar Ruby on Rails
Pengantar Ruby on Rails
 
Rubymotion inspect 2014_review
Rubymotion inspect 2014_reviewRubymotion inspect 2014_review
Rubymotion inspect 2014_review
 
Introduction to Ruby on Rails
Introduction to Ruby on RailsIntroduction to Ruby on Rails
Introduction to Ruby on Rails
 
Ruby On Rails
Ruby On RailsRuby On Rails
Ruby On Rails
 
IronRuby for the Rubyist
IronRuby for the RubyistIronRuby for the Rubyist
IronRuby for the Rubyist
 
The story of language development
The story of language developmentThe story of language development
The story of language development
 

Ruby'on'rails

  • 2. What is Ruby? Programming language Created by Yukihiro Matsumoto in 1993 Object-Oriented Similarities to Perl, Smalltalk, Python, LISP Simple and powerful 2 Ruby is designed for programmer productivity and fun, following the principles of good user interface design.
  • 3. Interactive Ruby (irb) http://tryruby.org/ 3
  • 4. Ruby sources http://www.ruby-lang.org http://www.ruby-lang.org/en/documentation/ http://www.ruby-lang.org/en/documentation/quickstart/ http://www.ruby-lang.org/en/documentation/ruby-from-other-languages/ http://mislav.uniqpath.com/poignant-guide/ (crazy guide) http://betterexplained.com/articles/starting-ruby-on-rails-what-i-wish-i-knew/ 4
  • 5. Framework that adapts Ruby for web-application A gem, or a Ruby library. Created by Written in Ruby Open Source Uses MVC Architecture Ok, but... what is Rails? 5
  • 6. Rails MVC Architecture Model Database Typical (non-MVC) Web Architecture 6 View Controller
  • 7. Rails File Structure > rails myApp myApp/ .../app .../controller .../helpers .../models .../views .../layouts 7

Editor's Notes

  1. Try out:test = "ruby string"3.times do print test endtest * 3test + " testing"40+2test + 42 (error)test + 42.to_s42.reverse42.to_s.reverse3.times do print test end / 1.upto(3) do print test endnumbers = [8, 3, 7, 1, 9, 5, 4, 2, 6]numbers.sortnumbers.reversenumlist = (1..9)numarray = numlist.to_acolors = ['red','blue','green']colors.sortarray = [42, 'red', 3.1415]
  2. Some gems let you use the Win32 API. Others handle networking. Rails helps make web applications, providing classes for saving to the database, handling URLs and displaying html (along with a webserver, maintenance tasks, a debugging console and much more).