Uploaded on

ROR introduction ppt

ROR introduction ppt

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
886
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
15
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 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
  • 7. Hosting
    • Heroku
    • Linode VPS
    • ...
  • 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
  • 22. Bye
    • Q&A