SlideShare a Scribd company logo
Ruby On Rails
A Quick Walkthrough



               Sawood Alam
               salam@cs.odu.edu
Introduction



     "Ruby on Rails is an open-source web
  framework that's optimized for programmer
 happiness and sustainable productivity. It lets
you write beautiful code by favoring convention
        over configuration." -- RubyOnRails.Org
Convention Over Configuration
●   Rapid development
●   Self explanatory code
●   Easier to understand
●   Easier to refactor
●   Easier to maintain
●   Easier to learn
●   Easier to collaborate
●   Room for breaking convention, if needed
DRY
●   Don't Repeat Yourself
●   Heavy-lifting once
●   Refactor and organize the code
●   Changes in one place reflect everywhere
MVC
●   Model-View-Controller
●   Isolation of business logic, data and UI
●   Keeps code DRY
●   What goes where? - predictable
RESTful
●   Map HTTP verbs to resource actions
●   Verbs are finite, nouns are infinite
●   GET, POST, PUT, DELETE...
Code Organisation
●   Well defined directory structure
●   Easier to deploy
●   Easier to collaborate
●   Predictive place for everything
Database Agnostic
●   Changing database? change the config file
●   SQLite, MySQL, PostgreSQL, Oracle...
●   Schemaless DB? not an issue!
Hosting
●   Heroku
●   Rails Machine
●   Joyent
●   Brightbox
●   Engine Yard
●   Slicehost
●   Linode
●   ...
Where To Go Next?
●   Rails Guides
●   Ruby on Rails Tutorial
●   Try Ruby
●   Rails for Zombies
●   Railscasts
●   Rails3 Screencast Series
Questions?
  Thank you!



               Sawood Alam
               salam@cs.odu.edu

More Related Content

PDF
Cloud App Develop
PDF
Олег Слободской "UVP of CSSinJS and the future"
PDF
Adding and modifying LESS in your web site templates
PDF
ASP.NET Scalability - DDD7
PDF
Android 12 13_6
PDF
ASP.NET Scalability - WebDD
PDF
Lean and mean MongoDB
KEY
Mongo Seattle - The Business of MongoDB
Cloud App Develop
Олег Слободской "UVP of CSSinJS and the future"
Adding and modifying LESS in your web site templates
ASP.NET Scalability - DDD7
Android 12 13_6
ASP.NET Scalability - WebDD
Lean and mean MongoDB
Mongo Seattle - The Business of MongoDB

What's hot (20)

PDF
Optimising for Performance
PPTX
Performance Web
PDF
ASP.NET Scalability - NxtGen Oxford
PPTX
mongodb-brief-intro-february-2012
PDF
Supercharge your RDBMS with Elasticsearch
KEY
Torquebox rubyhoedown-2012
PDF
Intro to node.js
PPTX
Introduction to mean stack
PPTX
WebAssembly overview. KievJS meetup
DOC
Google web toolkit gwt training
PDF
Java Memory Structure
PPTX
Microservices: A developer's approach
PPTX
Angular js introduction
PDF
Elasticsearch JVM-MX Meetup April 2016
PDF
AEM/CQ Montreal User Group Meeting - March 25, 2015 - Takeaways from Adobe Su...
PPTX
Scalable server component using NodeJS & ExpressJS
PDF
Modern ClojureScript
PDF
PHPCR - Standard Content Repository for PHP
PDF
Openstack India May Meetup
PDF
Multi-tenant Database Design for SaaS
Optimising for Performance
Performance Web
ASP.NET Scalability - NxtGen Oxford
mongodb-brief-intro-february-2012
Supercharge your RDBMS with Elasticsearch
Torquebox rubyhoedown-2012
Intro to node.js
Introduction to mean stack
WebAssembly overview. KievJS meetup
Google web toolkit gwt training
Java Memory Structure
Microservices: A developer's approach
Angular js introduction
Elasticsearch JVM-MX Meetup April 2016
AEM/CQ Montreal User Group Meeting - March 25, 2015 - Takeaways from Adobe Su...
Scalable server component using NodeJS & ExpressJS
Modern ClojureScript
PHPCR - Standard Content Repository for PHP
Openstack India May Meetup
Multi-tenant Database Design for SaaS
Ad

Similar to Ruby On Rails (20)

PDF
Rails 120412201605-phpapp02
PDF
JPoint'15 Mom, I so wish Hibernate for my NoSQL database...
PPTX
SELF - Becoming a Rails Developer - The Rest of the Story
PDF
Docker. Does it matter for Java developer ?
PDF
Dropwizard
PDF
Dropwizard
PPTX
Mean stack
PPTX
In-memory Databases
PDF
kranonit S06E01 Игорь Цинько: High load
PPTX
mearn-stackjdksjdsfjdkofkdokodkojdj.pptx
PDF
The future of cloud programming
PPTX
Searching for the framework of my dreams in node.js ecosystem by Mykyta Semen...
PDF
MEAN Stack
PDF
MEAN Stack
PPTX
mearn-stack-new_ccvbhbhvgvgcdszsxdxfcf.pptx
PPTX
Oracle application container cloud back end integration using node final
PPTX
What is Mean Stack Development ?
PDF
Experiences with Evangelizing Java Within the Database
PDF
Meanstack Introduction by Kishore Chandra
PPTX
Introduction to node.js
Rails 120412201605-phpapp02
JPoint'15 Mom, I so wish Hibernate for my NoSQL database...
SELF - Becoming a Rails Developer - The Rest of the Story
Docker. Does it matter for Java developer ?
Dropwizard
Dropwizard
Mean stack
In-memory Databases
kranonit S06E01 Игорь Цинько: High load
mearn-stackjdksjdsfjdkofkdokodkojdj.pptx
The future of cloud programming
Searching for the framework of my dreams in node.js ecosystem by Mykyta Semen...
MEAN Stack
MEAN Stack
mearn-stack-new_ccvbhbhvgvgcdszsxdxfcf.pptx
Oracle application container cloud back end integration using node final
What is Mean Stack Development ?
Experiences with Evangelizing Java Within the Database
Meanstack Introduction by Kishore Chandra
Introduction to node.js
Ad

More from Sawood Alam (20)

PDF
TrendMachine: Temporal Resilience of Web Pages
PDF
CDX Summary: Web Archival Collection Insights
PDF
Video Archiving and Playback in the Wayback Machine
PDF
Profiling Web Archival Voids for Memento Routing
PDF
Readying Web Archives to Consume and Leverage Web Bundles
PDF
Summarize Your Archival Holdings With MementoMap
PDF
MementoMap: A Web Archive Profiling Framework for Efficient Memento Routing
PDF
Supporting Web Archiving via Web Packaging
PDF
MementoMap: An Archive Profile Dissemination Framework
PDF
Impact of HTTP Cookie Violations in Web Archives
PDF
Archive Assisted Archival Fixity Verification Framework
PDF
MementoMap Framework for Flexible and Adaptive Web Archive Profiling
PDF
Web ARChive (WARC) File Format
PDF
InterPlanetary Wayback: The Next Step Towards Decentralized Web Archiving
PDF
MemGator - A Memento Aggregator CLI and Server in Go
PDF
Dockerize Your Projects - A Brief Introduction to Containerization
PDF
Avoiding Zombies in Archival Replay Using ServiceWorker
PDF
Client-side Reconstruction of Composite Mementos Using ServiceWorker
PDF
TPDL 2016 Doctoral Consortium - Web Archive Profiling
PDF
Introducing Web Archiving and WSDL Research Group
TrendMachine: Temporal Resilience of Web Pages
CDX Summary: Web Archival Collection Insights
Video Archiving and Playback in the Wayback Machine
Profiling Web Archival Voids for Memento Routing
Readying Web Archives to Consume and Leverage Web Bundles
Summarize Your Archival Holdings With MementoMap
MementoMap: A Web Archive Profiling Framework for Efficient Memento Routing
Supporting Web Archiving via Web Packaging
MementoMap: An Archive Profile Dissemination Framework
Impact of HTTP Cookie Violations in Web Archives
Archive Assisted Archival Fixity Verification Framework
MementoMap Framework for Flexible and Adaptive Web Archive Profiling
Web ARChive (WARC) File Format
InterPlanetary Wayback: The Next Step Towards Decentralized Web Archiving
MemGator - A Memento Aggregator CLI and Server in Go
Dockerize Your Projects - A Brief Introduction to Containerization
Avoiding Zombies in Archival Replay Using ServiceWorker
Client-side Reconstruction of Composite Mementos Using ServiceWorker
TPDL 2016 Doctoral Consortium - Web Archive Profiling
Introducing Web Archiving and WSDL Research Group

Recently uploaded (20)

PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
cuic standard and advanced reporting.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
Big Data Technologies - Introduction.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Electronic commerce courselecture one. Pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PPT
Teaching material agriculture food technology
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
KodekX | Application Modernization Development
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
Spectroscopy.pptx food analysis technology
Review of recent advances in non-invasive hemoglobin estimation
Digital-Transformation-Roadmap-for-Companies.pptx
cuic standard and advanced reporting.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
MIND Revenue Release Quarter 2 2025 Press Release
Big Data Technologies - Introduction.pptx
Network Security Unit 5.pdf for BCA BBA.
20250228 LYD VKU AI Blended-Learning.pptx
The Rise and Fall of 3GPP – Time for a Sabbatical?
Electronic commerce courselecture one. Pdf
Programs and apps: productivity, graphics, security and other tools
Teaching material agriculture food technology
“AI and Expert System Decision Support & Business Intelligence Systems”
KodekX | Application Modernization Development
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Dropbox Q2 2025 Financial Results & Investor Presentation
Agricultural_Statistics_at_a_Glance_2022_0.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Spectroscopy.pptx food analysis technology

Ruby On Rails

  • 1. Ruby On Rails A Quick Walkthrough Sawood Alam salam@cs.odu.edu
  • 2. Introduction "Ruby on Rails is an open-source web framework that's optimized for programmer happiness and sustainable productivity. It lets you write beautiful code by favoring convention over configuration." -- RubyOnRails.Org
  • 3. Convention Over Configuration ● Rapid development ● Self explanatory code ● Easier to understand ● Easier to refactor ● Easier to maintain ● Easier to learn ● Easier to collaborate ● Room for breaking convention, if needed
  • 4. DRY ● Don't Repeat Yourself ● Heavy-lifting once ● Refactor and organize the code ● Changes in one place reflect everywhere
  • 5. MVC ● Model-View-Controller ● Isolation of business logic, data and UI ● Keeps code DRY ● What goes where? - predictable
  • 6. RESTful ● Map HTTP verbs to resource actions ● Verbs are finite, nouns are infinite ● GET, POST, PUT, DELETE...
  • 7. Code Organisation ● Well defined directory structure ● Easier to deploy ● Easier to collaborate ● Predictive place for everything
  • 8. Database Agnostic ● Changing database? change the config file ● SQLite, MySQL, PostgreSQL, Oracle... ● Schemaless DB? not an issue!
  • 9. Hosting ● Heroku ● Rails Machine ● Joyent ● Brightbox ● Engine Yard ● Slicehost ● Linode ● ...
  • 10. Where To Go Next? ● Rails Guides ● Ruby on Rails Tutorial ● Try Ruby ● Rails for Zombies ● Railscasts ● Rails3 Screencast Series
  • 11. Questions? Thank you! Sawood Alam salam@cs.odu.edu