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

What's hot (19)

PPTX
5 reasons to program javascript
Michael Banzon
 
PDF
WebAssembly in Houdini CSS, is it possible?
Alexandr Skachkov
 
PPTX
Hyperledger in AWS
Carsten Eckelmann
 
PDF
WebAssembly vs JavaScript: What is faster?
Alexandr Skachkov
 
PDF
Ruby on Rails Crash course
andreanodari
 
PDF
MongoDB + Node.JS + EPAM ROAD
Szilveszter Molnár
 
PPTX
Introduction to Coffeescript
Indies Services
 
PDF
Making CLI app in ruby
Huy Do
 
PPT
Coffee script final
priyankazope
 
PDF
Afrimadoni the power of docker
PHP Indonesia
 
PPTX
PHP Indonesia - Nodejs Web Development
Irfan Maulana
 
PDF
JBoss, Rails and the cloud
elliando dias
 
PPTX
Basics to framework programming
Global Indian Technology Solutions
 
PDF
Shift Remote: JS - Javascript Build Tools: Past & Beyond - Shedrack Akintayo
Shift Conference
 
PPTX
SD PHP Zend Framework
philipjting
 
PDF
Hello npm
Muyuu Fujita
 
PPT
JavaScript State of the Union - Jan 2013
Ronald Northrip
 
PPTX
[Blibli Brown Bag] Nodejs - The Other Side of Javascript
Irfan Maulana
 
5 reasons to program javascript
Michael Banzon
 
WebAssembly in Houdini CSS, is it possible?
Alexandr Skachkov
 
Hyperledger in AWS
Carsten Eckelmann
 
WebAssembly vs JavaScript: What is faster?
Alexandr Skachkov
 
Ruby on Rails Crash course
andreanodari
 
MongoDB + Node.JS + EPAM ROAD
Szilveszter Molnár
 
Introduction to Coffeescript
Indies Services
 
Making CLI app in ruby
Huy Do
 
Coffee script final
priyankazope
 
Afrimadoni the power of docker
PHP Indonesia
 
PHP Indonesia - Nodejs Web Development
Irfan Maulana
 
JBoss, Rails and the cloud
elliando dias
 
Basics to framework programming
Global Indian Technology Solutions
 
Shift Remote: JS - Javascript Build Tools: Past & Beyond - Shedrack Akintayo
Shift Conference
 
SD PHP Zend Framework
philipjting
 
Hello npm
Muyuu Fujita
 
JavaScript State of the Union - Jan 2013
Ronald Northrip
 
[Blibli Brown Bag] Nodejs - The Other Side of Javascript
Irfan Maulana
 

Viewers also liked (8)

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

Similar to Why ruby? (20)

PDF
FGCU Camp Talk
Mark Brooks
 
PPTX
Why Ruby?
IT Weekend
 
DOC
Ruby On Rails
iradarji
 
PPT
Intro To Ror
myuser
 
PPTX
Ruby on Rails : First Mile
Gourab Mitra
 
KEY
Ruby on Rails Training - Module 1
Mark Menard
 
PDF
Aspose pdf
Jim Jones
 
PDF
Ruby, Rails, and the Open Source Community
Jim Myhrberg
 
PDF
Introduction to Ruby on Rails: Build Web Apps Faster.
RituPatel551417
 
PPTX
Ruby on Rails - An overview
Thomas Asikis
 
PDF
Ruby Rails Web Development.pdf
Ayesha Siddika
 
PPTX
Rubyonrails 120409061835-phpapp02
sagaroceanic11
 
PDF
Why Use Ruby On Rails.pdf
Katy Slemon
 
PPT
Intro for RoR
Vigneshwaran Seetharaman
 
PDF
Introduction to rails
Go Asgard
 
PDF
Ruby on Rails
DelphiCon
 
PPTX
Ruby in mule
Ramakrishna kapa
 
PPTX
Benefits of using Ruby on rails for Apps Development
Chetu
 
PDF
Ruby Presentation
platico_dev
 
PPT
Intro To Ror
guest5dedf5
 
FGCU Camp Talk
Mark Brooks
 
Why Ruby?
IT Weekend
 
Ruby On Rails
iradarji
 
Intro To Ror
myuser
 
Ruby on Rails : First Mile
Gourab Mitra
 
Ruby on Rails Training - Module 1
Mark Menard
 
Aspose pdf
Jim Jones
 
Ruby, Rails, and the Open Source Community
Jim Myhrberg
 
Introduction to Ruby on Rails: Build Web Apps Faster.
RituPatel551417
 
Ruby on Rails - An overview
Thomas Asikis
 
Ruby Rails Web Development.pdf
Ayesha Siddika
 
Rubyonrails 120409061835-phpapp02
sagaroceanic11
 
Why Use Ruby On Rails.pdf
Katy Slemon
 
Introduction to rails
Go Asgard
 
Ruby on Rails
DelphiCon
 
Ruby in mule
Ramakrishna kapa
 
Benefits of using Ruby on rails for Apps Development
Chetu
 
Ruby Presentation
platico_dev
 
Intro To Ror
guest5dedf5
 
Ad

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, ...