Ruby is a dynamic, object-oriented programming language created in 1993 by Yukihiro Matsumoto. It aims to make programmers happy and productive by providing a human-readable syntax and allowing ideas to be expressed through code. Ruby on Rails is a popular web framework built on Ruby that uses a model-view-controller pattern to create database-driven websites in a simple way. Ruby features like interactive shells, object-oriented programming, and built-in testing tools help encourage clean and maintainable code.
1 of 15
Download to read offline
More Related Content
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.