SlideShare a Scribd company logo
Ruby on Rails
IT Skill Development Program
Muhammad Sunny
Associate System Analyst
 Ruby is a dynamic, reflective, object-oriented, general-purpose programming language.
 It was designed and developed in the mid-1990s by Yukihiro "Matz" Matsumoto in Japan.
 According to its creator, Ruby was influenced by Perl, Smalltalk, Eiffel, Ada, and Lisp.
 Ruby supports multiple programming paradigms, including functional, object-oriented,
and imperative.
 Ruby also has a dynamic type system and automatic memory management.
The name “Ruby”
The name "Ruby" originated during an online chat session between Matsumoto and Keiju Ishitsuka
on February 24, 1993, before any code had been written for the language. Initially two names were
proposed: "Coral" and "Ruby". Matsumoto chose the latter in a later e-mail to Ishitsuka. Matsumoto
later noted a factor in choosing the name "Ruby" – it was the birthstone of one of his colleagues
What is Ruby?
Ruby on Rails Introduction M&P - IT Skill Development Program 07
4
What is Rails?
Ruby on Rails or(RoR)
Rails is an open source Ruby framework for developing database-backed web applications.
Created by David Heinemeier Hansson – DHH Partner, 37Signals/
The Rails framework was extracted from real-world web applications. That is, Rails comes from real need, not anticipating what
might be needed. The result is an easy to use and cohesive framework that's rich in functionality, and at the same time it does its
best to stay out of your way.
All layers in Rails are built to work together so you Don’t Repeat Yourself and can use a single language from top to bottom.
Everything in Rails (templates to control flow to business logic) is written in Ruby
The Name “Rails”
If you consider a train on rails, the train goes where the rails take it. Ruby On Rails is the Ruby language on the "rails"
that DHH dreamed up. As the saying goes, RoR is very opinionated software. You can do *some* things in a way that
DHH and crew don't like, but they will make it hard for you. If you follow the Rails, all goes well.
source:http://en.wikipedia.org/wiki/Ruby_(programming_language)
CompaniesusingRails
The ( MVC ) Framework
source:http://flickr.com/photos/charlesbodi/236037049/
Ruby on Rails
Models (classes)
ActiveRecord
source:http://media.rubyonrails.org/presentations/pursuitofbeauty.pdf
ActionController
source:http://flickr.com/photos/sameli/261307204/
ActionView
source:http://flickr.com/photos/bocavermelha/66759796/
ModelView
Controller
How it work ?
Framework ROR (MVC)
Ruby on Rails
Web Application Server
A dress shop
Pant
section?
1st floor kid.
2nd section
1st floor
here is
your pant
A Rails server
home controller,
about action
/about
routes.rb
A Rails server
home
controller,
about action
here is
your
html file
 Hall of Fame award
Language of the Year : 2006
 Highest Position (since 2001) : #8 in May 2016
 Lowest Position (since 2001) : #39 in Jan 2002
 Current Position : #10 in Apr 2017
source:http://https://www.linkedin.com/pulse/aspnet-vs-ruby-rails-django-python-php-pushpendra-singh-sisodiya
Ruby on Rails vs other Languages
Advantages Limitations
ROR Open-sourced Learning it can be difficult
Works on multiple platforms Lacks informational resources
Can be embedded into Hypertext Markup Language (HTML)
Slower processing time (CPU time) compared to
other programming languages
A Very High-Level Language (VHLL) Development and updates are slower
Offers encapsulation of data methods within objects
Pure OOP (Object-Oriented Programming)
Super advanced string and text manipulation techniques
Can easily be connected to DB2, MySQL, Oracle, and Sybase
Scalable and big programs written in Ruby are easily maintainable
Ability to write multi-threaded applications with a simple API
Offers advanced array class
Able to write external libraries in Ruby or C
Better security features
It has a debugger
It has flexible syntax
Powerful string handling
.NET Easily works with ADO.NET using data-binding Mixes layout (HTML) and logic (scripting code)
The Web server continuously monitors If it notices any memory leaks, infinite
loops it immediately destroys those activities and restarts itself
Interpreted and Loosely-Typed Code
NET makes for easy deployment Limited Development and Debugging Tools
application or partition your application across many languages No real state management
It is purely server-side technology so, ASP.NET code executes on the server
before it is sent to the browser.
Update files only when server is down
The ASP.NET framework is complemented by a rich toolbox and designer in the
Visual Studio integrated development environment
Obscure Configuration Settings
With built-in Windows authentication and per-application configuration
NET drastically reduces the amount of code required to build large applications
Thank You

More Related Content

What's hot (18)

PPT
Evalution about programming language part 1
Synapseindiappsdevelopment
 
PDF
Why Scala?
Alex Payne
 
PPTX
Introduction To C#
rahulsahay19
 
PPTX
.Net language support
Then Murugeshwari
 
PPTX
Evolution of Computer Languages
Electro Computer Warehouse
 
PPTX
Using PowerShell as DSL in .Net applications
Joy George
 
PDF
The different kind of programming language
Md Amran
 
PPTX
Introduction to .NET Framework and C# (English)
Vangos Pterneas
 
KEY
Scala
guest8996422d
 
PPT
Tech talk webtech
Shehrevar Davierwala
 
PPT
Introduction to .NET Framework
Raghuveer Guthikonda
 
PPTX
Ruby And Ruby On Rails
AkNirojan
 
PPT
Introduction to java new
Gursimranjot singh dhiman
 
PPTX
3.0 Introduction to .NET Framework
Abdelrahman Hosny
 
PDF
Object oriented-programming-in-c-sharp
Abefo
 
PPTX
Components of .NET Framework
Roshith S Pai
 
PPTX
Oop lecture1-chapter1(review of java)
Dastan Kamaran
 
PPS
Ruby Introduction
Prabu D
 
Evalution about programming language part 1
Synapseindiappsdevelopment
 
Why Scala?
Alex Payne
 
Introduction To C#
rahulsahay19
 
.Net language support
Then Murugeshwari
 
Evolution of Computer Languages
Electro Computer Warehouse
 
Using PowerShell as DSL in .Net applications
Joy George
 
The different kind of programming language
Md Amran
 
Introduction to .NET Framework and C# (English)
Vangos Pterneas
 
Tech talk webtech
Shehrevar Davierwala
 
Introduction to .NET Framework
Raghuveer Guthikonda
 
Ruby And Ruby On Rails
AkNirojan
 
Introduction to java new
Gursimranjot singh dhiman
 
3.0 Introduction to .NET Framework
Abdelrahman Hosny
 
Object oriented-programming-in-c-sharp
Abefo
 
Components of .NET Framework
Roshith S Pai
 
Oop lecture1-chapter1(review of java)
Dastan Kamaran
 
Ruby Introduction
Prabu D
 

Similar to Ruby on Rails Introduction M&P - IT Skill Development Program 07 (20)

PPT
Introduction to Ruby on Rails
mithunsasidharan
 
PDF
Ruby Rails Web Development.pdf
Ayesha Siddika
 
PPTX
Optimizing for programmer happiness
Josh Schramm
 
PDF
Why Use Ruby On Rails.pdf
Katy Slemon
 
DOC
Ruby On Rails
iradarji
 
PPT
Ruby On Rails Seminar Basis Softexpo Feb2010
arif44
 
PDF
Aspose pdf
Jim Jones
 
PDF
Ruby on Rails
Momentum Design Lab
 
PPT
Introduction To Rails
Eric Gruber
 
KEY
Why ruby and rails
Reuven Lerner
 
PDF
FGCU Camp Talk
Mark Brooks
 
PDF
Bhavesh ro r
bhavesh-gloscon
 
PDF
Ror Seminar With agilebd.org on 23 Jan09
Shaer Hassan
 
ODP
Ruby On Rails - Rochester K Linux User Group
Jose de Leon
 
PPTX
Benefits of using Ruby on rails for Apps Development
Chetu
 
PDF
Ruby on Rails: a brief introduction
Luigi De Russis
 
PDF
RubyOnRails
artfulgeek
 
PDF
10 Things you should know about Ruby
sikachu
 
PPTX
Why Ruby?
IT Weekend
 
Introduction to Ruby on Rails
mithunsasidharan
 
Ruby Rails Web Development.pdf
Ayesha Siddika
 
Optimizing for programmer happiness
Josh Schramm
 
Why Use Ruby On Rails.pdf
Katy Slemon
 
Ruby On Rails
iradarji
 
Ruby On Rails Seminar Basis Softexpo Feb2010
arif44
 
Aspose pdf
Jim Jones
 
Ruby on Rails
Momentum Design Lab
 
Introduction To Rails
Eric Gruber
 
Why ruby and rails
Reuven Lerner
 
FGCU Camp Talk
Mark Brooks
 
Bhavesh ro r
bhavesh-gloscon
 
Ror Seminar With agilebd.org on 23 Jan09
Shaer Hassan
 
Ruby On Rails - Rochester K Linux User Group
Jose de Leon
 
Benefits of using Ruby on rails for Apps Development
Chetu
 
Ruby on Rails: a brief introduction
Luigi De Russis
 
RubyOnRails
artfulgeek
 
10 Things you should know about Ruby
sikachu
 
Why Ruby?
IT Weekend
 
Ad

Recently uploaded (20)

PPTX
Human Resources Information System (HRIS)
Amity University, Patna
 
PPTX
Comprehensive Guide: Shoviv Exchange to Office 365 Migration Tool 2025
Shoviv Software
 
PDF
Efficient, Automated Claims Processing Software for Insurers
Insurance Tech Services
 
PDF
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
PDF
Powering GIS with FME and VertiGIS - Peak of Data & AI 2025
Safe Software
 
PPT
MergeSortfbsjbjsfk sdfik k
RafishaikIT02044
 
PDF
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
PPTX
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
PDF
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
PPTX
3uTools Full Crack Free Version Download [Latest] 2025
muhammadgurbazkhan
 
PPTX
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
PPTX
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
PPTX
How Apagen Empowered an EPC Company with Engineering ERP Software
SatishKumar2651
 
PDF
Beyond Binaries: Understanding Diversity and Allyship in a Global Workplace -...
Imma Valls Bernaus
 
PDF
Linux Certificate of Completion - LabEx Certificate
VICTOR MAESTRE RAMIREZ
 
PPTX
Feb 2021 Cohesity first pitch presentation.pptx
enginsayin1
 
PPTX
A Complete Guide to Salesforce SMS Integrations Build Scalable Messaging With...
360 SMS APP
 
PPTX
MiniTool Power Data Recovery Full Crack Latest 2025
muhammadgurbazkhan
 
PDF
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
PPTX
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
Human Resources Information System (HRIS)
Amity University, Patna
 
Comprehensive Guide: Shoviv Exchange to Office 365 Migration Tool 2025
Shoviv Software
 
Efficient, Automated Claims Processing Software for Insurers
Insurance Tech Services
 
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
Powering GIS with FME and VertiGIS - Peak of Data & AI 2025
Safe Software
 
MergeSortfbsjbjsfk sdfik k
RafishaikIT02044
 
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
3uTools Full Crack Free Version Download [Latest] 2025
muhammadgurbazkhan
 
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
How Apagen Empowered an EPC Company with Engineering ERP Software
SatishKumar2651
 
Beyond Binaries: Understanding Diversity and Allyship in a Global Workplace -...
Imma Valls Bernaus
 
Linux Certificate of Completion - LabEx Certificate
VICTOR MAESTRE RAMIREZ
 
Feb 2021 Cohesity first pitch presentation.pptx
enginsayin1
 
A Complete Guide to Salesforce SMS Integrations Build Scalable Messaging With...
360 SMS APP
 
MiniTool Power Data Recovery Full Crack Latest 2025
muhammadgurbazkhan
 
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
Ad

Ruby on Rails Introduction M&P - IT Skill Development Program 07

  • 1. Ruby on Rails IT Skill Development Program Muhammad Sunny Associate System Analyst
  • 2.  Ruby is a dynamic, reflective, object-oriented, general-purpose programming language.  It was designed and developed in the mid-1990s by Yukihiro "Matz" Matsumoto in Japan.  According to its creator, Ruby was influenced by Perl, Smalltalk, Eiffel, Ada, and Lisp.  Ruby supports multiple programming paradigms, including functional, object-oriented, and imperative.  Ruby also has a dynamic type system and automatic memory management. The name “Ruby” The name "Ruby" originated during an online chat session between Matsumoto and Keiju Ishitsuka on February 24, 1993, before any code had been written for the language. Initially two names were proposed: "Coral" and "Ruby". Matsumoto chose the latter in a later e-mail to Ishitsuka. Matsumoto later noted a factor in choosing the name "Ruby" – it was the birthstone of one of his colleagues What is Ruby?
  • 4. 4 What is Rails? Ruby on Rails or(RoR) Rails is an open source Ruby framework for developing database-backed web applications. Created by David Heinemeier Hansson – DHH Partner, 37Signals/ The Rails framework was extracted from real-world web applications. That is, Rails comes from real need, not anticipating what might be needed. The result is an easy to use and cohesive framework that's rich in functionality, and at the same time it does its best to stay out of your way. All layers in Rails are built to work together so you Don’t Repeat Yourself and can use a single language from top to bottom. Everything in Rails (templates to control flow to business logic) is written in Ruby The Name “Rails” If you consider a train on rails, the train goes where the rails take it. Ruby On Rails is the Ruby language on the "rails" that DHH dreamed up. As the saying goes, RoR is very opinionated software. You can do *some* things in a way that DHH and crew don't like, but they will make it hard for you. If you follow the Rails, all goes well.
  • 6. The ( MVC ) Framework source:http://flickr.com/photos/charlesbodi/236037049/ Ruby on Rails
  • 10. ModelView Controller How it work ? Framework ROR (MVC)
  • 11. Ruby on Rails Web Application Server
  • 12. A dress shop Pant section? 1st floor kid. 2nd section
  • 14. A Rails server home controller, about action /about routes.rb
  • 15. A Rails server home controller, about action here is your html file
  • 16.  Hall of Fame award Language of the Year : 2006  Highest Position (since 2001) : #8 in May 2016  Lowest Position (since 2001) : #39 in Jan 2002  Current Position : #10 in Apr 2017
  • 18. Advantages Limitations ROR Open-sourced Learning it can be difficult Works on multiple platforms Lacks informational resources Can be embedded into Hypertext Markup Language (HTML) Slower processing time (CPU time) compared to other programming languages A Very High-Level Language (VHLL) Development and updates are slower Offers encapsulation of data methods within objects Pure OOP (Object-Oriented Programming) Super advanced string and text manipulation techniques Can easily be connected to DB2, MySQL, Oracle, and Sybase Scalable and big programs written in Ruby are easily maintainable Ability to write multi-threaded applications with a simple API Offers advanced array class Able to write external libraries in Ruby or C Better security features It has a debugger It has flexible syntax Powerful string handling .NET Easily works with ADO.NET using data-binding Mixes layout (HTML) and logic (scripting code) The Web server continuously monitors If it notices any memory leaks, infinite loops it immediately destroys those activities and restarts itself Interpreted and Loosely-Typed Code NET makes for easy deployment Limited Development and Debugging Tools application or partition your application across many languages No real state management It is purely server-side technology so, ASP.NET code executes on the server before it is sent to the browser. Update files only when server is down The ASP.NET framework is complemented by a rich toolbox and designer in the Visual Studio integrated development environment Obscure Configuration Settings With built-in Windows authentication and per-application configuration NET drastically reduces the amount of code required to build large applications