Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 18th, 2006, 10:51 AM   #1
mammothfan
Newbie
 
Join Date: May 2006
Location: Denver, Colorado
Posts: 8
Rep Power: 0 mammothfan is on a distinguished road
What is ruby on rails?

What is it? is it its own seperate language from ruby? is it like a quik form of ruby? I have looked at several ruby on rails books, and it doesn't answer my questions. Thanx.
mammothfan is offline   Reply With Quote
Old Oct 18th, 2006, 11:21 AM   #2
grumpy
Programming Guru
 
grumpy's Avatar
 
Join Date: Jun 2005
Location: Adelaide, South Australia
Posts: 1,260
Rep Power: 5 grumpy will become famous soon enough
Ruby on Rails (more usually just called "Rails") is a web application framework written in the Ruby programming language.
grumpy is offline   Reply With Quote
Old Oct 18th, 2006, 11:27 AM   #3
mammothfan
Newbie
 
Join Date: May 2006
Location: Denver, Colorado
Posts: 8
Rep Power: 0 mammothfan is on a distinguished road
ah so its sort of like compared to perl its like CGI?
mammothfan is offline   Reply With Quote
Old Oct 18th, 2006, 11:40 AM   #4
ReggaetonKing
Sexy Programmer
 
ReggaetonKing's Avatar
 
Join Date: Nov 2005
Location: New Jersey
Posts: 891
Rep Power: 4 ReggaetonKing is on a distinguished road
Send a message via AIM to ReggaetonKing
No. Ruby is the language used to create Ruby on Rails web apps. Rails in the framework/library, as Grumpy said, that is written in Ruby. You can use other languages with the Rails framework but Ruby, by far, is the most popular.

Ruby is offen compared to Python.
__________________
I would love to change the world, but they won't give me the source code!
ReggaetonKing is offline   Reply With Quote
Old Oct 18th, 2006, 11:56 AM   #5
mammothfan
Newbie
 
Join Date: May 2006
Location: Denver, Colorado
Posts: 8
Rep Power: 0 mammothfan is on a distinguished road
Ok I think I get it now. So their is one rails framework that can be used by many languages. So do you use regular ruby syntax and code?
mammothfan is offline   Reply With Quote
Old Oct 18th, 2006, 12:03 PM   #6
ReggaetonKing
Sexy Programmer
 
ReggaetonKing's Avatar
 
Join Date: Nov 2005
Location: New Jersey
Posts: 891
Rep Power: 4 ReggaetonKing is on a distinguished road
Send a message via AIM to ReggaetonKing
Yes, you use the Ruby language to create rich web apps with Rails. Hence, "Ruby on Rails".
__________________
I would love to change the world, but they won't give me the source code!
ReggaetonKing is offline   Reply With Quote
Old Oct 18th, 2006, 7:49 PM   #7
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
Quote:
Originally Posted by mammothfan View Post
Ok I think I get it now. So their is one rails framework that can be used by many languages. So do you use regular ruby syntax and code?
Not quite. In Perl you can use the CGI module to create web applications, such as a search engine, webmail service or anything else you can think of. Ruby too has a CGI module that allows you to do exactly the same things.

Ruby on Rails is a step above this. Rails makes it far easier to design complex database-driven applications than with the basic CGI module. Rails provides a framework you can build upon to develop large scale applications faster than most other systems can do. This makes it popular with web developers, as it saves them a lot of time.

Of course, Rails isn't the only web application framework out there, but it is one of the most talked about in recent times.

Also, Ruby on Rails is a framework that is only available for the Ruby language - though plenty of copycat frameworks have shown up in other languages.
Arevos is offline   Reply With Quote
Old Oct 18th, 2006, 9:39 PM   #8
ReggaetonKing
Sexy Programmer
 
ReggaetonKing's Avatar
 
Join Date: Nov 2005
Location: New Jersey
Posts: 891
Rep Power: 4 ReggaetonKing is on a distinguished road
Send a message via AIM to ReggaetonKing
Quote:
Originally Posted by Arevos
Also, Ruby on Rails is a framework that is only available for the Ruby language - though plenty of copycat frameworks have shown up in other languages.
Hmm. I once saw in other forum that someone was using "Java on Rails". After reading your post, I went back to the forum and saw that it said "Java on Sails". Lol My bad to the O.P.!
__________________
I would love to change the world, but they won't give me the source code!
ReggaetonKing is offline   Reply With Quote
Old Nov 20th, 2006, 10:47 AM   #9
Bitwise
Newbie
 
Bitwise's Avatar
 
Join Date: May 2005
Location: UK
Posts: 21
Rep Power: 0 Bitwise is on a distinguished road
To clarify, Ruby is an interpreted programming language which has features in common with Perl and Python but is OOP from the ground up (you can't do anything in Ruby without using objects).

Rails is a framework which provides tools for creating dynamic web applications which connect the web page interface to a database backend. Ruby provides the programming logic that sits in between. With Ruby On Rails you can use Ruby to program Blogs, eCommerce apps, Wikis and so on. So Rails, in effect, makes Ruby work a lot like PHP but also adds in various other capabilities which assist the programmer in the creation of dynamic sites.

best wishes
Huw
__________________
Bitwise Magazine -serious computing :: www.bitwisemag.com
Bitwise is offline   Reply With Quote
Old Dec 17th, 2006, 5:57 AM   #10
Komodo
Hobbyist Programmer
 
Komodo's Avatar
 
Join Date: May 2005
Location: Scranton, PA
Posts: 112
Rep Power: 0 Komodo is an unknown quantity at this point
Send a message via AIM to Komodo Send a message via MSN to Komodo
So... is it any good?

Like if I knew PHP would I like Ruby on Rails?
Komodo is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why Ruby on Rails won't become mainstream. mongeau Ruby 3 May 30th, 2006 4:54 AM
Ruby or Python? titaniumdecoy Other Scripting Languages 2 May 30th, 2006 1:51 AM
Ruby guides/References list Jessehk Ruby 2 Mar 22nd, 2006 12:31 AM
want to try something big...ruby on rails theguy0000 Other Programming Languages 2 Sep 26th, 2005 1:25 AM
Ruby on Rails Dizzutch Existing Project Development 15 Sep 7th, 2005 12:06 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:44 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC