SlideShare a Scribd company logo
Ruby
Who am I?
1- Bunlong Van
2- Sreyleap Lay,
3- Chhon Meily

Work @yoolk

Blog: https://wowcode.wordpress.com/

Email: bunlong.van@gmail.com
History
- Ruby was conceived on February 24, 1993 by Yukihiro Matsumoto who wished
  to create a new language that balanced functional programming with
  imperative programming.

-purpose of Ruby language help every programmer in the world to be productive,
 and to enjoy programming, and to be happy
What is Ruby?
- Ruby is a dynamic, reflective, general-purpose object-oriented programming
  language that combines syntax inspired by Perl with Smalltalk-like features.

- Interpreted Script Language

- Ruby was first designed and developed in the mid-1990s by Yukihiro „Matz‟
  Matsumoto in Japan.

- The standard 1.8.7 implementation is written in C.
Good point of Ruby
Reduce code

  • Java
       public class HelloWorld {
            public static void main(String args[]) {
                      System.out.println(“Hello World”);
            }
       }




  • Ruby
      puts “Hellow World”
• Communities




• Code is Human-Readable: The code was designed from the start to be human-
readable and this means that non-programmer can have a very easy to understand
what a program is designed to do.

• Ruby on Rails: A Model-View-Controller framework for creating database-driven
websites in Ruby. Rails is build on simple concepts. (http://guides.rubyonrails.org/)
• RubyGems: A package manager for the Ruby programming language that
provides a standard format for distributing Ruby programs and libraries (in a self-
contained format called a “gem”), a tool designed to easily manage the installation
of gems, and a server for distributing them. (http://rubygems.org/)

• Command-line: The interactive Ruby shell is a unique feature that allows
developers to maintain and experiment with commands. There is no need to write
webpages and check their functionality in a browser.

• Object-Oriented-Programming (OOP): Object-Oriented-Programming is a
necessity for clean and maintainable code. However, In Ruby, everything is an object
.
  Ex: 5.class #=> Fixnum
      “Ruby” #=>.class String
      nil.class #=> NilClass
      Fixnum.class #=> Class
• Ruby is free

• Encourage testing

   - Test::Unit builds in into standard library
   - Other tools: Rspec, …

Ruby online resources:

   - Try Ruby - http://tryruby.org
   - Hackety Hack - http://hackety.com/
   - Ruby Monk – http://rubymonk.com/
   - New Boston Videos - http://thenewboston.org/list.php?cat=50
   - Ruby Notes - http://rubylearning.com/satishtalim/tutorial.html
   - Ruby Documentation - http://www.ruby-lang.org/en/ & http://ruby-doc.org/
   - Ruby Conference Videos - http://confreaks.com/events
   - Ruby Koans - http://koans.heroku.com/
   - Ruby Regex – http://rubular.com/
   - Ruby Online Quiz/ Exam - http://rexaminator.com/
   - Nettuts+ Ruby for Newbies Sessions –
     http://net.tutsplus.com/sessions/ruby-for-newbies

More Related Content

PPT
Why ruby?
PPTX
Ruby and Security
PPTX
Ruby on Rails : First Mile
PPTX
Ruby on rails
PDF
Ruby on Rails
PPT
Introduction To Rails
PDF
Pengantar Ruby on Rails
KEY
Ruby On Rails Ecosystem
Why ruby?
Ruby and Security
Ruby on Rails : First Mile
Ruby on rails
Ruby on Rails
Introduction To Rails
Pengantar Ruby on Rails
Ruby On Rails Ecosystem

What's hot (19)

PPT
Introduction to Ruby on Rails
PDF
Kotlin in the age of digital transformation
PDF
Ruby an overall approach
PPTX
Introduction to Ruby on Rails
PPTX
Ruby, the language of devops
PDF
Making CLI app in ruby
PDF
Rubinius - Ruby Implemented with Ruby
PDF
Post-relational databases: What's wrong with web development?
PPTX
Java script
PDF
Scala vs ruby
PDF
Ruby Beyond Rails
PDF
OpenCms Days 2014 - Enhancing OpenCms front end development with Sass and Grunt
PDF
Structured web apps
PPTX
Ruby on Rails from an ASP.NET Perspective
PDF
5 important languages for DevOps
PDF
L R U G - JRuby
PDF
Crystal
PDF
Python web frameworks
Introduction to Ruby on Rails
Kotlin in the age of digital transformation
Ruby an overall approach
Introduction to Ruby on Rails
Ruby, the language of devops
Making CLI app in ruby
Rubinius - Ruby Implemented with Ruby
Post-relational databases: What's wrong with web development?
Java script
Scala vs ruby
Ruby Beyond Rails
OpenCms Days 2014 - Enhancing OpenCms front end development with Sass and Grunt
Structured web apps
Ruby on Rails from an ASP.NET Perspective
5 important languages for DevOps
L R U G - JRuby
Crystal
Python web frameworks
Ad

Viewers also liked (6)

PPTX
HistoricalSemantics
PPTX
PDF
Khmer ASR
PPTX
Xen cloud platform
PPTX
Khmer TTS
PPTX
Sentence semantics
HistoricalSemantics
Khmer ASR
Xen cloud platform
Khmer TTS
Sentence semantics
Ad

Similar to Why ruby (20)

PDF
Ruby Presentation
ZIP
Meta Programming in Ruby - Code Camp 2010
PDF
02 ruby overview
ODP
PPTX
Ruby for PHP developers
PPTX
Ruby in mule
PPT
WorkinOnTheRailsRoad
PPT
Workin ontherailsroad
PDF
Introduction to ruby
PDF
IJTC%202009%20JRuby
PDF
IJTC%202009%20JRuby
DOCX
Page List & Sample Material (Repaired)
PPT
Intro To Ror
PDF
Workin On The Rails Road
PPTX
Ruby for .NET developers
KEY
Ruby on Rails Training - Module 1
PPTX
PPTX
Why Ruby?
PDF
Ruby tutorial
PDF
01 index
Ruby Presentation
Meta Programming in Ruby - Code Camp 2010
02 ruby overview
Ruby for PHP developers
Ruby in mule
WorkinOnTheRailsRoad
Workin ontherailsroad
Introduction to ruby
IJTC%202009%20JRuby
IJTC%202009%20JRuby
Page List & Sample Material (Repaired)
Intro To Ror
Workin On The Rails Road
Ruby for .NET developers
Ruby on Rails Training - Module 1
Why Ruby?
Ruby tutorial
01 index

More from Bill Chea (18)

PPTX
Unix tc
PPTX
Sithi hub
PDF
Save time by using sass to develop css
PPTX
Safety social media for positive social change
PPTX
Open street map
PPTX
Open development cambodia
PPTX
Less css
PPTX
Job hunting & career development
PDF
Internet security
PPTX
How to build up communication skill
PDF
Google mapmaker
PPTX
Financial job study travel planning
PPTX
Khmer OCR
PPTX
ERP web based system
PDF
10 golden features of business website
PDF
UrbanVoicePDF
PDF
4 hour-workweek-blogger
PPTX
UrbanVoice
Unix tc
Sithi hub
Save time by using sass to develop css
Safety social media for positive social change
Open street map
Open development cambodia
Less css
Job hunting & career development
Internet security
How to build up communication skill
Google mapmaker
Financial job study travel planning
Khmer OCR
ERP web based system
10 golden features of business website
UrbanVoicePDF
4 hour-workweek-blogger
UrbanVoice

Why ruby

  • 2. Who am I? 1- Bunlong Van 2- Sreyleap Lay, 3- Chhon Meily Work @yoolk Blog: https://wowcode.wordpress.com/ Email: [email protected]
  • 3. History - Ruby was conceived on February 24, 1993 by Yukihiro Matsumoto who wished to create a new language that balanced functional programming with imperative programming. -purpose of Ruby language help every programmer in the world to be productive, and to enjoy programming, and to be happy
  • 4. What is Ruby? - Ruby is a dynamic, reflective, general-purpose object-oriented programming language that combines syntax inspired by Perl with Smalltalk-like features. - Interpreted Script Language - Ruby was first designed and developed in the mid-1990s by Yukihiro „Matz‟ Matsumoto in Japan. - The standard 1.8.7 implementation is written in C.
  • 5. Good point of Ruby Reduce code • Java public class HelloWorld { public static void main(String args[]) { System.out.println(“Hello World”); } } • Ruby puts “Hellow World”
  • 6. • Communities • Code is Human-Readable: The code was designed from the start to be human- readable and this means that non-programmer can have a very easy to understand what a program is designed to do. • Ruby on Rails: A Model-View-Controller framework for creating database-driven websites in Ruby. Rails is build on simple concepts. (http://guides.rubyonrails.org/)
  • 7. • RubyGems: A package manager for the Ruby programming language that provides a standard format for distributing Ruby programs and libraries (in a self- contained format called a “gem”), a tool designed to easily manage the installation of gems, and a server for distributing them. (http://rubygems.org/) • Command-line: The interactive Ruby shell is a unique feature that allows developers to maintain and experiment with commands. There is no need to write webpages and check their functionality in a browser. • Object-Oriented-Programming (OOP): Object-Oriented-Programming is a necessity for clean and maintainable code. However, In Ruby, everything is an object . Ex: 5.class #=> Fixnum “Ruby” #=>.class String nil.class #=> NilClass Fixnum.class #=> Class
  • 8. • Ruby is free • Encourage testing - Test::Unit builds in into standard library - Other tools: Rspec, … Ruby online resources: - Try Ruby - http://tryruby.org - Hackety Hack - http://hackety.com/ - Ruby Monk – http://rubymonk.com/ - New Boston Videos - http://thenewboston.org/list.php?cat=50 - Ruby Notes - http://rubylearning.com/satishtalim/tutorial.html - Ruby Documentation - http://www.ruby-lang.org/en/ & http://ruby-doc.org/ - Ruby Conference Videos - http://confreaks.com/events - Ruby Koans - http://koans.heroku.com/ - Ruby Regex – http://rubular.com/ - Ruby Online Quiz/ Exam - http://rexaminator.com/ - Nettuts+ Ruby for Newbies Sessions – http://net.tutsplus.com/sessions/ruby-for-newbies