Thursday, May 28, 2009

Setup Ruby on Rails in the Windows platform

1.First Download the Ruby setup. You can get the Ruby setup by following this link http://rubyonrails.org/download

2.By using this setup you can install ruby on your windows machine...After install ruby you can check the ruby version by typing ‘ruby –v’ command in the dos prompt.

3.Then we have to install rails frame work. If you have online connection type ‘gem install rails’ in the windows prompt...Then we can easily install the rails frame work.

4.After install rails we can check the version of the rails by typing ‘rails –v’ on the command prompt.

5.Then we have to decide the database we going to use in this application. In this example I use postgreSQL database. Download the postgreSQL windows setup
(http://www.postgresql.org/download/windows), and install it.

6.Then we have to install Ruby-Postgres gem using the command ‘gem install ruby-postgres’ in the command prompt.

7.Now your basic installation of the Ruby on Rails in the windows platform has completed.

Thursday, May 21, 2009

Advantages of Ruby on Rails

Advantage of using Ruby on Rails is that it proves very useful while developing database driven websites and applications. It supports databases like Mysql, Postgresql, and Oracle etc. and also provides developers with detailed error logs so as to enable them to debug applications. Users have the facility to develop search engine friendly URL’s for dynamic websites (which have query strings and delimiters like question mark) using the RoR framework. Its MVC (model view architecture) enables data and logic to be separated from presentation. The wide range of libraries provided to developers helps in simplifying the coding of common programming languages tasks such as form validations, sessions management etc. The active record feature in rails simplifies data handling in databases as it automatically maps tables to classes and rows to objects. All these features have made Ruby on Rails a popular framework amongst the open source developers’ community as it helps in rapid application development.

Ruby On Rails


Ruby on Rails, RoR is an open source web development framework, which has taken the web application space by storm. Ruby has been popularly known as object oriented general-purpose programming and scripting language since 1995. Released in the year 1995, Ruby is being used in many sectors including artificial intelligence (AI) and Machine learning programs. Written in a simple syntax, Ruby is easy to create, maintain, and edit.
Rails web application development framework was written using the Ruby programming language. The benefit of using Ruby on Rails as a framework is that it allows applications to be developed faster using simple methods. Ruby as a programming language is known to be a hybrid between Perl and Smalltalk and is considered quite similar to the Perl and Python Programming languages. Applications developed using this open source technology framework. can easily run on any server, which implements CGI or FastCGI.