Forum: Ruby on Rails SOA on rails...

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
424e2cfb520124d7b809b2cbf5e456f3?d=identicon&s=25 shawn (Guest)
on 2006-03-17 21:55
We are in the process of evaluating new development frameworks for our
future development platform. We currently use php and are evaluating
Java, Ruby, Mono and .NET.

We really like Ruby but unfortunately, we are having a hard time
implementing our layered Service Oriented Architecture using Ruby due to
the view being tightly bound to the ActiveRecord objects.

Although we love all the great functionality ActiveRecord provides for
free we like to bury the domain objects under a Facade Layer to promote
a higher level of abstraction between the Core Business Logic and the
higher level Application Logic. This allows us to provide a service
oriented API that can be used to build various applications.

Any thoughts on how one might achieve this in Ruby without giving up too
much of the "get it for free" stuff in ActiveRecord?

Thanks!

Shawn
25e11a00a89683f7e01e425a1a6e305c?d=identicon&s=25 Wilson Bilkovich (Guest)
on 2006-03-18 00:46
(Received via mailing list)
On 3/17/06, shawn <shawn@cnemedia.com> wrote:
> a higher level of abstraction between the Core Business Logic and the
> higher level Application Logic. This allows us to provide a service
> oriented API that can be used to build various applications.
>
> Any thoughts on how one might achieve this in Ruby without giving up too
> much of the "get it for free" stuff in ActiveRecord?
>

Could you be a little more specific? Are you talking about the
ActiveRecord-aware form helpers, like text_field and select?
I can't think of anything coupling ActiveRecord to the view
components. Many people are using ActiveRecord entirely outside of the
rest of Rails, in fact.

A decent number of folks are also exposing ActiveRecord functionality
directly or indirectly through SOAP and REST.

--Wilson.
F3dc06f587d1ff4c7366b102bfda9204?d=identicon&s=25 David Mitchell (Guest)
on 2006-03-18 03:32
(Received via mailing list)
I don't understand how you feel Rails is limiting your SOA
capabilities - IMHO it's a great SOA enabling technology - but if you
want to abstract your "application" from your model/controller, you
could use ActiveWebServices to a "facade" layer to your data.  Put an
abstraction layer into the Web service, and have your app call the AWS
interfaces for all access to the data.


Regards

Dave M.
This topic is locked and can not be replied to.