SlideShare a Scribd company logo
Introduction To Ruby On Rails Usabilty and success stories Design principles Agile Development Community and resources
Who use ROR Twitter  http://twitter.com Github  http://github.com Groupon  http://www.groupon.com Yellow Pages  Iteye ...
Newest Tiobe Order Of Ruby Tiobe programing language ordered listing
IDEs Textmate (Mac os) Vim Emacs RadRails,Eclipse+RDT Plugin in for NetBeans ...
Platform Independence OS – Mac,Linux,Windows Web server – Apache,Lighttpd,Nginx Manage gems – use gem package manager
Scaling Share Nothing Architecture  Muliti application server cluster  shared sessions store in db Shared files use third party storage View caching  page caching action caching fragment caching Sql caching – memcached
Hosting Heroku Linode VPS ...
Introduction To Ruby On Rails Usabilty and success stories Design principles Agile Development Community and resources
Model-View-Controller Model data access and business logic independ the view and controller View data presentation and user interaction read-only access to model Controller handling events and operating on model/view
Database Persistence OR mapping – active record pattern Migrations – incremental schema management Support mulitiple database Mysql/Oracle/MongoDB etc..
Full Stack Framework MVC suite Embed webserver Default db adapter (sqlite3) Integrated with logger Integrated with Ajax, webservice,email Test framework plugins
Convention Over Configuration Typical directory structure Everything has its place source files/libs/docs/db File naming conventions e.g. Cotrollers/helpers... Database naming conventions Table name/primary&foreign key Standard config files e.g. Db config /enviroment setting definitions
Keep DRY – Don't Repeat Yourself   Reusing code e.g. layout/filter... Reusing data Not need to declear table field, read from db directly Metaprogramming Dynamically create method
Introduction To Ruby On Rails Usabilty and success stories Design principles Agile Development Community and resources
Rapid Development Build-in webserver Generators Scaffold Plugins,libraries,lots of contributed gems
Debugging Ruby-debug gem Tag breakpoint – debugger Vbose log output
Testing Unit tests – test form models Functional test – test for controllers Integration – tests for workflow Use Rspec gem to testing
Agile Continuous Integration Test code coverage Rcov/metrical gem Continuous Integration Cruisecontrol.rb/Integrate Db schema control Migrations Automated deployment Capistrano
Introduction To Ruby On Rails Usabilty and success stories Design principles Agile Development Community and resources
Books Agile web development with rails 4th edition Everyday Scripting With Ruby Design Patterns in Ruby Rails Recipes Visit  http://everyday-cn/ibooks_list  to download.
Links The Pragmatic Bookshelf Ruby on Rails Guides Ruby on Rails Screencasts – RailsCasts Stack Overflow
Bye Q&A

More Related Content

What's hot (20)

PPTX
Redis by-hari
Hari Bachala
 
PPTX
Popular tools for :BaseKB Users
Paul Houle
 
KEY
MongoDB London PHP
Mike Dirolf
 
PDF
Steam Learn: An introduction to Redis
inovia
 
PDF
Solr in drupal 7 index and search more entities
Biglazy
 
PDF
Groovy grailstutorial
Rasmita Patra
 
PDF
BUILDING WEB APPS WITH ASP.NET MVC AND NOSQL
Michael Kennedy
 
ODP
Draft slide of Demystifying DHT in GlusterFS
Ankit Raj
 
ODP
Drupal Content Management System
Adhoura Academy
 
ODP
Redis IU
Isaiah Edem
 
PDF
CouchDB Talk JChris NYC
Chris Anderson
 
PDF
Performance (browser)
aquarius070287
 
ODP
Slides from Gangplank discussion
ianibbo
 
PDF
CosmosDb for beginners
Phil Pursglove
 
PDF
Object data manager Tutorials
jivandip7
 
PDF
Hdfs internals
Bhupesh Chawda
 
PDF
Full stack
Anna Ikoki
 
PDF
Visualize your graph database
Michael Hackstein
 
ODP
NoSQL
Novelys
 
PDF
Introduction to mongo db
Lawrence Mwai
 
Redis by-hari
Hari Bachala
 
Popular tools for :BaseKB Users
Paul Houle
 
MongoDB London PHP
Mike Dirolf
 
Steam Learn: An introduction to Redis
inovia
 
Solr in drupal 7 index and search more entities
Biglazy
 
Groovy grailstutorial
Rasmita Patra
 
BUILDING WEB APPS WITH ASP.NET MVC AND NOSQL
Michael Kennedy
 
Draft slide of Demystifying DHT in GlusterFS
Ankit Raj
 
Drupal Content Management System
Adhoura Academy
 
Redis IU
Isaiah Edem
 
CouchDB Talk JChris NYC
Chris Anderson
 
Performance (browser)
aquarius070287
 
Slides from Gangplank discussion
ianibbo
 
CosmosDb for beginners
Phil Pursglove
 
Object data manager Tutorials
jivandip7
 
Hdfs internals
Bhupesh Chawda
 
Full stack
Anna Ikoki
 
Visualize your graph database
Michael Hackstein
 
NoSQL
Novelys
 
Introduction to mongo db
Lawrence Mwai
 

Similar to Intro ror (20)

PDF
Introduction to Ruby on Rails
Agnieszka Figiel
 
PPT
Ruby On Rails Seminar Basis Softexpo Feb2010
arif44
 
DOCX
Rails Concept
Javed Hussain
 
PPT
Introduction To Ruby On Rails
Steve Keener
 
PPT
Ruby On Rails Introduction
Gustavo Andres Brey
 
PPTX
Ruby on rails for beginers
shanmukhareddy dasi
 
PPT
Rails
SHC
 
PPT
Ruby On Rails Tutorial
sunniboy
 
PDF
When To Use Ruby On Rails
dosire
 
PDF
Lecture #5 Introduction to rails
Evgeniy Hinyuk
 
PDF
Introduction to Rails by Evgeniy Hinyuk
Pivorak MeetUp
 
PDF
Make your app idea a reality with Ruby On Rails
Nataly Tkachuk
 
PDF
Ruby On Rails Basics
Amit Solanki
 
PPT
An introduction-to-ruby-on-rails
vinicorp
 
PPT
An Introduction to Ruby on Rails 20100506
Vu Hung Nguyen
 
PDF
Ruby on Rails 101 - Presentation Slides for a Five Day Introductory Course
peter_marklund
 
KEY
Ruby On Rails
Eric Berry
 
PDF
Ruby Rails Web Development.pdf
SEO expate Bangladesh Ltd
 
PPT
Ruby On Rails
Gautam Rege
 
PPTX
Rubyonrails 120409061835-phpapp02
sagaroceanic11
 
Introduction to Ruby on Rails
Agnieszka Figiel
 
Ruby On Rails Seminar Basis Softexpo Feb2010
arif44
 
Rails Concept
Javed Hussain
 
Introduction To Ruby On Rails
Steve Keener
 
Ruby On Rails Introduction
Gustavo Andres Brey
 
Ruby on rails for beginers
shanmukhareddy dasi
 
Rails
SHC
 
Ruby On Rails Tutorial
sunniboy
 
When To Use Ruby On Rails
dosire
 
Lecture #5 Introduction to rails
Evgeniy Hinyuk
 
Introduction to Rails by Evgeniy Hinyuk
Pivorak MeetUp
 
Make your app idea a reality with Ruby On Rails
Nataly Tkachuk
 
Ruby On Rails Basics
Amit Solanki
 
An introduction-to-ruby-on-rails
vinicorp
 
An Introduction to Ruby on Rails 20100506
Vu Hung Nguyen
 
Ruby on Rails 101 - Presentation Slides for a Five Day Introductory Course
peter_marklund
 
Ruby On Rails
Eric Berry
 
Ruby Rails Web Development.pdf
SEO expate Bangladesh Ltd
 
Ruby On Rails
Gautam Rege
 
Rubyonrails 120409061835-phpapp02
sagaroceanic11
 
Ad

Recently uploaded (20)

PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PPTX
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
PDF
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
PDF
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
PPTX
Digital Circuits, important subject in CS
contactparinay1
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PPT
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
Digital Circuits, important subject in CS
contactparinay1
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Ad

Intro ror

  • 1. Introduction To Ruby On Rails Usabilty and success stories Design principles Agile Development Community and resources
  • 2. Who use ROR Twitter http://twitter.com Github http://github.com Groupon http://www.groupon.com Yellow Pages Iteye ...
  • 3. Newest Tiobe Order Of Ruby Tiobe programing language ordered listing
  • 4. IDEs Textmate (Mac os) Vim Emacs RadRails,Eclipse+RDT Plugin in for NetBeans ...
  • 5. Platform Independence OS – Mac,Linux,Windows Web server – Apache,Lighttpd,Nginx Manage gems – use gem package manager
  • 6. Scaling Share Nothing Architecture Muliti application server cluster shared sessions store in db Shared files use third party storage View caching page caching action caching fragment caching Sql caching – memcached
  • 8. Introduction To Ruby On Rails Usabilty and success stories Design principles Agile Development Community and resources
  • 9. Model-View-Controller Model data access and business logic independ the view and controller View data presentation and user interaction read-only access to model Controller handling events and operating on model/view
  • 10. Database Persistence OR mapping – active record pattern Migrations – incremental schema management Support mulitiple database Mysql/Oracle/MongoDB etc..
  • 11. Full Stack Framework MVC suite Embed webserver Default db adapter (sqlite3) Integrated with logger Integrated with Ajax, webservice,email Test framework plugins
  • 12. Convention Over Configuration Typical directory structure Everything has its place source files/libs/docs/db File naming conventions e.g. Cotrollers/helpers... Database naming conventions Table name/primary&foreign key Standard config files e.g. Db config /enviroment setting definitions
  • 13. Keep DRY – Don't Repeat Yourself Reusing code e.g. layout/filter... Reusing data Not need to declear table field, read from db directly Metaprogramming Dynamically create method
  • 14. Introduction To Ruby On Rails Usabilty and success stories Design principles Agile Development Community and resources
  • 15. Rapid Development Build-in webserver Generators Scaffold Plugins,libraries,lots of contributed gems
  • 16. Debugging Ruby-debug gem Tag breakpoint – debugger Vbose log output
  • 17. Testing Unit tests – test form models Functional test – test for controllers Integration – tests for workflow Use Rspec gem to testing
  • 18. Agile Continuous Integration Test code coverage Rcov/metrical gem Continuous Integration Cruisecontrol.rb/Integrate Db schema control Migrations Automated deployment Capistrano
  • 19. Introduction To Ruby On Rails Usabilty and success stories Design principles Agile Development Community and resources
  • 20. Books Agile web development with rails 4th edition Everyday Scripting With Ruby Design Patterns in Ruby Rails Recipes Visit http://everyday-cn/ibooks_list to download.
  • 21. Links The Pragmatic Bookshelf Ruby on Rails Guides Ruby on Rails Screencasts – RailsCasts Stack Overflow