课程培训
|
Ruby on Rails开发培训课程
Ruby on Rails开发培训课程 培训目标:
• Download and install Rails along with various other products that allow one to write Rails applications
• Understand the Model, View, Controller paradigm and how this applies to Rails applications
• Understand the directory structure of a Rails application
• Build non-trivial database backed Web Applications
• Understand the ActiveRecord classes and how they wrap database tables
• Understand the interplay between various controller actions and .rhtml (template) files
• Understand the Create, Read, Update, and Destroy (CRUD) paradigm
• Validate Model data
• Test Rails applications
• Use the Rails console to debug applications
■ 课程内容: • Chapter 1: An Overview Of Ruby on Rails
What is Ruby on Rails?
Downloading Rails
A Rails Application
Structure of a Rails Application
Building the Controller
Views
A Quick Review
Rails Conventions
Embedded Ruby
Extended Time Functions
The render Method
The link_to Method
One Last Thought
• Chapter 2: Fill in Forms
Introduction
Creating a Form
Submitting a Form
Other Form Elements - Checkboxes
Radio Buttons
Rails Helper Methods
Loading the Form
Submitting the Form
Perspective
• Chapter 3: Databases and Rails
Review of MVC
Entities and Relationships
Databases and Models
database.yml
Adding the Model
Migrations
The Index Page
The Ruby Console
Listing the Rows of a Database Table
Scaffolding
• Chapter 4: Validation Techniques
Introduction
form_for
Data Validation
Required Fields
Validating Numerical Fields
Validating Uniqueness
Validating Lengths
Validating Formats
Writing Your Own Validation Methods
The errors Object
Validation Summary
• Chapter 5: Style
Adding Style to Your Application
The Actions and the Templates
Displaying the New Templates
Higher Level Templates
Adding Style
Cascading Style Sheets
More Style
• Chapter 6: Users
Introduction
Maintaining State
Preparing an Application for Sessions
Registering Users
Registration
The flash Hash
Validation of the Form
Logging In
Logging Out
Protected Pages
Filters
• Chapter 7: Putting it All Together
Introduction
The Business Application
Database Terminology
Linking Two Models
Adding Tasks
The Database Tables
Displaying an Employee Task
Deleting a Task
Listing Both Employees and Tasks
Migrations
application_helpers.rb
Editing a Record
Summary
• Chapter 8: Testing the Application
Introduction
Test::Unit
Testing Your Own Classes
Testing in Rails – Unit Testing
Testing Models
Fixtures
Testing Controllers
test_helper.rb
rake
Integration Testing 如果您想学习本课程,请预约报名
如果没找到合适的课程或有特殊培训需求,请订制培训 除培训外,同时提供相关技术咨询与技术支持服务,有需求请发需求表到邮箱soft@info-soft.cn,或致电4007991916 技术服务需求表点击在线申请 服务特点: 海量专家资源,精准匹配相关行业,相关项目专家,针对实际需求,顾问式咨询,互动式授课,案例教学,小班授课,实际项目演示,快捷高效,省时省力省钱。 专家力量: 中国科学院软件研究所,计算研究所高级研究人员 oracle,微软,vmware,MSC,Ansys,candence,Altium,达索等大型公司高级工程师,项目经理,技术支持专家 中科信软培训中心,资深专家或讲师 大多名牌大学,硕士以上学历,相关技术专业,理论素养丰富 多年实际项目经历,大型项目实战案例,热情,乐于技术分享 针对客户实际需求,案例教学,互动式沟通,学有所获 |
|