Ruby on Rails 08 June 2017
source:http://en.wikipedia.org/wiki/Ruby_(programming_language)
Birthday: 24 February 1993 Object Oriented
Yukihiro ‘Matz’ Matsumoto, creator of Ruby
try ruby! (in your browser) http://tryruby.hobix.com/
Birth: July 2004 MVC
David ‘dhh’ Heinemeier Hansson , creator of Rails
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Learn Ruby on Rails Development
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?
3.
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.
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