SlideShare a Scribd company logo
Click to add Text 
Ruby 
A Programmer's Best Friend 
Presented by Bunlong VAN 
http://geekhmer.github.io
The Disclaimer
Ruby on Rails? 
• Ruby – A Programming Language 
– Created in 1993 by Yukihiro “Matz” Matsumoto
The Ruby Language 
“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 Matz in 
Japan.” 
“The standard 1.8.7 implementation is written in C. “ 
•be productive 
•to enjoy programming 
•and be happy
Reduce Code 
public class HelloWorld { 
public static void main(String args[]) { 
System.out.println(“Hello World”); 
} 
} 
puts “Hellow World”
Communities
Code is Human-Readable 
“The code was designed from the start to be human-readable and this 
mean that non-programmer can have a very easy to understand what a 
program is designed to do”. 
3.Times { print “Ho!” }
Coderspeak 
“Ruby allows you to express your ideas 
through a computer” 
– Why the lucky stiff 
3.times { print “Ho!” } 
exit unless “restaurant”.include? “aura” 
['toast', 'cheese', 'wine'].each { |food| print food.capitalize }
Ruby on Rails 
• Ruby On Rails – A Web Framework 
– Created in 2004 by David Heinemeier Hansson 
“Ruby on Rails is a Model-View-Controller framework for creating 
database-driven websites in Ruby, Rails is build on simple concepts”
Ruby Gems 
Problem: 
• Hard to find libraries? 
Application 
Database Interface Mailer Web Services Logger 
Solution: 
• Package Version & Dependency Management 
• Package Delivery 
• Package Documentation Management 
»gem install rails –include dependencies
Command-line 
“The interactive Ruby sheel is a unique feature that allows developers to 
maintain and experiment with commands-line. There is no need to write 
webpages and check their functionality in browser.”
Object-Oriented-Programming 
“Object-Oriented-Programming is a necessity for clean and maintainable 
code. However, In Ruby, everything is an object.”
Encourage Testing 
Test::Unit builds in into standard library 
Other tools Rspec, MiniTest, ...
Why ruby?
Why ruby?

More Related Content

PPTX
Why ruby
PDF
Cloud App Develop
PPTX
Ruby on rails
PPTX
Introduction to NodeJS
PPTX
Angular2.0@Shanghai0319
PDF
Blazor - The New Silverlight?
PPTX
Codegen2021 blazor mobile
PDF
Pengantar Ruby on Rails
Why ruby
Cloud App Develop
Ruby on rails
Introduction to NodeJS
Angular2.0@Shanghai0319
Blazor - The New Silverlight?
Codegen2021 blazor mobile
Pengantar Ruby on Rails

What's hot (19)

PPTX
5 reasons to program javascript
PDF
WebAssembly in Houdini CSS, is it possible?
PPTX
Hyperledger in AWS
PDF
WebAssembly vs JavaScript: What is faster?
PDF
Ruby on Rails Crash course
PDF
MongoDB + Node.JS + EPAM ROAD
PPTX
Introduction to Coffeescript
PDF
Making CLI app in ruby
PPT
Coffee script final
PDF
Afrimadoni the power of docker
PPTX
PHP Indonesia - Nodejs Web Development
PDF
JBoss, Rails and the cloud
PPTX
Basics to framework programming
PDF
Shift Remote: JS - Javascript Build Tools: Past & Beyond - Shedrack Akintayo
PPTX
SD PHP Zend Framework
PDF
Hello npm
PPT
JavaScript State of the Union - Jan 2013
PPTX
[Blibli Brown Bag] Nodejs - The Other Side of Javascript
5 reasons to program javascript
WebAssembly in Houdini CSS, is it possible?
Hyperledger in AWS
WebAssembly vs JavaScript: What is faster?
Ruby on Rails Crash course
MongoDB + Node.JS + EPAM ROAD
Introduction to Coffeescript
Making CLI app in ruby
Coffee script final
Afrimadoni the power of docker
PHP Indonesia - Nodejs Web Development
JBoss, Rails and the cloud
Basics to framework programming
Shift Remote: JS - Javascript Build Tools: Past & Beyond - Shedrack Akintayo
SD PHP Zend Framework
Hello npm
JavaScript State of the Union - Jan 2013
[Blibli Brown Bag] Nodejs - The Other Side of Javascript
Ad

Viewers also liked (8)

PPT
Javascript dom event
PPT
Scrum methodology
PPT
Javascript Object Oriented Programming
PPT
Ruby on Rails testing with Rspec
PPT
scrummethodology-151002092252-lva1-app6891
PPT
How to develop app for facebook fan page
PPT
Real time web and mobile application with Erlang & Ruby programming language
PPT
Basic Javascript
Javascript dom event
Scrum methodology
Javascript Object Oriented Programming
Ruby on Rails testing with Rspec
scrummethodology-151002092252-lva1-app6891
How to develop app for facebook fan page
Real time web and mobile application with Erlang & Ruby programming language
Basic Javascript
Ad

Similar to Why ruby? (20)

PPT
Initiation à Ruby on Rails
PPTX
sl slides-unit-1.pptx
PDF
FGCU Camp Talk
PPTX
Ruby on Rails - An overview
PDF
An introduction to the ruby ecosystem
PDF
SGCE 2015 REST APIs
PDF
APIs distribuidos con alta escalabilidad
PDF
Ruby+rails
PPTX
Web development revolution
PDF
RubyStack: the easiest way to deploy Ruby on Rails
PDF
02 ruby overview
PPTX
Ruby on Rails Introduction M&P - IT Skill Development Program 07
PPTX
Ruby And Ruby On Rails
KEY
Why ruby and rails
PDF
Code for Startup MVP (Ruby on Rails) Session 1
DOC
Ruby On Rails
PPTX
Ruby in mule
PDF
ruby pentest
PDF
Make your app idea a reality with Ruby On Rails
PPTX
Ruby on rails
Initiation à Ruby on Rails
sl slides-unit-1.pptx
FGCU Camp Talk
Ruby on Rails - An overview
An introduction to the ruby ecosystem
SGCE 2015 REST APIs
APIs distribuidos con alta escalabilidad
Ruby+rails
Web development revolution
RubyStack: the easiest way to deploy Ruby on Rails
02 ruby overview
Ruby on Rails Introduction M&P - IT Skill Development Program 07
Ruby And Ruby On Rails
Why ruby and rails
Code for Startup MVP (Ruby on Rails) Session 1
Ruby On Rails
Ruby in mule
ruby pentest
Make your app idea a reality with Ruby On Rails
Ruby on rails

Why ruby?

  • 1. Click to add Text Ruby A Programmer's Best Friend Presented by Bunlong VAN http://geekhmer.github.io
  • 3. Ruby on Rails? • Ruby – A Programming Language – Created in 1993 by Yukihiro “Matz” Matsumoto
  • 4. The Ruby Language “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 Matz in Japan.” “The standard 1.8.7 implementation is written in C. “ •be productive •to enjoy programming •and be happy
  • 5. Reduce Code public class HelloWorld { public static void main(String args[]) { System.out.println(“Hello World”); } } puts “Hellow World”
  • 7. Code is Human-Readable “The code was designed from the start to be human-readable and this mean that non-programmer can have a very easy to understand what a program is designed to do”. 3.Times { print “Ho!” }
  • 8. Coderspeak “Ruby allows you to express your ideas through a computer” – Why the lucky stiff 3.times { print “Ho!” } exit unless “restaurant”.include? “aura” ['toast', 'cheese', 'wine'].each { |food| print food.capitalize }
  • 9. Ruby on Rails • Ruby On Rails – A Web Framework – Created in 2004 by David Heinemeier Hansson “Ruby on Rails is a Model-View-Controller framework for creating database-driven websites in Ruby, Rails is build on simple concepts”
  • 10. Ruby Gems Problem: • Hard to find libraries? Application Database Interface Mailer Web Services Logger Solution: • Package Version & Dependency Management • Package Delivery • Package Documentation Management »gem install rails –include dependencies
  • 11. Command-line “The interactive Ruby sheel is a unique feature that allows developers to maintain and experiment with commands-line. There is no need to write webpages and check their functionality in browser.”
  • 12. Object-Oriented-Programming “Object-Oriented-Programming is a necessity for clean and maintainable code. However, In Ruby, everything is an object.”
  • 13. Encourage Testing Test::Unit builds in into standard library Other tools Rspec, MiniTest, ...