I'm new here as you would soon see from my post. I started reading
http://pine.fm/LearnToProgram/ and am somewhat "getting it"... I do find
some difficulties understanding the flow of things, but I do get the
logic. I guess it all comes with determination and practice.
Well, enough talk. I have a question for you guys - should I continue
reading Pine's guide on Ruby or start reading something on Ruby on
Rails? I don't quite get what the real difference is between them, but
from what I did manage to get is that ROR is a "gateway" type of
scripting that should allow for an easier and more simple implementation
and use of the Ruby language - is that so?
For me personally it'll be much easier to learn if after I read the
basic stuff (eg. a manual and get an approximate idea of how things
work) to get my hands on some practical scripts and start messing around
with them to see what actually happens - I'm more of the "visual"
learner and I really need to actually "see" things in order to
Thank you all in advance for your responses!
Ruby is a scripting language.
Ruby on Rails is a web framework that uses Ruby as it’s underlying scripting language.
You need to know Ruby to work with Ruby on Rails.
Learn Ruby as a language and then, if you’re interested in creating websites with Ruby, look at Ruby on Rails.
The best way to learn is to have a real problem you want solved. Then
try, fail and ask questions when you're stuck.
I am not sure exactly what you're asking but if you are trying to
'personalize' many separate websites based on the calling domain
( something.com ) then I might be able to help.
I created a synthetic example of this at WebRancher.com where one code
based reads the 'request.host' object and based on the domain name
serves the appicable data to the application framework.
John, if you want to learn Ruby and Ruby on Rails, you probably need
to start by buying a book first that explains all the basics of the
language. A lot of people start with this one for Rails:
which if I remember correctly takes you step by step in building an
As a relative newbie myself I would second this recommendation. Just
make sure you get version 3 - Ruby on Rails changed a lot between 1.xx
An older book that I still find useful is
which focuses more on Ruby but from a Rails perspective.
Enjoy it is a good point, and a good launchpad into more reading and