1 / 20

Ruby/Ruby on Rails

Ruby/Ruby on Rails. Yasushi Osonoi Open Dream corporation www.opendream.co.jp. Agenda. Ruby Ruby on rails Ruby/Ruby on Rails training course in Japan. What's Ruby. Made in Japan programming language Created by Yukihiro Matsumoto, aka Matz Open Source Now Ruby is

mduffy
Download Presentation

Ruby/Ruby on Rails

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  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 Model Web Browser ① ② Controller DB ③ ④ View ①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 Launch server Launch server Access to Ruby site http://Localhost:3000/

  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

More Related