曙海教学优势
本课程,秉承二十一年积累的教学品质,以项目实现为导向,面向企事业项目实际需要,老师将会与您分享设计的全流程以及工具的综合使用经验、技巧。课程可定制,线上/线下/上门皆可,热线:4008699035。
曙海培训的课程培养了大批受企业欢迎的工程师。大批企业和曙海
建立了良好的合作关系,合作企业30万+。曙海培训的课程在业内有着响亮的知名度。
课程内容:
• CHAPTER 1: AN OVERVIEW OF RUBY
1.What is Ruby?
2.Ruby History
3.The Ruby Interactive Shell
4.Language Components
5.Numbers
6.Simple Input and Output
7.Strings
8.The Class Class
9.Comments
10.Loops
11.Arrays
12.Hashes
13.Iterators with Arrays and Hashes
14.Decision Making
15.Regular Expressions
16.The case Construct
17.Functions
18.Object Orientation in Ruby
19.Command Line Arguments
20.Symbols
21.Using Hashes as Function Arguments
22.Odds and Ends
• CHAPTER 2: CLASSES
1.Defining a New Class
2.Class Creation
3.Using Objects
4.Defining Operator Methods
5.Inheritance
6.self
7.Access Levels - public
8.Access Levels - private
9.Access Levels - protected
10.Access Levels - Specification
11.Class Data and Class Methods
12.Variables and Scope
13.Special Global Variables
14.Documentation
15.Built-in Classes
• CHAPTER 3: INPUT AND OUTPUT
1.I/O
2.Reading from the Standard Input
3.Writing to the Standard Output
4.Reading and Writing Disk Files
5.Reading Files Using Iterators
6.Capturing Data About Files
7.Processing Directories
• CHAPTER 4: EXCEPTIONS
1.Introduction
2.Exceptions
3.Handling Exceptions
4.Multiple Rescue Clauses
5.Exceptions Are Classes
6.ensure
7.retry
8.raise
9.Creating Your Own Exceptions
10.catch and throw
• CHAPTER 5: MODULES
1.Introduction
2.Disambiguation of Libraries
3.Modules
4.Mixins
5.Using the Comparable Module
6.yield
7.Using the Enumerable Module
8.Proc Objects
9.Closures
10.File Organization
• CHAPTER 6: STRINGS
1.Review
2.Strings Are References
3.The Selection Operator, [ ]
4.Index Methods
5.Numerical Methods
6.squeeze
7.dump
8.concat
9.The upto Method
10.Substituting
11.Processing a Line at a Time
• CHAPTER 7: APPLICATIONS AREAS
1.An Introduction to CGI
2.An HTML Front-End
3.HTML Rendering
4.Contacting the Server
5.Server Issues
6.The CGI Program
7.CGI Output
8.Reading Files
9.Exercises
• CHAPTER 8: GRAPHICAL USER INTERFACES
1.Event Driven Programming
2.The Button Widget
3.More Widgets
4.TkEntry
5.TkRadioButton
6.TkCheckButton
7.TkText
8.A Calculator Example
• CHAPTER 9: RAILS
1.What is Rails?
2.Using Gem
3.Starting With Rails
4.Model View Controller
5.URL Requests in Rails
6.Embedded Ruby
7.Linking Pages Together
8.Kick Starting a Rails App
9.Summary