Using Ruby as a front end for a trading system

Hi All,

needed some direction for a newbie to RoR. I have done work in Java,
.net and perl, and really prefer perl and java over .net, now we are we
are looking to start building a financial trading application, most of
the team wants to go with .net while I am trying to build the case with
Ruby. Some of our classes have been developed in delphi7. Would I be
able to use RoR on the front end of this application? and pass the
information back to say a soap-enabled web services server… so the
idea is:

ruby on the front --> web services --> deplhi classes --> DB

or should I just do this:

RoR --> Db

also, is RoR n-tiered? from what i have read so far, it is much like
PHP…ie 2 tiered unless we do some extra work?

thanks all, appreciate the help!
Moti

Mohtashim Ahmed wrote:

Hi All,

needed some direction for a newbie to RoR. I have done work in Java,
.net and perl, and really prefer perl and java over .net, now we are we
are looking to start building a financial trading application, most of
the team wants to go with .net while I am trying to build the case with
Ruby. Some of our classes have been developed in delphi7. Would I be
able to use RoR on the front end of this application? and pass the
information back to say a soap-enabled web services server… so the
idea is:

ruby on the front --> web services --> deplhi classes --> DB

or should I just do this:

RoR --> Db

also, is RoR n-tiered? from what i have read so far, it is much like
PHP…ie 2 tiered unless we do some extra work?

thanks all, appreciate the help!
Moti

It would be much easy to do it

RoR --> Db

I don’t know about how to use it with web services :slight_smile:

No, RoR is not the same like PHP, or I had kept myself coding PHP if
they were :smiley:

RoR is very simple to set up as n-tiered… it has things built in out
of
the box for doing so, and for the few things that can’t be done easily
with
out of the box Rails, there are plugins for.

And, yes, it is extremely simple to do what you said with RoR -> web
service
-> Delphi -> DB.
A lot of people at larger companies who can’t afford to go RoR
wholeheartedly to begin with do it via this step… set up web service
front
ends to all of your current code, and put an RoR face on it… then, as
your
other developers become more and more familiary with RoR, and as you
begin
to see the obvious advantages of using it, you can refactor your code to
become more of a Ror -> DB situation.

Luke I. wrote:

RoR is very simple to set up as n-tiered… it has things built in out
of
the box for doing so, and for the few things that can’t be done easily
with
out of the box Rails, there are plugins for.

And, yes, it is extremely simple to do what you said with RoR -> web
service
-> Delphi -> DB.
A lot of people at larger companies who can’t afford to go RoR
wholeheartedly to begin with do it via this step… set up web service
front
ends to all of your current code, and put an RoR face on it… then, as
your
other developers become more and more familiary with RoR, and as you
begin
to see the obvious advantages of using it, you can refactor your code to
become more of a Ror -> DB situation.

thanks for the help guys… any idea where i can find information on
making RoR ntiered? but if i make it 3 tiered say, then i cannot use
activerecord…or can I?
thanks!
M

Mohtashim Ahmed wrote:

thanks for the help guys… any idea where i can find information on
making RoR ntiered? but if i make it 3 tiered say, then i cannot use
activerecord…or can I?
thanks!
M

Rails IS n-tiered already. ActiveRecord is the data access layer. The
model classes you created are the business objects, and the controllers
and views are the interface (with some cross over into the business
objects).