[dba-Tech] Ruby on Rails

Arthur Fuller fuller.artful at gmail.com
Sat Sep 19 07:13:13 CDT 2009


As I mentioned, I'm just getting started with RoR, but so far I'm very
impressed with it. It makes several assumptions such as "convention over
configuration", which means roughly that you will name various objects in a
certain way. With a single command, you can create a whole directory tree
for your application, complete with development, test and production
directories. Many of the objects created within this tree, as well as the
tables you create in the database and even their column names, are assumed
to be called xxx. You can disobey these conventions but to do so costs you a
lot in terms of automation. I'm prepared to pay that price.
There are a couple of standard installation packages that include everything
you'll need. By everything I mean apache, a local web server called Webrick,
MySQL and of course Ruby on Rails itself. itselfI used an increasingly
popular one called Bitnami Rubystack.

The language is a dynamic language. No variables need be declared before
use, and should you want to, you could change the datatype of a given
variable anytime you want to.

The approach takes a little getting used to, but results in very clean and
minimal code. Following the instructions in the Getting Started chapter, I
had a simple web site up and running (addressing a single table) complete
with a start page, all the CRUD methods, and pages to add new records and
edit existing records. This whole process took maybe 15 minutes.

I'll continue to report on RoR as I progress through the book I'm following
(Ruby on Rails Bible, by Timothy Fisher).

A.

On Fri, Sep 18, 2009 at 6:44 PM, Mark Breen <marklbreen at gmail.com> wrote:

> Hello Arthur,
> never used it but would love to hear what you think about it,
>
>



More information about the dba-Tech mailing list