I am basically a J2EE refugee fascinated with Rails.
I have been using the Spring framework (a lightweight J2EE java
with some special characteristics) but I am so impressed with RoR that I
porting over many applications.
In order to “dive into Rails”, of course the second thing to do was get
myself an IDE, and since I’ve been using Eclipse for the past two years
so, well, RadRails http://www.radrails.org/ was a natural. I have
this great environment to make a great Ruby on Rails even greater and
Following the old, (somewhat unfair, to teachers, anyway) adage “them
know, do; … the others, teach”, I have documented my diving into
and RadRails in an instiki Wiki on Site5, my hosting provider.
I said the second thing to do was get myself an IDE. The first thing I
was to get myself a Bible! of course.
So I dutifully purchased the PDF version of
I have documented (with graphics) everything I have been doing since, in
form of an illustrated tutorial of going through the Demo and the Depot
from the AWDWR
but with two extensions.
The first, given my CMMI and RUP background, was to embellish a few of
tutorial sections (and parts of the resulting wiki) with rather a lot to
about ***Object Oriented
*, which I believe is joined at the hip to Rails, given that it is a
patterns oriented (MVC, and others too) framework.
I do chide
bit for its downplaying of process (Agile or otherwise), although I
to make it clear that I think it’s a wonderful Bible, and I do
that it has to stick to the subject of Rails and the code, and present
a pedagogic manner.
The second “extension” to the book is that I try to show how to use the
various aspects of RadRails http://www.radrails.org/ functionality (I
illustrate this with graphics) as one works with a Rails project.
I have peppered the examples with just a tad of UML diagrams to see
more clearly also.
I am writing this mail In the hopes that all this may be of use or of
interest to some folks. If so, here are the links:
Starting from the top (
I. Installation of RadRails through Eclipse Update (
II. 3-part tutorial on the initial “demo” app from the book:
- Demo app:
- (“Hello, Rails!”)
- Demo app:
- (SVN repository, commit changes)
- Demo app: *
- (further develop and polish off demo)
III. Then comes my own ranty *Thorough critique of Chapter
IV. An approach to redressing some problems I found in this excellent
in terms of *** Object Oriented
- in which I attempt to present a
- ( http://wiki.awebfactory.com.ar/awebfactory/published/DepotAppProcess
Of course, the book must perforce stick very closely to Rails itself,
just felt it was overdoing the “DRY” philosophy a tad.
V. An unfinished section (not started yet, actually) on hooking up this
process to the actual depot app implementation as shown in the book
It may not be entirely apparent to many why parts III-V need to exist,
the thing is I feel that you can’t waltz into an MVC framework like
without ObjectOrientedProcess, I think the two things are joined at the
otherwise you just won’t have any idea of how to actually make use of
this yourselves on your own projects. This is, of course, just my
VI. What many are looking for, the actual nitty gritty of using many
of RadRails with the Depot App itself, as developed in the book: ***
App With Rad
I have already finished a considerable portion of the book, out of 17
“iteratons”, I have 11 tutorials, on which I really would like to get
feedback, including info on any errors I may have made, parts which are
Here is the table of contents of this part:
- *Depot App With Rad Rails
Chapter 6: Task A: Product Maintenance
- 6.1 *Depot App With Rad Rails Iteration
*: Get Something Running
- 6.2 *Depot App With Rad Rails Iteration
*: Add a Missing Column
- 6.3 *Depot App With Rad Rails Iteration
- 6.4 * Depot App With Rad Rails Iteration
*: Prettier Listings
Chapter 7: Task B: Catalog Display
- 7.1 *Depot App With Rad Rails Iteration
*: Create the Catalog Listing
- 7.2 *Depot App With Rad Rails Iteration
*: Add Page Decorations
Chapter 8: Task C: Cart Creation
- 8.1 Sessions
- 8.2 More Tables, More Models
- 8.3 *Depot App With Rad Rails Iteration C1
*: Creating a Cart
- 8.4 *Depot App With Rad Rails Iteration
- : Handling Errors
- 8.5 *Depot App With Rad Rails Iteration
*: Finishing the Cart UML
Chapter 9: Task D: Checkout!
- 9.1 *Depot App With Rad Rails Iteration
*: Capturing an Order ERD UML
- 9.2 Depot App With Rad Rails Iteration D2: Show Cart Contents on
Checkout (not done yet; coming real soon!).
True to my character, I add a bit of UML in the last two parts!
I am planning on doing another tutorial based somewhat on a project I
be doing this week. Wanted to get some feedback on these first.