班级规模及环境--热线:4008699035 手机:15921673576( 微信同号) |
坚持小班授课,为保证培训效果,增加互动环节,每期人数限3到5人。 |
上课时间和地点 |
上课地点:【上海】:同济大学(沪西)/新城金郡商务楼(11号线白银路站) 【深圳分部】:电影大厦(地铁一号线大剧院站)/深圳大学成教院 【北京分部】:北京中山/福鑫大楼 【南京分部】:金港大厦(和燕路) 【武汉分部】:佳源大厦(高新二路) 【成都分部】:领馆区1号(中和大道) 【沈阳分部】:沈阳理工大学/六宅臻品 【郑州分部】:郑州大学/锦华大厦 【石家庄分部】:河北科技大学/瑞景大厦 【广州分部】:广粮大厦 【西安分部】:协同大厦
近开课时间(周末班/连续班/晚班):2024年12月30日......(欢迎您垂询,视教育质量为生命!) |
实验设备 |
☆资深工程师授课
☆注重质量
☆边讲边练
☆合格学员免费推荐工作
★实验设备请点击这儿查看★ |
质量保障 |
1、培训过程中,如有部分内容理解不透或消化不好,可免费在以后培训班中重听;
2、课程完成后,授课老师留给学员手机和Email,保障培训效果,免费提供半年的技术支持。
3、培训合格学员可享受免费推荐就业机会。 |
课程大纲 |
|
- 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
|