SlideShare a Scribd company logo
1 of 46
Download to read offline
Ruby on Rails
Mihai Anca
Ruby
Ruby
Limbaj dinamic
Ruby
Limbaj dinamic
Orientat pe obiecte
Ruby
Limbaj dinamic
Orientat pe obiecte
Scris în 1993 de Yukihiro Matsumoto
Ruby
Limbaj dinamic
Orientat pe obiecte
Scris în 1993 de Yukihiro Matsumoto
Mai multe implementări: MRI, YARV, JRuby, IronRuby,
MacRuby
Ruby
 Limbaj dinamic
 Orientat pe obiecte
 Scris în 1993 de Yukihiro Matsumoto
 Mai multe implementări: MRI, YARV, JRuby, IronRuby,
 MacRuby

 >> 1 + 2
=> 3
>> “Hello ForumIT”.length
=> 13
Ruby
 Limbaj dinamic
 Orientat pe obiecte
 Scris în 1993 de Yukihiro Matsumoto
 Mai multe implementări: MRI, YARV, JRuby, IronRuby,
 MacRuby

 >> 1 + 2                   >> 2.times do
=> 3                        ?> puts “Hello”
>> “Hello ForumIT”.length   ?> end
=> 13                       Hello
                            Hello
Ruby on Rails
Ruby on Rails
Framework web
Ruby on Rails
Framework web
Scris in Ruby
Ruby on Rails
Framework web
Scris in Ruby
Open source (MIT)
Ruby on Rails
Framework web
Scris in Ruby
Open source (MIT)
Arhitectură MVC
Ruby on Rails
Framework web
Scris in Ruby
Open source (MIT)
Arhitectură MVC
“Convention over Configuration”
Ruby on Rails
Framework web
Scris in Ruby
Open source (MIT)
Arhitectură MVC
“Convention over Configuration”
DRY (Don’t Repeat Yourself)
MVC
MVC
Model
MVC
Model
 Reprezentarea informației
MVC
Model
 Reprezentarea informației
 Adaugă logică
MVC
Model
 Reprezentarea informației
 Adaugă logică
 Bază de date, API, etc.
MVC
Model
  Reprezentarea informației
  Adaugă logică
  Bază de date, API, etc.
View
MVC
Model
  Reprezentarea informației
  Adaugă logică
  Bază de date, API, etc.
View
  Transformă modelul într-o formă vizibilă
MVC
Model
  Reprezentarea informației
  Adaugă logică
  Bază de date, API, etc.
View
  Transformă modelul într-o formă vizibilă
  Template HTML, RSS, Atom, XML, JSON
MVC
Model
  Reprezentarea informației
  Adaugă logică
  Bază de date, API, etc.
View
  Transformă modelul într-o formă vizibilă
  Template HTML, RSS, Atom, XML, JSON
Controller
MVC
Model
  Reprezentarea informației
  Adaugă logică
  Bază de date, API, etc.
View
  Transformă modelul într-o formă vizibilă
  Template HTML, RSS, Atom, XML, JSON
Controller
  Procesează evenimente
MVC în Rails
Model          Controller




 View
Demo
Deployment
Deployment
CGI
Deployment
CGI
FastCGI
Deployment
CGI
FastCGI
WEBrick
Deployment
CGI
FastCGI
WEBrick
Mongrel
Deployment
CGI
FastCGI
WEBrick
Mongrel
Thin, Ebb
Deployment
CGI
FastCGI
WEBrick
Mongrel
Thin, Ebb
Passenger (mod_rails)
Ruby on Rails live
Ruby on Rails live
 Scribd.com
Ruby on Rails live
 Scribd.com
 Hulu.com
Ruby on Rails live
 Scribd.com
 Hulu.com
 Justin.tv
Ruby on Rails live
 Scribd.com
 Hulu.com
 Justin.tv
 Yellowpages
Ruby on Rails live
 Scribd.com
 Hulu.com
 Justin.tv
 Yellowpages
 Twitter
Ruby on Rails live
 Scribd.com
 Hulu.com
 Justin.tv
 Yellowpages
 Twitter
 Kongregate
Ruby on Rails live
 Scribd.com
 Hulu.com
 Justin.tv
 Yellowpages
 Twitter
 Kongregate
 Basecamp
Ruby on Rails live
 Scribd.com
 Hulu.com
 Justin.tv
 Yellowpages
 Twitter
 Kongregate
 Basecamp
 Github
Links
Links
http://www.rubyonrails.com/
http://railscasts.com/
http://peepcode.com/
http://www.railsforum.com/
http://apidock.com/
http://groups.google.com/group/rubyonrails-ro
Vă mulțumesc

More Related Content

Similar to Ruby on Rails

.NET Architects Day - DNAD 2011
.NET Architects Day - DNAD 2011.NET Architects Day - DNAD 2011
.NET Architects Day - DNAD 2011Fabio Akita
 
09 - Fábio Akita - Além do rails
09 - Fábio Akita - Além do rails09 - Fábio Akita - Além do rails
09 - Fábio Akita - Além do railsDNAD
 
Introduction to Rails - presented by Arman Ortega
Introduction to Rails - presented by Arman OrtegaIntroduction to Rails - presented by Arman Ortega
Introduction to Rails - presented by Arman Ortegaarman o
 
Building Read Models using event streams
Building Read Models using event streamsBuilding Read Models using event streams
Building Read Models using event streamsDenis Ivanov
 
Ruby on Rails : First Mile
Ruby on Rails : First MileRuby on Rails : First Mile
Ruby on Rails : First MileGourab Mitra
 
Ruby On Rails Tutorial
Ruby On Rails TutorialRuby On Rails Tutorial
Ruby On Rails Tutorialsunniboy
 
ruby on rails development company in india
ruby on rails development company in indiaruby on rails development company in india
ruby on rails development company in indiaSAG IPL
 
RubyEnRails2007 - Dr Nic Williams - Keynote
RubyEnRails2007 - Dr Nic Williams - KeynoteRubyEnRails2007 - Dr Nic Williams - Keynote
RubyEnRails2007 - Dr Nic Williams - KeynoteDr Nic Williams
 
Ruby Conf Preso
Ruby Conf PresoRuby Conf Preso
Ruby Conf PresoDan Yoder
 
Consegi 2010 - Dicas de Desenvolvimento Web com Ruby
Consegi 2010 - Dicas de Desenvolvimento Web com RubyConsegi 2010 - Dicas de Desenvolvimento Web com Ruby
Consegi 2010 - Dicas de Desenvolvimento Web com RubyFabio Akita
 
Introducing Merb
Introducing MerbIntroducing Merb
Introducing MerbBalint Erdi
 
Fisl - Deployment
Fisl - DeploymentFisl - Deployment
Fisl - DeploymentFabio Akita
 
Ruby On Rails - webdevelopment wordt weer leuk!
Ruby On Rails - webdevelopment wordt weer leuk!Ruby On Rails - webdevelopment wordt weer leuk!
Ruby On Rails - webdevelopment wordt weer leuk!Martin Hietkamp
 
Úvod do Ruby on Rails
Úvod do Ruby on RailsÚvod do Ruby on Rails
Úvod do Ruby on RailsKarel Minarik
 
Rapid API Development with LoopBack/StrongLoop
Rapid API Development with LoopBack/StrongLoopRapid API Development with LoopBack/StrongLoop
Rapid API Development with LoopBack/StrongLoopRaymond Camden
 
Introduction To Ruby On Rails
Introduction To Ruby On RailsIntroduction To Ruby On Rails
Introduction To Ruby On RailsSteve Keener
 
Ninad cucumber rails
Ninad cucumber railsNinad cucumber rails
Ninad cucumber railsninad23p
 

Similar to Ruby on Rails (20)

.NET Architects Day - DNAD 2011
.NET Architects Day - DNAD 2011.NET Architects Day - DNAD 2011
.NET Architects Day - DNAD 2011
 
09 - Fábio Akita - Além do rails
09 - Fábio Akita - Além do rails09 - Fábio Akita - Além do rails
09 - Fábio Akita - Além do rails
 
Introduction to Rails - presented by Arman Ortega
Introduction to Rails - presented by Arman OrtegaIntroduction to Rails - presented by Arman Ortega
Introduction to Rails - presented by Arman Ortega
 
Building Read Models using event streams
Building Read Models using event streamsBuilding Read Models using event streams
Building Read Models using event streams
 
Ruby On Rails
Ruby On RailsRuby On Rails
Ruby On Rails
 
Ruby on Rails : First Mile
Ruby on Rails : First MileRuby on Rails : First Mile
Ruby on Rails : First Mile
 
Ruby On Rails Tutorial
Ruby On Rails TutorialRuby On Rails Tutorial
Ruby On Rails Tutorial
 
ruby on rails development company in india
ruby on rails development company in indiaruby on rails development company in india
ruby on rails development company in india
 
RubyEnRails2007 - Dr Nic Williams - Keynote
RubyEnRails2007 - Dr Nic Williams - KeynoteRubyEnRails2007 - Dr Nic Williams - Keynote
RubyEnRails2007 - Dr Nic Williams - Keynote
 
Ruby Conf Preso
Ruby Conf PresoRuby Conf Preso
Ruby Conf Preso
 
Consegi 2010 - Dicas de Desenvolvimento Web com Ruby
Consegi 2010 - Dicas de Desenvolvimento Web com RubyConsegi 2010 - Dicas de Desenvolvimento Web com Ruby
Consegi 2010 - Dicas de Desenvolvimento Web com Ruby
 
Ruby on rails
Ruby on railsRuby on rails
Ruby on rails
 
Ruby On Rails
Ruby On RailsRuby On Rails
Ruby On Rails
 
Introducing Merb
Introducing MerbIntroducing Merb
Introducing Merb
 
Fisl - Deployment
Fisl - DeploymentFisl - Deployment
Fisl - Deployment
 
Ruby On Rails - webdevelopment wordt weer leuk!
Ruby On Rails - webdevelopment wordt weer leuk!Ruby On Rails - webdevelopment wordt weer leuk!
Ruby On Rails - webdevelopment wordt weer leuk!
 
Úvod do Ruby on Rails
Úvod do Ruby on RailsÚvod do Ruby on Rails
Úvod do Ruby on Rails
 
Rapid API Development with LoopBack/StrongLoop
Rapid API Development with LoopBack/StrongLoopRapid API Development with LoopBack/StrongLoop
Rapid API Development with LoopBack/StrongLoop
 
Introduction To Ruby On Rails
Introduction To Ruby On RailsIntroduction To Ruby On Rails
Introduction To Ruby On Rails
 
Ninad cucumber rails
Ninad cucumber railsNinad cucumber rails
Ninad cucumber rails
 

Ruby on Rails