Intro ror
Upcoming SlideShare
Loading in...5
×
 

Intro ror

on

  • 1,091 views

ROR introduction ppt

ROR introduction ppt

Statistics

Views

Total Views
1,091
Views on SlideShare
1,077
Embed Views
14

Actions

Likes
0
Downloads
14
Comments
0

1 Embed 14

http://localhost 14

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Intro ror Intro ror Presentation Transcript

    • 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