Reusable code in AWS

From what I’ve read (manual site, AWDWR), I don’t see the ability to
easily
re-use your ActionController methods in your ActionWebServices. The
problem
I’m finding is that the AWS methods require arguments in their
definition
whereas the ActionController methods get theirs from the post/get
(params).
I must be missing something obvious, no? If I’m not, then I can really
see
why ActiveResource/REST are more attractive…


Ed Hickey
Developer
Litmus Media
816-533-0409
[email protected]in.invalid
A Member of Think Partnership, Inc
www.ThinkPartnership.com
Amex ticker symbol: THK

Ed Hickey wrote:

I must be missing something obvious, no? If I’m not, then I can really
see why ActiveResource/REST are more attractive…

AWS and ARes aren’t the same thing: AWS (the “SOAP interface”) is
candidate for deprecation and ARes (the “REST interface”) won’t be
included in the Rails 1.2 core yet but is available from SVN.

ARes is what integrates nicely with RESTful controllers and is probably
you’re looking for.

  • Roderick

On 1/16/07, Roderick van Domburg [email protected]
wrote:

Ed Hickey wrote:

I must be missing something obvious, no? If I’m not, then I can really
see why ActiveResource/REST are more attractive…

AWS and ARes aren’t the same thing: AWS (the “SOAP interface”) is
candidate for deprecation and ARes (the “REST interface”) won’t be
included in the Rails 1.2 core yet but is available from SVN.

I know. I didn’t mean to make it sound like they were the same. I was
saying that, in my experience with AWS, I am beginning to understand why
an
ARes/REST implementation would be a simpler route than AWS.

ARes is what integrates nicely with RESTful controllers and is probably

you’re looking for.

That’s what it’s looking like. It just seems odd that rails, with it’s
emphasise on DRY would make you rewrite code in you AWS.

Thanks,
ed

Ed Hickey wrote:

That’s what it’s looking like. It just seems odd that rails, with it’s
emphasise on DRY would make you rewrite code in you AWS.

Indeed - I misread you original post. What can I say? I agree with you
:slight_smile: and it’s good to see that Rails is evolving towards REST. Looking
forward to the core inclusion of ARes.

  • Roderick

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs