This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Ruby and the fly likes Ruby for prototyping Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Languages » Ruby
Bookmark "Ruby for prototyping" Watch "Ruby for prototyping" New topic

Ruby for prototyping

Mihai Lihatchi
Ranch Hand

Joined: Oct 28, 2005
Posts: 138

Hello Ruby programmers
I started learning Ruby in May while waiting for my SCEA assignment during a brief holiday . I used .. and still use the "PickAxe" book - "Programming Ruby". I already am able to write basic Ruby scripts and unit tests for the scripts ( can't live without unit-tests).
Because I have managed to get the SCEA certification I am now looking to improve my prototyping skills.

What I need is to prototype a web application in Ruby ( maybe using Rails) and then get to implement it using GWT , Java POJO's and JPA's .
Has anybody used this approach ? Did it work ?
PS : I read about this prototyping in one language and implementing in another in a Martin Fowler book .. can't remember which now so I think it works well for some people.

Better, faster, lighter Java ... you mean Ruby right ?
SCEA5,SCBCD1.3,SCWCD5,SCJP1.4 - memories from my youth.
David Newton

Joined: Sep 29, 2008
Posts: 12617

I used to do that, then I stopped because once I had a working prototype I really didn't need to implement it using a different technology, especially since JRuby on Rails works so well.

But yes, with caveats:

- If you *must* use a specific deployment technology, and:
- The system is large enough, and:
- It requires large amounts of behavioral validation, and:
- You must provide that validation all at once instead of as the system is developed.

Plus you can usually reuse parts or all of the database as long as you design it appropriately.

More often than not the prototyping I do isn't the complete system, but rather small functional aspects: maybe some business logic, an object model, and so on. Depending on the target and prototyping system, sometimes I can use the prototype code directly, and if I run in to performance issues, convert it to the target system. But I'm almost exclusively on the JVM, so that's really easy.
I agree. Here's the link:
subject: Ruby for prototyping
Similar Threads
SCEA Part 1: Passed 89%
SCEA - Part I - Prepration
Is SCEA Valuable?
Passed SCEA Part I (100%)
Passed SCEA part 2 and 3