SlideShare a Scribd company logo
Session 1:
Getting Started With Rails
IRIS, NITK
About the
Bootcamp
- IRIS is a team of motivated students
working to digitize administrative,
academic and alumni-related
activities.
- The Ruby on Rails Bootcamp is an
opportunity for us to interact with the
next generation and help them make
NITK a better place.
- We are students just like you, not
professionals :)
My Philosophy
- Programming is equal parts engineering and art.
- Programming is (mostly) self-taught.
- Learning small, specific concepts at a time is effective.
- Feedback accelerates growth.
Caution: I take myself too seriously ¯_(ツ)_/¯
Some Web Terms
(Oversimplified)
- A Webpage is a HTML document that
can be viewed by browser.
- A Website is a collection of webpages.
- A Web Application processes client
requests and responds with web
pages.
- A Web Framework solves common
web development problems like data
management, session management
and building attractive UI.
What is MVC? Divides program logic into three
interconnected elements:
- Model: stores and processes data.
- Controller: decides the flow of process.
- View: presents data to user.
Let’s take a closer look with examples.
Example: Exam Grades
How to present data? (View)
Student’s view: marks, grades of all my courses
Faculty’s view: marks, grades of all students and a
statistical breakdown of a particular course
Academic Section’s view: grades of all students
arranged by semester
How to store and process data? (Model)
- Spreadsheets
- Databases
- Cloud Storage
How to decide which view to show? (Controller)
Example: IRIS Forms
How to present data? (View)
Form Creator’s view: show individual and
summary of responses, ability to edit form.
Form Filler' view: ability to fill, edit and delete
form response.
How to store and process data? (Model)
- Spreadsheets
- Databases
- Cloud Storage
How to decide which view to show? (Controller)
How MVC Works
Why Bother with MVC?
- Clean, maintainable code
- Loose coupling of the components
- Logical separation of concerns
It’s alright if you don’t appreciate MVC right now - experience with building applications required :)
What is Ruby on Rails?
- Ruby is a loosely-typed, interpreted
language.
- Ruby “optimizes” for programmer
happiness with clean, elegant syntax.
- Rails is a MVC web framework built on top
of Ruby.
- Models and Controllers are written in Ruby
whereas Views are written in HTML, JS and
other formats.
That’s all of theory - let’s build a Website!
Building a “About Me” Website on Rails
Prerequisites:
- Install Ubuntu (on VM or dual boot)
- Install Git
- Install RVM, Ruby and Rails
- Clone the RoR bootcamp repository

More Related Content

PDF
Ruby Rails Web Development
PDF
Ruby Rails Web Development
PDF
Ruby Rails Web Development.pdf
KEY
Supa fast Ruby + Rails
PDF
Introduction to Ruby on Rails
PPTX
Learning Web Development with Ruby on Rails Launch
PPT
Introduction To Rails
PPT
MVC Demystified: Essence of Ruby on Rails
Ruby Rails Web Development
Ruby Rails Web Development
Ruby Rails Web Development.pdf
Supa fast Ruby + Rails
Introduction to Ruby on Rails
Learning Web Development with Ruby on Rails Launch
Introduction To Rails
MVC Demystified: Essence of Ruby on Rails

Similar to Session 1 - Getting Started With Rails.pptx (20)

PPT
Ruby On Rails Tutorial
KEY
Intro to Ruby on Rails
PDF
Learning Rails 3 Rails from the Outside In 1st Edition Simon St. Laurent
PDF
Aspose pdf
PDF
The Birth and Evolution of Ruby on Rails
PDF
Ruby Rails Web Development
PPT
Ruby On Rails
PDF
Introduction to Rails - presented by Arman Ortega
PPTX
12 Introduction to Rails
PPT
Viridians on Rails
PPT
RubyonRails
PPT
Ruby on rails
PPT
Ruby On Rails Siddhesh
PDF
Learning Rails 3 Rails from the Outside In 1st Edition Simon St. Laurent
PDF
Beyond rails new
PDF
Ruby and Rails for womens
DOC
Rails interview questions
KEY
Introduction to Rails
PDF
Lecture #5 Introduction to rails
PDF
Introduction to Rails by Evgeniy Hinyuk
Ruby On Rails Tutorial
Intro to Ruby on Rails
Learning Rails 3 Rails from the Outside In 1st Edition Simon St. Laurent
Aspose pdf
The Birth and Evolution of Ruby on Rails
Ruby Rails Web Development
Ruby On Rails
Introduction to Rails - presented by Arman Ortega
12 Introduction to Rails
Viridians on Rails
RubyonRails
Ruby on rails
Ruby On Rails Siddhesh
Learning Rails 3 Rails from the Outside In 1st Edition Simon St. Laurent
Beyond rails new
Ruby and Rails for womens
Rails interview questions
Introduction to Rails
Lecture #5 Introduction to rails
Introduction to Rails by Evgeniy Hinyuk
Ad

Recently uploaded (20)

PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
Introduction to Artificial Intelligence
PPTX
CHAPTER 2 - PM Management and IT Context
PPTX
Transform Your Business with a Software ERP System
PPTX
Essential Infomation Tech presentation.pptx
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
System and Network Administration Chapter 2
PDF
System and Network Administraation Chapter 3
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
medical staffing services at VALiNTRY
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Nekopoi APK 2025 free lastest update
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Navsoft: AI-Powered Business Solutions & Custom Software Development
Introduction to Artificial Intelligence
CHAPTER 2 - PM Management and IT Context
Transform Your Business with a Software ERP System
Essential Infomation Tech presentation.pptx
PTS Company Brochure 2025 (1).pdf.......
Wondershare Filmora 15 Crack With Activation Key [2025
System and Network Administration Chapter 2
System and Network Administraation Chapter 3
Design an Analysis of Algorithms I-SECS-1021-03
Odoo POS Development Services by CandidRoot Solutions
medical staffing services at VALiNTRY
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Nekopoi APK 2025 free lastest update
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Reimagine Home Health with the Power of Agentic AI​
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
How to Migrate SBCGlobal Email to Yahoo Easily
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Ad

Session 1 - Getting Started With Rails.pptx

  • 1. Session 1: Getting Started With Rails IRIS, NITK
  • 2. About the Bootcamp - IRIS is a team of motivated students working to digitize administrative, academic and alumni-related activities. - The Ruby on Rails Bootcamp is an opportunity for us to interact with the next generation and help them make NITK a better place. - We are students just like you, not professionals :)
  • 3. My Philosophy - Programming is equal parts engineering and art. - Programming is (mostly) self-taught. - Learning small, specific concepts at a time is effective. - Feedback accelerates growth. Caution: I take myself too seriously ¯_(ツ)_/¯
  • 4. Some Web Terms (Oversimplified) - A Webpage is a HTML document that can be viewed by browser. - A Website is a collection of webpages. - A Web Application processes client requests and responds with web pages. - A Web Framework solves common web development problems like data management, session management and building attractive UI.
  • 5. What is MVC? Divides program logic into three interconnected elements: - Model: stores and processes data. - Controller: decides the flow of process. - View: presents data to user. Let’s take a closer look with examples.
  • 6. Example: Exam Grades How to present data? (View) Student’s view: marks, grades of all my courses Faculty’s view: marks, grades of all students and a statistical breakdown of a particular course Academic Section’s view: grades of all students arranged by semester How to store and process data? (Model) - Spreadsheets - Databases - Cloud Storage How to decide which view to show? (Controller)
  • 7. Example: IRIS Forms How to present data? (View) Form Creator’s view: show individual and summary of responses, ability to edit form. Form Filler' view: ability to fill, edit and delete form response. How to store and process data? (Model) - Spreadsheets - Databases - Cloud Storage How to decide which view to show? (Controller)
  • 9. Why Bother with MVC? - Clean, maintainable code - Loose coupling of the components - Logical separation of concerns It’s alright if you don’t appreciate MVC right now - experience with building applications required :)
  • 10. What is Ruby on Rails? - Ruby is a loosely-typed, interpreted language. - Ruby “optimizes” for programmer happiness with clean, elegant syntax. - Rails is a MVC web framework built on top of Ruby. - Models and Controllers are written in Ruby whereas Views are written in HTML, JS and other formats. That’s all of theory - let’s build a Website!
  • 11. Building a “About Me” Website on Rails Prerequisites: - Install Ubuntu (on VM or dual boot) - Install Git - Install RVM, Ruby and Rails - Clone the RoR bootcamp repository