Ruby/Object Oriented Programming

From Meshplex

Jump to: navigation, search
Image:Ruby_on_rails_tutorials.jpg
Ruby for complete beginners
Ruby Introduction
What can I use RoR for?
Reasons for choosing RoR over other popular programming languages such as php or asp.net .What makes Ruby so much more special
Where can I find RoR? In what “forms” does it come?
How to install RoR.Solutions for both the novice and professional programmers on Windows,Mac OS X and Linux.Prerequisites.
Ruby programming tutorials for beginners:
Ruby Basics
Ruby Variables, Datatypes, Operators
Ruby Symbols
Ruby Statements
Ruby Converting data to another type: type conversion or typecasting
Ruby Arrays, Hashes, Ranges
Ruby Functions and built in functions
Ruby Control structures
Ruby Regular expressions and blocks
Ruby Loops
Ruby Recursion
Ruby Data Structures
Ruby Methods, Classes, Modules, Namespaces
Ruby Exceptions
Ruby Object Oriented Programming
Ruby Multithreading
Ruby File Handling.Input and Output
Ruby Basic GUI
Ruby and databases.Ruby on Rails and MySQL
Ruby Basic CGI.Using fastCGI
Ruby Basic Networking and web programming
Ruby Basic Graphics
Ajax and Rails.Web 2.0 and what it means
Ruby Testing, Debugging, Automation of tasks
Ruby Apache,Capistrano, Mongrel,lighttpd – reviews and tips
Finding a Ruby on Rails ready web hosting company
BONUS: mini tutorial for a simple RoR application

[edit] Ruby Object Oriented Programming

I have mentioned "object oriented programming" or "object oriented programming language" or "objects" several times in this tutorial and briefly explain it.It is time for you to get a better understanding of the concept and why programming languages that support the concept are a great choice.

There is also a very nice general article on Wikipedia that you may wish to check after reading this chapter.

OOP is a programming paradigm first introduced in the 1960s that gained more acceptance starting from the 1980s after the C++ programming language was introduced.

An object oriented programming language or OOP supports the use of "objects" in designing programs.Probably one of the most important features is encapsulation.Other features widely "abused" are inheritance, polymorphism or modularity.

OOP is supposed to make writing and maintaining code easier, as well as allowing future improvements in code easily without having to modify a great deal of what's already been coded.OOP code is also easier to understand by someone who hasn't previously participated in developing the program or in other words, by someone who comes in contact with the code for the first time.

OOP consists of a few fundamental concepts such as : classes, methods, objects, encapsulation, polymorphism, inheritance, abstraction, message passing.

I will invite you again to check Wikipedia for more detail on the meaning of each of these concepts.

Previous