SlideShare a Scribd company logo
Rails 101
Who are you? 
lMarwan Nakhaleh 
lThird year computer science 
and engineering student at Ohio 
State 
lOne and a half years' 
experience with Ruby on Rails 
lhttp://marwannakhaleh.com
Who am I? 
lIntroduce yourself!
Polling! 
lWho knows what a web framework is? 
lWho knows what Ruby on Rails is?
What is Ruby on Rails? 
lRuby on Rails, commonly referred to as Rails, is 
an open source web application framework written 
in the Ruby programming language. 
lIt's a full-stack framework, meaning that Rails by 
itself can hold a complete application. 
lRails emphasizes the model-view-controller 
software paradigm.
Convention vs. Configuration 
lSeeks to reduce the number of decisions 
developers have to make 
lRails will configure as much of the app as 
possible without specific input made by the 
developer, but in the event the developer has to 
put in special input, he/she can edit configuration 
files
HTTP Commands 
lGET 
lRetrieves a representation of a resource 
lPOST 
lPuts new resources with a generated ID 
lDELETE 
lRemoves resources
RubyGems 
lPackage manager for Ruby 
lThat's how we're gonna install Rails! 
lAllows for certain plugins to be used with Rails 
applications 
lDevise (authentication), PostgreSQL (database), 
Paperclip (image upload), will_paginate (pagination)
Who's running what? 
lWindows? 
lLinux? 
lMac?
Setup!
Let’s make something! 
lSuper basic Twitter clone 
lFull authentication with Devise! 
lTweet model!
Additional Resources 
lBuild a full-fledged Twitter clone from scratch with Ruby on Rails 
lhttp://railstutorial.net/book 
lRails for Zombies 
lhttp://railsforzombies.org 
lThis slideshow 
lhttp://www.slideshare.net/mnakhaleh/rails-101-41426276

More Related Content

What's hot

Ruby an overall approach
Ruby an overall approachRuby an overall approach
Ruby an overall approach
Felipe Schmitt
 
Introduction To C#
Introduction To C#Introduction To C#
Introduction To C#rahulsahay19
 
Evalution about programming language part 1
Evalution about programming language part 1Evalution about programming language part 1
Evalution about programming language part 1
Synapseindiappsdevelopment
 
Droidcon Online 2020 quick summary
Droidcon Online 2020 quick summaryDroidcon Online 2020 quick summary
Droidcon Online 2020 quick summary
Bartosz Kosarzycki
 
PDQ Programming Languages plus an overview of Alice - Frank Ducrest
PDQ Programming Languages plus an overview of Alice - Frank DucrestPDQ Programming Languages plus an overview of Alice - Frank Ducrest
PDQ Programming Languages plus an overview of Alice - Frank Ducrest
Matthew Turland
 
Buildingwebapplicationswith.net
Buildingwebapplicationswith.netBuildingwebapplicationswith.net
Buildingwebapplicationswith.netKolagani Veera
 
Programming paradigm and web programming
Programming paradigm and web programmingProgramming paradigm and web programming
Programming paradigm and web programming
Mohammad Kamrul Hasan
 
The Ring programming language version 1.8 book - Part 6 of 202
The Ring programming language version 1.8 book - Part 6 of 202The Ring programming language version 1.8 book - Part 6 of 202
The Ring programming language version 1.8 book - Part 6 of 202
Mahmoud Samir Fayed
 
Why Scala for Web 2.0?
Why Scala for Web 2.0?Why Scala for Web 2.0?
Why Scala for Web 2.0?
Alex Payne
 
Evolution of Programming Languages
Evolution of Programming LanguagesEvolution of Programming Languages
Evolution of Programming Languages
Sayanee Basu
 
New c sharp3_features_(linq)_part_iv
New c sharp3_features_(linq)_part_ivNew c sharp3_features_(linq)_part_iv
New c sharp3_features_(linq)_part_iv
Nico Ludwig
 
Scala Jump Start
Scala Jump StartScala Jump Start
Scala Jump Start
Haim Michael
 
Seminar globalize3 - DungNV
Seminar globalize3 - DungNVSeminar globalize3 - DungNV
Seminar globalize3 - DungNV
Framgia Vietnam
 
Tml for Ruby on Rails
Tml for Ruby on RailsTml for Ruby on Rails
Tml for Ruby on Rails
Michael Berkovich
 
.Net language support
.Net language support.Net language support
.Net language support
Then Murugeshwari
 
What is c#
What is c#What is c#
What is c#
shwet18
 
REST Coder: Auto Generating Client Stubs and Documentation for REST APIs
REST Coder: Auto Generating Client Stubs and Documentation for REST APIsREST Coder: Auto Generating Client Stubs and Documentation for REST APIs
REST Coder: Auto Generating Client Stubs and Documentation for REST APIs
Hiranya Jayathilaka
 
The Ring programming language version 1.6 book - Part 6 of 189
The Ring programming language version 1.6 book - Part 6 of 189The Ring programming language version 1.6 book - Part 6 of 189
The Ring programming language version 1.6 book - Part 6 of 189
Mahmoud Samir Fayed
 

What's hot (20)

Ruby an overall approach
Ruby an overall approachRuby an overall approach
Ruby an overall approach
 
Introduction To C#
Introduction To C#Introduction To C#
Introduction To C#
 
Evalution about programming language part 1
Evalution about programming language part 1Evalution about programming language part 1
Evalution about programming language part 1
 
Droidcon Online 2020 quick summary
Droidcon Online 2020 quick summaryDroidcon Online 2020 quick summary
Droidcon Online 2020 quick summary
 
PDQ Programming Languages plus an overview of Alice - Frank Ducrest
PDQ Programming Languages plus an overview of Alice - Frank DucrestPDQ Programming Languages plus an overview of Alice - Frank Ducrest
PDQ Programming Languages plus an overview of Alice - Frank Ducrest
 
Buildingwebapplicationswith.net
Buildingwebapplicationswith.netBuildingwebapplicationswith.net
Buildingwebapplicationswith.net
 
Programming paradigm and web programming
Programming paradigm and web programmingProgramming paradigm and web programming
Programming paradigm and web programming
 
The Ring programming language version 1.8 book - Part 6 of 202
The Ring programming language version 1.8 book - Part 6 of 202The Ring programming language version 1.8 book - Part 6 of 202
The Ring programming language version 1.8 book - Part 6 of 202
 
Why Scala for Web 2.0?
Why Scala for Web 2.0?Why Scala for Web 2.0?
Why Scala for Web 2.0?
 
Scala
ScalaScala
Scala
 
Evolution of Programming Languages
Evolution of Programming LanguagesEvolution of Programming Languages
Evolution of Programming Languages
 
New c sharp3_features_(linq)_part_iv
New c sharp3_features_(linq)_part_ivNew c sharp3_features_(linq)_part_iv
New c sharp3_features_(linq)_part_iv
 
Scala Jump Start
Scala Jump StartScala Jump Start
Scala Jump Start
 
Seminar globalize3 - DungNV
Seminar globalize3 - DungNVSeminar globalize3 - DungNV
Seminar globalize3 - DungNV
 
Tml for Ruby on Rails
Tml for Ruby on RailsTml for Ruby on Rails
Tml for Ruby on Rails
 
RubyonRails
RubyonRailsRubyonRails
RubyonRails
 
.Net language support
.Net language support.Net language support
.Net language support
 
What is c#
What is c#What is c#
What is c#
 
REST Coder: Auto Generating Client Stubs and Documentation for REST APIs
REST Coder: Auto Generating Client Stubs and Documentation for REST APIsREST Coder: Auto Generating Client Stubs and Documentation for REST APIs
REST Coder: Auto Generating Client Stubs and Documentation for REST APIs
 
The Ring programming language version 1.6 book - Part 6 of 189
The Ring programming language version 1.6 book - Part 6 of 189The Ring programming language version 1.6 book - Part 6 of 189
The Ring programming language version 1.6 book - Part 6 of 189
 

Viewers also liked

Amazon arlette pd
Amazon arlette pdAmazon arlette pd
Amazon arlette pd
Arlette Carchi
 
Tutorial compra online_yanailert gimenez
Tutorial compra online_yanailert gimenezTutorial compra online_yanailert gimenez
Tutorial compra online_yanailert gimenezyanailert
 
22. o novo papel do lider nas organizações rosatricia
22. o novo papel do lider nas organizações rosatricia22. o novo papel do lider nas organizações rosatricia
22. o novo papel do lider nas organizações rosatriciachristianceapcursos
 
SOC 204 Goldberg Ch 12
SOC 204 Goldberg Ch 12SOC 204 Goldberg Ch 12
SOC 204 Goldberg Ch 12
Michelle Meyer
 
Problemas del comercio electronico 1
Problemas del comercio electronico 1Problemas del comercio electronico 1
Problemas del comercio electronico 1Valeria Ojeda
 
La era digital y la era de las telecomunicaciones
La era digital y la era de las telecomunicaciones La era digital y la era de las telecomunicaciones
La era digital y la era de las telecomunicaciones Valeria Ojeda
 
Membangun Aplikasi Database Oracle Menggunakan Visual Basic
Membangun Aplikasi Database Oracle Menggunakan Visual BasicMembangun Aplikasi Database Oracle Menggunakan Visual Basic
Membangun Aplikasi Database Oracle Menggunakan Visual BasicOcim Nationalism
 
Dasar Pemrograman PHP dan MySQL
Dasar Pemrograman PHP dan MySQLDasar Pemrograman PHP dan MySQL
Dasar Pemrograman PHP dan MySQLOcim Nationalism
 
Location notes
Location notesLocation notes
Location notes
Thuvaa Kuru
 
Logística en el comercio electrónico minorista
Logística en el comercio electrónico minoristaLogística en el comercio electrónico minorista
Logística en el comercio electrónico minorista
Marcos Pueyrredon
 
Estrategia de amazon
Estrategia de amazonEstrategia de amazon
Estrategia de amazon
Rosa Alfaro
 
Curso Cloud Computing, Parte 1: Amazon Web Services
Curso Cloud Computing, Parte 1: Amazon Web ServicesCurso Cloud Computing, Parte 1: Amazon Web Services
Curso Cloud Computing, Parte 1: Amazon Web Services
Diego López-de-Ipiña González-de-Artaza
 
Escalando a sus primeros 10 millones de usuarios
Escalando a sus primeros 10 millones de usuarios Escalando a sus primeros 10 millones de usuarios
Escalando a sus primeros 10 millones de usuarios
Amazon Web Services LATAM
 
Caso amazon
Caso amazonCaso amazon
Caso de Estudio Amazon
Caso de Estudio AmazonCaso de Estudio Amazon
Caso de Estudio Amazon
Luis Guillermo Aceves
 

Viewers also liked (20)

Amazon arlette pd
Amazon arlette pdAmazon arlette pd
Amazon arlette pd
 
Tutorial compra online_yanailert gimenez
Tutorial compra online_yanailert gimenezTutorial compra online_yanailert gimenez
Tutorial compra online_yanailert gimenez
 
22. o novo papel do lider nas organizações rosatricia
22. o novo papel do lider nas organizações rosatricia22. o novo papel do lider nas organizações rosatricia
22. o novo papel do lider nas organizações rosatricia
 
SOC 204 Goldberg Ch 12
SOC 204 Goldberg Ch 12SOC 204 Goldberg Ch 12
SOC 204 Goldberg Ch 12
 
Myspace
MyspaceMyspace
Myspace
 
Problemas del comercio electronico 1
Problemas del comercio electronico 1Problemas del comercio electronico 1
Problemas del comercio electronico 1
 
Շների մասին
Շների մասինՇների մասին
Շների մասին
 
Tutorial coreldraw
Tutorial coreldrawTutorial coreldraw
Tutorial coreldraw
 
La era digital y la era de las telecomunicaciones
La era digital y la era de las telecomunicaciones La era digital y la era de las telecomunicaciones
La era digital y la era de las telecomunicaciones
 
Membangun Aplikasi Database Oracle Menggunakan Visual Basic
Membangun Aplikasi Database Oracle Menggunakan Visual BasicMembangun Aplikasi Database Oracle Menggunakan Visual Basic
Membangun Aplikasi Database Oracle Menggunakan Visual Basic
 
Dasar Pemrograman PHP dan MySQL
Dasar Pemrograman PHP dan MySQLDasar Pemrograman PHP dan MySQL
Dasar Pemrograman PHP dan MySQL
 
Location notes
Location notesLocation notes
Location notes
 
Logística en el comercio electrónico minorista
Logística en el comercio electrónico minoristaLogística en el comercio electrónico minorista
Logística en el comercio electrónico minorista
 
Estrategia de amazon
Estrategia de amazonEstrategia de amazon
Estrategia de amazon
 
Curso Cloud Computing, Parte 1: Amazon Web Services
Curso Cloud Computing, Parte 1: Amazon Web ServicesCurso Cloud Computing, Parte 1: Amazon Web Services
Curso Cloud Computing, Parte 1: Amazon Web Services
 
Escalando a sus primeros 10 millones de usuarios
Escalando a sus primeros 10 millones de usuarios Escalando a sus primeros 10 millones de usuarios
Escalando a sus primeros 10 millones de usuarios
 
Caso amazon
Caso amazonCaso amazon
Caso amazon
 
Amazon
AmazonAmazon
Amazon
 
Caso amazon
Caso amazonCaso amazon
Caso amazon
 
Caso de Estudio Amazon
Caso de Estudio AmazonCaso de Estudio Amazon
Caso de Estudio Amazon
 

Similar to Rails 101

Ruby On Rails
Ruby On RailsRuby On Rails
Ruby On Rails
iradarji
 
Ruby Rails Web Development.pdf
Ruby Rails Web Development.pdfRuby Rails Web Development.pdf
Ruby Rails Web Development.pdf
Ayesha Siddika
 
Instruments ruby on rails
Instruments ruby on railsInstruments ruby on rails
Instruments ruby on railspmashchak
 
Ruby on rails | iteron
Ruby on rails | iteronRuby on rails | iteron
Ruby on rails | iteron
Iteron Group
 
Aspose pdf
Aspose pdfAspose pdf
Aspose pdf
Jim Jones
 
Ruby on Rails : First Mile
Ruby on Rails : First MileRuby on Rails : First Mile
Ruby on Rails : First Mile
Gourab Mitra
 
Why Use Ruby On Rails.pdf
Why Use Ruby On Rails.pdfWhy Use Ruby On Rails.pdf
Why Use Ruby On Rails.pdf
Katy Slemon
 
Ruby on rails backend development preferred choice for product owners
Ruby on rails backend development preferred choice for product ownersRuby on rails backend development preferred choice for product owners
Ruby on rails backend development preferred choice for product owners
Katy Slemon
 
Ruby On Rails
Ruby On RailsRuby On Rails
Ruby On Rails
Eric Berry
 
Úvod do Ruby on Rails
Úvod do Ruby on RailsÚvod do Ruby on Rails
Úvod do Ruby on Rails
Karel Minarik
 
Lecture #5 Introduction to rails
Lecture #5 Introduction to railsLecture #5 Introduction to rails
Lecture #5 Introduction to rails
Evgeniy Hinyuk
 
Introduction to Rails by Evgeniy Hinyuk
Introduction to Rails by Evgeniy HinyukIntroduction to Rails by Evgeniy Hinyuk
Introduction to Rails by Evgeniy Hinyuk
Pivorak MeetUp
 
Ruby On Rails
Ruby On RailsRuby On Rails
Ruby On Rails
anides
 
8 Common Ruby on Rails Development Mistakes to Avoid
8 Common Ruby on Rails Development Mistakes to Avoid8 Common Ruby on Rails Development Mistakes to Avoid
8 Common Ruby on Rails Development Mistakes to Avoid
rorbitssoftware
 
Introduction to Ruby on Rails
Introduction to Ruby on RailsIntroduction to Ruby on Rails
Introduction to Ruby on Rails
hasan2000
 
Laravel - A Trending PHP Framework
Laravel - A Trending PHP FrameworkLaravel - A Trending PHP Framework
Laravel - A Trending PHP Framework
ijtsrd
 
Laravel vs ASP.NET Framework .pdf
Laravel vs ASP.NET Framework .pdfLaravel vs ASP.NET Framework .pdf
Laravel vs ASP.NET Framework .pdf
WPWeb Infotech
 
Ruby on Rails Web Development Best Practices and Tips.pdf
Ruby on Rails Web Development Best Practices and Tips.pdfRuby on Rails Web Development Best Practices and Tips.pdf
Ruby on Rails Web Development Best Practices and Tips.pdf
lubnayasminsebl
 
Frequently Asked Questions About Laravel
Frequently Asked Questions About LaravelFrequently Asked Questions About Laravel
Frequently Asked Questions About Laravel
AResourcePool
 
Ruby On Rails Tutorial
Ruby On Rails TutorialRuby On Rails Tutorial
Ruby On Rails Tutorialsunniboy
 

Similar to Rails 101 (20)

Ruby On Rails
Ruby On RailsRuby On Rails
Ruby On Rails
 
Ruby Rails Web Development.pdf
Ruby Rails Web Development.pdfRuby Rails Web Development.pdf
Ruby Rails Web Development.pdf
 
Instruments ruby on rails
Instruments ruby on railsInstruments ruby on rails
Instruments ruby on rails
 
Ruby on rails | iteron
Ruby on rails | iteronRuby on rails | iteron
Ruby on rails | iteron
 
Aspose pdf
Aspose pdfAspose pdf
Aspose pdf
 
Ruby on Rails : First Mile
Ruby on Rails : First MileRuby on Rails : First Mile
Ruby on Rails : First Mile
 
Why Use Ruby On Rails.pdf
Why Use Ruby On Rails.pdfWhy Use Ruby On Rails.pdf
Why Use Ruby On Rails.pdf
 
Ruby on rails backend development preferred choice for product owners
Ruby on rails backend development preferred choice for product ownersRuby on rails backend development preferred choice for product owners
Ruby on rails backend development preferred choice for product owners
 
Ruby On Rails
Ruby On RailsRuby On Rails
Ruby On Rails
 
Úvod do Ruby on Rails
Úvod do Ruby on RailsÚvod do Ruby on Rails
Úvod do Ruby on Rails
 
Lecture #5 Introduction to rails
Lecture #5 Introduction to railsLecture #5 Introduction to rails
Lecture #5 Introduction to rails
 
Introduction to Rails by Evgeniy Hinyuk
Introduction to Rails by Evgeniy HinyukIntroduction to Rails by Evgeniy Hinyuk
Introduction to Rails by Evgeniy Hinyuk
 
Ruby On Rails
Ruby On RailsRuby On Rails
Ruby On Rails
 
8 Common Ruby on Rails Development Mistakes to Avoid
8 Common Ruby on Rails Development Mistakes to Avoid8 Common Ruby on Rails Development Mistakes to Avoid
8 Common Ruby on Rails Development Mistakes to Avoid
 
Introduction to Ruby on Rails
Introduction to Ruby on RailsIntroduction to Ruby on Rails
Introduction to Ruby on Rails
 
Laravel - A Trending PHP Framework
Laravel - A Trending PHP FrameworkLaravel - A Trending PHP Framework
Laravel - A Trending PHP Framework
 
Laravel vs ASP.NET Framework .pdf
Laravel vs ASP.NET Framework .pdfLaravel vs ASP.NET Framework .pdf
Laravel vs ASP.NET Framework .pdf
 
Ruby on Rails Web Development Best Practices and Tips.pdf
Ruby on Rails Web Development Best Practices and Tips.pdfRuby on Rails Web Development Best Practices and Tips.pdf
Ruby on Rails Web Development Best Practices and Tips.pdf
 
Frequently Asked Questions About Laravel
Frequently Asked Questions About LaravelFrequently Asked Questions About Laravel
Frequently Asked Questions About Laravel
 
Ruby On Rails Tutorial
Ruby On Rails TutorialRuby On Rails Tutorial
Ruby On Rails Tutorial
 

Rails 101

  • 2. Who are you? lMarwan Nakhaleh lThird year computer science and engineering student at Ohio State lOne and a half years' experience with Ruby on Rails lhttp://marwannakhaleh.com
  • 3. Who am I? lIntroduce yourself!
  • 4. Polling! lWho knows what a web framework is? lWho knows what Ruby on Rails is?
  • 5. What is Ruby on Rails? lRuby on Rails, commonly referred to as Rails, is an open source web application framework written in the Ruby programming language. lIt's a full-stack framework, meaning that Rails by itself can hold a complete application. lRails emphasizes the model-view-controller software paradigm.
  • 6. Convention vs. Configuration lSeeks to reduce the number of decisions developers have to make lRails will configure as much of the app as possible without specific input made by the developer, but in the event the developer has to put in special input, he/she can edit configuration files
  • 7. HTTP Commands lGET lRetrieves a representation of a resource lPOST lPuts new resources with a generated ID lDELETE lRemoves resources
  • 8. RubyGems lPackage manager for Ruby lThat's how we're gonna install Rails! lAllows for certain plugins to be used with Rails applications lDevise (authentication), PostgreSQL (database), Paperclip (image upload), will_paginate (pagination)
  • 9. Who's running what? lWindows? lLinux? lMac?
  • 11. Let’s make something! lSuper basic Twitter clone lFull authentication with Devise! lTweet model!
  • 12. Additional Resources lBuild a full-fledged Twitter clone from scratch with Ruby on Rails lhttp://railstutorial.net/book lRails for Zombies lhttp://railsforzombies.org lThis slideshow lhttp://www.slideshare.net/mnakhaleh/rails-101-41426276