Download presentation
Presentation is loading. Please wait.
Published byEileen Lamb Modified over 9 years ago
1
Ruby/Ruby on Rails Yasushi Osonoi Open Dream corporation www.opendream.co.jp
2
Agenda Ruby Ruby on rails Ruby/Ruby on Rails training course in Japan
3
What's Ruby Made in Japan programming language Created by Yukihiro Matsumoto, aka Matz Open Source Now Ruby is #9 among programming languages worldwide (TIOBE November 2007) (Was #20 in 2006) 200 messages per day (Ruby-talk mailing list)
4
What's Ruby http://www.ruby-lang.org/en/about/
5
TIOBE Programming Community Index for November 2007
6
Mailing list (English) ruby-talk@ruby-lang.org English language discussion about Ruby ruby-doc@ruby-lang.org Documentation standards and tools ruby-cvs@ruby-lang.org Notifications of CVS commits to Ruby source ruby-core@ruby-lang.orgMixed English/Japanese discussion of core implementation topics
7
Official web site http://www.ruby-lang.org/en/
8
Ruby features Easy syntax, Flexibility Implementing basic object oriented function (class, method, call) Unique object oriented function (mix-in, Unique methode) Operators overloading Exception handling
9
Ruby features Iterations and blocks (closure) Garbage collector Dynamic loading Easy to put (Linux, Unix, DOS, Windows, Mac. BeOS)
10
Download Ruby and Try. http://www.ruby-lang.org/en/downloads/ Or Interactive Ruby http://www.ruby- lang.org/en/documentation/quickstart/
11
demo Interactive Ruby
12
Ruby on Rails Developed by David Heinemeier Hansson Philosophy DRY (Don’t Repeat Yourself) Convention over configuration
13
Ruby on Rails Web application framework based on Ruby Easy to develop, deploy and maintain. MVC architecture 10 times productivity over Java
14
Ruby on Rails MVC(Model, View, Controller) model DB Controller View Model Web Browser ① ③ ② ④ ① Browser sends request ② Controller interacts with Model ③ Controller Invokes view ④ View renders next browser screen
15
Ruby on Rails Download and Try http://www.rubyonrails.org/ Or Eclipse basaed RadRails http://www.aptana.com/rails/
16
Deploy web site Create exam1 project Then directory and contents generated
17
Launch server Access to Ruby site http://Localhost:3000/ Launch server
18
And more Create Controller Ruby script\generate controller … Create Model Ruby script\generate model … Create Scaffolds Ruby script\generate scaffold Scaffolds is an auto-generated framework for manipulating a model.
19
Ruby/Ruby on Rails training example OpenDream Ruby Basics (2 days) Ruby on Rails (3 days) Ruby on Rails 1day Ruby on Rails and AJAX (1day) Custom course Ruby/Ruby on Rails 1 week Ruby/Ruby on Rails 2 weeks
20
Ruby/Ruby on Rails training example
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.