阅读更多
http://pragmaticstudio.com/rails/
http://marakana.com/training/ruby/ruby_on_rails.html
http://www.accelebrate.com/rails_training/default.htm
http://www.webucator.com/webdev/ruby.cfm
Rails培训的基础知识:
* Configure and install Ruby and Rails
* Learn the basics of the Ruby language
* Build a Rails application using iterative, test-driven development (TDD)
* Leverage ActiveRecord with migrations, associations, validations, and callbacks
* Build flexible layouts with rich forms
* Use routing to create friendly URLs
* Build interactive apps with Ajax with RJS
* Find and use plugins
* Send emails with ActionMailer
* Understand deployment options with Capistrano
* Effortlessly add RESTful web services with resources
* Understand Rails' opinions and how to embrace or override them
Rails培训的高级功能:
* Writing plugins
* Building and Consuming web services
* Deployment & Capistrano
* Integration tests, RSpec & Cucumber
* Refactoring an existing app
* Caching, performance tuning & optimizing
* Working with multiple databases
* Patching Rails
* Advanced Data Structures including Nested Sets & Trees, State Machines and Polymorphic Associations
Outline
Rails Introduction
* The Architecture
* the Model-View-Controller pattern
* Rails project structure
* Scaffolding for jumpstart
Ruby Overview
* Objects
* Classes
* Core Ruby
* Ruby Standard Library
* Control Structures
* Scope
* Blocks
* Modules
Ruby for Rails
* Rake
* test/unit
Demystifying Rails
* The Console
* Models, Controllers
* Associations
* Migrations
* Views
* Core Ruby extensions
Test-Driving your Rails App
* Beyond Scaffolding
* Unit and Functional tests
* Integration Tests
Advanced Controllers and Models
* Validations
* User Authentication
* TDD'ing Actions
* Evolving Associations
Rails Power Tools
* Mock Objects
* Named Routes
* Advanced Integration Testing
* Rails Plugins
Ajax on Rails
* Helpers and RJS
* Ajax with Prototype and Scriptaculous
* Ajaxifying your Rails App
* Advanced Ajax on Rails
Ruby on Rails Training Overview
This Ruby on Rails training course teaches attendees how to build web applications using the powerful Rails framework (see http://www.rubyonrails.com) based on the highly dynamic, pure OO language Ruby. Rails uses the principles of DRY (Don't Repeat Yourself) and "convention over configuration" to help build robust, scalable applications extremely quickly.
We also offer an Advanced Ruby on Rails course.
Location and Pricing
Most Accelebrate courses are taught on-site at our clients' locations worldwide for groups of 3 or more attendees and are customized to their specific needs. Please visit our client list to see organizations for whom we have recently delivered training. To receive a customized proposal and price quote, please contact us.
In addition, some courses are available as live, online classes for individuals. To see a schedule of online courses, please visit http://www.accelebrate.com/online_training/xml_html_js.htm.
Ruby on Rails Training Prerequisites
All Ruby on Rails training attendees should have some experience with server-side web development. Programming experience in an object-oriented language would also be helpful.
Hands-on/Lecture Ratio
This course is a fast-paced, hands-on workshop, with the bulk of class time spent developing Ruby on Rails applications in consultation with a seasoned instructor.
Ruby on Rails Training Materials
All students receive copies of Pragmatic Programmers' Agile Web Development with Rails and Manning's Ruby For Rails, as well as related courseware.
Software Needed on Each Student PC
* The Ruby interpreter version 1.8.6 or later.
* The Rails framework 2.0.0 or later.
* SQLite3 and MySQL databases (http://dev.mysql.com) works immediately with Rails, but many others have supported adapters (DB2, Oracle, and Postgres among them).
* A plain text editor, preferably one that understands the syntax of Ruby and Rails.
Note: We would be delighted to customize the platform of this class to match what you are running in production.
Ruby on Rails Training Objectives
* Know how to install and configure Ruby, Rails, and any associated packages
* Understand the Rails request cycle
* Explore the Model-View-Controller architecture for server-side applications
* Learn to program the major components of Rails, including Active Record, Action Controller, and Action View
* Learn Ruby fundamentals
* Configure databases for Rails
* Do test driven development of Rails applications
Ruby on Rails Training Outline
* The Rails World
o Rails overview and walkthrough
o What you do with Rails, and why
o Framework principles and tradeoffs
o The Model-View-Controller framework architecture
o Creating a new Rails application
o The Rails application directory layout
o Rails request-handling and URL parsing
o Customizing the application's routing
o Deploying with Mongrel
o The Rails philosophy: "Convention over configuration"
* Ruby Skills and Tools
o Objects and methods
o Scalars: strings, numbers, dates and times
o Collections: arrays, hashes
o Sorting and filtering collections
o Classes and modules
o Control flow and conditionals
o Interactive Ruby (IRB)
o Attributes
o Iterators
o Exception and error-handling
* Database Creation and Configuration
o Basic MySQL™ creation commands
o Configuring database.yml
* Working with ActiveRecord Models
o Modeling a domain
o Generating models with script/generate
o ActiveRecord models and Ruby classes
o ActiveRecord associations
o Writing Rails-friendly SQL
o Data validation techniques
o Avoiding SQL injection
* Database maintenance with ActiveRecord Migrations
o Automatically-generated migrations
o Custom migrations
o Writing accurate "down" methods
o Keeping migrations in sync
* ActionView Essentials
o HTML/ERb (Embedded Ruby) templates
o Partial templates
o Built-in and custom helper methods
o Layouts
o The 'flash' facility
o Avoiding HTML injection
* Using ActionController
o Creating controllers with script/generate
o Planning and writing actions
o Controller/view communication via instance variables
o The special params hash
o Filter methods for specific actions
o Redirecting actions
o Explicit rendering commands
o Session management
* Working with Forms in Rails
o ActionPack form helper methods
o "Magic" form-field population
o Processing forms
o Hash-based batch processing of CGI data
* Testing in Rails
o Writing fixtures
o Generating fixtures from a database
o Unit testing
o Functional testing
* Ajax, JavaScript, and RJS
o JavaScript facilities and support in Rails
o Basic DOM updating with Ajax calls
o RJS templates
* Rails Supporting Rails
o The Rails application console
o The source code tree
o The API docs
* Conclusion