SlideShare une entreprise Scribd logo
1  sur  8
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

Contenu connexe

Tendances

Introduction to Ruby on Rails
Introduction to Ruby on RailsIntroduction to Ruby on Rails
Introduction to Ruby on Railsmithunsasidharan
 
Kotlin in the age of digital transformation
Kotlin   in the age of digital transformationKotlin   in the age of digital transformation
Kotlin in the age of digital transformationRajmahendra Hegde
 
Ruby an overall approach
Ruby an overall approachRuby an overall approach
Ruby an overall approachFelipe Schmitt
 
Introduction to Ruby on Rails
Introduction to Ruby on RailsIntroduction to Ruby on Rails
Introduction to Ruby on RailsEleni Huebsch
 
Ruby, the language of devops
Ruby, the language of devopsRuby, the language of devops
Ruby, the language of devopsRob Kinyon
 
Making CLI app in ruby
Making CLI app in rubyMaking CLI app in ruby
Making CLI app in rubyHuy Do
 
Rubinius - Ruby Implemented with Ruby
Rubinius - Ruby Implemented with RubyRubinius - Ruby Implemented with Ruby
Rubinius - Ruby Implemented with RubyAkanksha Agrawal
 
Post-relational databases: What's wrong with web development?
Post-relational databases: What's wrong with web development?Post-relational databases: What's wrong with web development?
Post-relational databases: What's wrong with web development?Dobrica Pavlinušić
 
OpenCms Days 2014 - Enhancing OpenCms front end development with Sass and Grunt
OpenCms Days 2014 - Enhancing OpenCms front end development with Sass and GruntOpenCms Days 2014 - Enhancing OpenCms front end development with Sass and Grunt
OpenCms Days 2014 - Enhancing OpenCms front end development with Sass and GruntAlkacon Software GmbH & Co. KG
 
Structured web apps
Structured web appsStructured web apps
Structured web appsSheng Tian
 
Ruby on Rails from an ASP.NET Perspective
Ruby on Rails from an ASP.NET PerspectiveRuby on Rails from an ASP.NET Perspective
Ruby on Rails from an ASP.NET PerspectiveBuddy Lindsey
 
5 important languages for DevOps
5 important languages for DevOps5 important languages for DevOps
5 important languages for DevOpsRavi Sagar
 
Python web frameworks
Python web frameworksPython web frameworks
Python web frameworksNEWLUG
 

Tendances (19)

Introduction to Ruby on Rails
Introduction to Ruby on RailsIntroduction to Ruby on Rails
Introduction to Ruby on Rails
 
Kotlin in the age of digital transformation
Kotlin   in the age of digital transformationKotlin   in the age of digital transformation
Kotlin in the age of digital transformation
 
Ruby an overall approach
Ruby an overall approachRuby an overall approach
Ruby an overall approach
 
Introduction to Ruby on Rails
Introduction to Ruby on RailsIntroduction to Ruby on Rails
Introduction to Ruby on Rails
 
Ruby, the language of devops
Ruby, the language of devopsRuby, the language of devops
Ruby, the language of devops
 
Making CLI app in ruby
Making CLI app in rubyMaking CLI app in ruby
Making CLI app in ruby
 
Rubinius - Ruby Implemented with Ruby
Rubinius - Ruby Implemented with RubyRubinius - Ruby Implemented with Ruby
Rubinius - Ruby Implemented with Ruby
 
Post-relational databases: What's wrong with web development?
Post-relational databases: What's wrong with web development?Post-relational databases: What's wrong with web development?
Post-relational databases: What's wrong with web development?
 
Php
PhpPhp
Php
 
Java script
Java scriptJava script
Java script
 
Scala vs ruby
Scala vs rubyScala vs ruby
Scala vs ruby
 
Ruby Beyond Rails
Ruby Beyond RailsRuby Beyond Rails
Ruby Beyond Rails
 
OpenCms Days 2014 - Enhancing OpenCms front end development with Sass and Grunt
OpenCms Days 2014 - Enhancing OpenCms front end development with Sass and GruntOpenCms Days 2014 - Enhancing OpenCms front end development with Sass and Grunt
OpenCms Days 2014 - Enhancing OpenCms front end development with Sass and Grunt
 
Structured web apps
Structured web appsStructured web apps
Structured web apps
 
Ruby on Rails from an ASP.NET Perspective
Ruby on Rails from an ASP.NET PerspectiveRuby on Rails from an ASP.NET Perspective
Ruby on Rails from an ASP.NET Perspective
 
5 important languages for DevOps
5 important languages for DevOps5 important languages for DevOps
5 important languages for DevOps
 
L R U G - JRuby
L R U G - JRubyL R U G - JRuby
L R U G - JRuby
 
Crystal
CrystalCrystal
Crystal
 
Python web frameworks
Python web frameworksPython web frameworks
Python web frameworks
 

En vedette

En vedette (6)

HistoricalSemantics
HistoricalSemanticsHistoricalSemantics
HistoricalSemantics
 
Lot
LotLot
Lot
 
Khmer ASR
Khmer ASRKhmer ASR
Khmer ASR
 
Xen cloud platform
Xen cloud platformXen cloud platform
Xen cloud platform
 
Khmer TTS
Khmer TTSKhmer TTS
Khmer TTS
 
Sentence semantics
Sentence semanticsSentence semantics
Sentence semantics
 

Similaire à Why ruby

An introduction to the ruby ecosystem
An introduction to the ruby ecosystemAn introduction to the ruby ecosystem
An introduction to the ruby ecosystemGeison Goes
 
Ruby'on'rails
Ruby'on'railsRuby'on'rails
Ruby'on'railsgmergel
 
Ruby And Ruby On Rails
Ruby And Ruby On RailsRuby And Ruby On Rails
Ruby And Ruby On RailsAkNirojan
 
Code for Startup MVP (Ruby on Rails) Session 1
Code for Startup MVP (Ruby on Rails) Session 1Code for Startup MVP (Ruby on Rails) Session 1
Code for Startup MVP (Ruby on Rails) Session 1Henry S
 
The story of language development
The story of language developmentThe story of language development
The story of language developmentHiroshi SHIBATA
 
Exploring Ruby on Rails and PostgreSQL
Exploring Ruby on Rails and PostgreSQLExploring Ruby on Rails and PostgreSQL
Exploring Ruby on Rails and PostgreSQLBarry Jones
 
Ruby on Rails - An overview
Ruby on Rails -  An overviewRuby on Rails -  An overview
Ruby on Rails - An overviewThomas Asikis
 
Ruby Presentation
Ruby Presentation Ruby Presentation
Ruby Presentation platico_dev
 
RubyStack: the easiest way to deploy Ruby on Rails
RubyStack: the easiest way to deploy Ruby on RailsRubyStack: the easiest way to deploy Ruby on Rails
RubyStack: the easiest way to deploy Ruby on Railselliando dias
 
Rubymotion inspect 2014_review
Rubymotion inspect 2014_reviewRubymotion inspect 2014_review
Rubymotion inspect 2014_reviewBob Firestone
 
Intro To Ror
Intro To RorIntro To Ror
Intro To Rormyuser
 

Similaire à Why ruby (20)

An introduction to the ruby ecosystem
An introduction to the ruby ecosystemAn introduction to the ruby ecosystem
An introduction to the ruby ecosystem
 
Ruby'on'rails
Ruby'on'railsRuby'on'rails
Ruby'on'rails
 
01 index
01 index01 index
01 index
 
sl slides-unit-1.pptx
sl slides-unit-1.pptxsl slides-unit-1.pptx
sl slides-unit-1.pptx
 
Initiation à Ruby on Rails
Initiation à Ruby on RailsInitiation à Ruby on Rails
Initiation à Ruby on Rails
 
Ruby And Ruby On Rails
Ruby And Ruby On RailsRuby And Ruby On Rails
Ruby And Ruby On Rails
 
Code for Startup MVP (Ruby on Rails) Session 1
Code for Startup MVP (Ruby on Rails) Session 1Code for Startup MVP (Ruby on Rails) Session 1
Code for Startup MVP (Ruby on Rails) Session 1
 
Ruby in mule
Ruby in muleRuby in mule
Ruby in mule
 
02 ruby overview
02 ruby overview02 ruby overview
02 ruby overview
 
2 Basics
2 Basics2 Basics
2 Basics
 
The story of language development
The story of language developmentThe story of language development
The story of language development
 
Exploring Ruby on Rails and PostgreSQL
Exploring Ruby on Rails and PostgreSQLExploring Ruby on Rails and PostgreSQL
Exploring Ruby on Rails and PostgreSQL
 
Ruby on Rails - An overview
Ruby on Rails -  An overviewRuby on Rails -  An overview
Ruby on Rails - An overview
 
ruby-cocoa
ruby-cocoaruby-cocoa
ruby-cocoa
 
ruby-cocoa
ruby-cocoaruby-cocoa
ruby-cocoa
 
Ruby Presentation
Ruby Presentation Ruby Presentation
Ruby Presentation
 
RubyStack: the easiest way to deploy Ruby on Rails
RubyStack: the easiest way to deploy Ruby on RailsRubyStack: the easiest way to deploy Ruby on Rails
RubyStack: the easiest way to deploy Ruby on Rails
 
Rubymotion inspect 2014_review
Rubymotion inspect 2014_reviewRubymotion inspect 2014_review
Rubymotion inspect 2014_review
 
Intro To Ror
Intro To RorIntro To Ror
Intro To Ror
 
Setup ruby
Setup rubySetup ruby
Setup ruby
 

Plus de Bill Chea

Save time by using sass to develop css
Save time by using sass to develop cssSave time by using sass to develop css
Save time by using sass to develop cssBill Chea
 
Safety social media for positive social change
Safety social media for positive social changeSafety social media for positive social change
Safety social media for positive social changeBill Chea
 
Open street map
Open street mapOpen street map
Open street mapBill Chea
 
Open development cambodia
Open development cambodiaOpen development cambodia
Open development cambodiaBill Chea
 
Job hunting & career development
Job hunting & career developmentJob hunting & career development
Job hunting & career developmentBill Chea
 
Internet security
Internet securityInternet security
Internet securityBill Chea
 
How to build up communication skill
How to build up communication skillHow to build up communication skill
How to build up communication skillBill Chea
 
Google mapmaker
Google mapmakerGoogle mapmaker
Google mapmakerBill Chea
 
Financial job study travel planning
Financial job study travel planningFinancial job study travel planning
Financial job study travel planningBill Chea
 
ERP web based system
ERP web based systemERP web based system
ERP web based systemBill Chea
 
10 golden features of business website
10 golden features of business website10 golden features of business website
10 golden features of business websiteBill Chea
 
UrbanVoicePDF
UrbanVoicePDFUrbanVoicePDF
UrbanVoicePDFBill Chea
 
4 hour-workweek-blogger
4 hour-workweek-blogger4 hour-workweek-blogger
4 hour-workweek-bloggerBill Chea
 

Plus de Bill Chea (18)

Unix tc
Unix tcUnix tc
Unix tc
 
Sithi hub
Sithi hubSithi hub
Sithi hub
 
Save time by using sass to develop css
Save time by using sass to develop cssSave time by using sass to develop css
Save time by using sass to develop css
 
Safety social media for positive social change
Safety social media for positive social changeSafety social media for positive social change
Safety social media for positive social change
 
Open street map
Open street mapOpen street map
Open street map
 
Open development cambodia
Open development cambodiaOpen development cambodia
Open development cambodia
 
Less css
Less cssLess css
Less css
 
Job hunting & career development
Job hunting & career developmentJob hunting & career development
Job hunting & career development
 
Internet security
Internet securityInternet security
Internet security
 
How to build up communication skill
How to build up communication skillHow to build up communication skill
How to build up communication skill
 
Google mapmaker
Google mapmakerGoogle mapmaker
Google mapmaker
 
Financial job study travel planning
Financial job study travel planningFinancial job study travel planning
Financial job study travel planning
 
Khmer OCR
Khmer OCRKhmer OCR
Khmer OCR
 
ERP web based system
ERP web based systemERP web based system
ERP web based system
 
10 golden features of business website
10 golden features of business website10 golden features of business website
10 golden features of business website
 
UrbanVoicePDF
UrbanVoicePDFUrbanVoicePDF
UrbanVoicePDF
 
4 hour-workweek-blogger
4 hour-workweek-blogger4 hour-workweek-blogger
4 hour-workweek-blogger
 
UrbanVoice
UrbanVoiceUrbanVoice
UrbanVoice
 

Why ruby

  • 2. Who am I? 1- Bunlong Van 2- Sreyleap Lay, 3- Chhon Meily Work @yoolk Blog: https://wowcode.wordpress.com/ Email: bunlong.van@gmail.com
  • 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