Ruby was first introduced to me by Michael Gimena my co-founder in Cebu Directories. He showed me how easy and fast to build an application using Ruby on Rails. I tried it for a week during my spare time (experimental programming) and believe me I was able to build an application in just a few hours. How did I do it? Simple I just followed some examples.

My objective in this article is to introduce (this is not a tutorial article) Ruby on Rails. So let’s get started shall we?

What is Ruby?

Ruby is an interpreted scripting language for quick and easy object-oriented programming. It is simple for non-tech people to understand and its a powerful choice of programming language for experienced programmers. The syntax is simple and flexible.

What is Rails?

Rails is a web development framework written in Ruby language. It uses the Model-View-Controller (MVC) architecture pattern to organize  application programming. With MVC it empowers you to write less code and allows you to focus on the things you need to accomplish. See diagram below.

The MVC Process

The benefit of

  • Isolation of business logic from the user interface
  • Ease of keeping code DRY
  • Making it clear where different types of code belong for easier maintenance

From Getting Started with Rails


A model represents the information (data) of the application and the rules to manipulate that data. In the case of Rails, models are primarily used for managing the rules of interaction with a corresponding database table. In most cases, each table in your database will correspond to one model in your application. The bulk of your application’s business logic will be concentrated in the models.


Views represent the user interface of your application. In Rails, views are often HTML files with embedded Ruby code that perform tasks related solely to the presentation of the data. Views handle the job of providing data to the web browser or other tool that is used to make requests from your application.


Controllers provide the “glue” between models and views. In Rails, controllers are responsible for processing the incoming requests from the web browser, interrogating the models for data, and passing that data on to the views for presentation.

If you want to know more about Ruby and Ruby on Rails I recommend the links below: – Interactive tutorial

Categories: Blog, Programming

Leave a Reply

Twitter updates

No public Twitter messages.