Forum: Ruby on Rails Whats the difference between "Ruby" and "Ruby on Rails"

Bcdd9f5447f1a3f18cefdb8c3f6b4dab?d=identicon&s=25 desbest (Guest)
on 2007-12-08 02:22
(Received via mailing list)
Whats the difference between "Ruby" and "Ruby on Rails"

I've looked, but cannot find anything.
8dad1ec4d769734583f45fbbee5cd009?d=identicon&s=25 Jeff Pritchard (jeffpritchard)
on 2007-12-08 02:36
desbest wrote:
> Whats the difference between "Ruby" and "Ruby on Rails"
>
> I've looked, but cannot find anything.

Ruby is a scripting language, as are Python and Perl.

Ruby on Rails is a Web app framework that is built on the scripting
language Ruby.

Ruby on Rails makes it easy to use the language Ruby to write stuff that
makes a dynamic database driven website work (like a wiki, or a social
networking site).

jp
3c2a32c6477a036de72b1f874a74c21b?d=identicon&s=25 gemblon (t.b.) (gemblon)
on 2007-12-08 03:09
Jeff Pritchard wrote:
> desbest wrote:
>> Whats the difference between "Ruby" and "Ruby on Rails"
>>
>> I've looked, but cannot find anything.
>
> Ruby is a scripting language, as are Python and Perl.
>
> Ruby on Rails is a Web app framework that is built on the scripting
> language Ruby.
>
> Ruby on Rails makes it easy to use the language Ruby to write stuff that
> makes a dynamic database driven website work (like a wiki, or a social
> networking site).
>
> jp

ruby is a stripper.
rails is the pole.

when they get together, developers get real happy.
6c4fb2e03ccc9e26d6c837989807fba9?d=identicon&s=25 Michael Slater (Guest)
on 2007-12-08 18:30
(Received via mailing list)
The podcast series I just began, Learning Rails, starts out by
explaining exactly this, and all the other core concepts behind Ruby
on Rails. It's at www.LearningRails.com.

Ruby is a language that is used in many settings, not just in web
applications.

Rails is a framework, written in Ruby, that facilitates the writing of
database-backed web applications. The applications are also written in
Ruby.

Michael Slater
www.BuildingWebApps.com
www.LearningRails.com

On Dec 7, 6:09 pm, "gemblon (t.b.)" <rails-mailing-l...@andreas-s.net>
9a2a53db8e9b4476038c94a64b32833f?d=identicon&s=25 Ryan Bigg (Guest)
on 2007-12-09 12:15
(Received via mailing list)
gemblon (t.b.) wrote:
>> Ruby on Rails is a Web app framework that is built on the scripting
> rails is the pole.
>
> when they get together, developers get real happy.
>
Best.
Analogy.
Ever!
6d5372cce15187dd67b69a6f873348a9?d=identicon&s=25 Donald R. (donald_r)
on 2010-11-21 20:02
Alright I understand that your using ruby for the base of a web
development language but is the same thing or are there differences
in the language to allow the user to do web development in an easier
manner that is geared specifically towards web development.
684b64cf1db4f88d642531024278ec40?d=identicon&s=25 Radhames Brito (rbritom)
on 2010-11-21 20:12
(Received via mailing list)
On Sun, Nov 21, 2010 at 3:02 PM, Donald R. <lists@ruby-forum.com> wrote:

> Alright I understand that your using ruby for the base of a web
> development application but is the same thing or are there differences
> in the language to allow the user to do web development in an easier
> manner that is geared specifically towards web development.
>
> Ruby is a programming language while rails is a framework done with ruby, a
framework is a set of libraries and tools.
A47e0a6beeb9d048ff054fc1c3a97418?d=identicon&s=25 Walter Davis (walterdavis)
on 2010-11-21 20:17
(Received via mailing list)
On Nov 21, 2010, at 2:02 PM, Donald R. wrote:

> Alright I understand that your using ruby for the base of a web
> development application but is the same thing or are there differences
> in the language to allow the user to do web development in an easier
> manner that is geared specifically towards web development.

Ruby is a flexible language, in that you can open foundation classes
and add new abilities to existing things, like maybe a String gets a
new method, for example. Rails uses this concept in places to give
native Ruby constructs new web-centric powers.

As far as I understand, Rails couldn't exist as it does without the
metaprogramming madness possible using the Ruby language, so it's
pretty much a chicken-or-egg problem. DHH (the original author of
Rails) is often quoted as saying that he couldn't have written Rails
without Ruby. He started out to write it in PHP, and abandoned that
when it quickly became too hard to get where he wanted to go.

PHP 5.3, which wasn't around when he did this little experiment,
begins to introduce some better reflection and metaprogramming hooks
(the equivalent of method_missing might be the new __call() function
in PHP5) but even those are seriously limited by the fact that your
classes are frozen at the time they are subclassed from their parents,
and cannot be opened again without installing some very cutting-edge
extensions to the language. These extensions in turn need to be
compiled into the PHP on your server, so you basically eliminate 99%
of all hosting providers when you say that.

There's more, and I'm hardly the expert to explain it all to you, but
if DHH says it, then it must be true!

Walter
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.