webservices status in rails

S

snacktime

I heard rumors that webservices as they are now in rails was going to
change or even be taken out altogether. Anyone know enough about it's
future to say whether it's a smart idea to start basing a webservice
on rails at this point?

Chris
 
C

cremes.devlist

I heard rumors that webservices as they are now in rails was going to
change or even be taken out altogether. Anyone know enough about it's
future to say whether it's a smart idea to start basing a webservice
on rails at this point?

The new REST support in the upcoming Rails 1.2 promises to make Rails one of the premiere platforms for building web services. Rails handles the server side beautifully. It assumes the data marshalling will be done with xml, but there's no reason it couldn't be extended to include SOAP envelopes.

For the client side of the equation (and server-side too, to a certain extent) the new ActiveResource library looks incredible. I just started scratching at it this weekend and already I'm impressed. It does for web services what ActiveRecord does for database access; that is, it makes them brain-dead simple.

So, avoid the ActionWebservice library unless you need to build something SOAPy "right now." Otherwise, look at Rails 1.2 and ActiveResource.

cr
 
T

Tom Copeland

I heard rumors that webservices as they are now in rails was going to
change or even be taken out altogether. Anyone know enough about it's
future to say whether it's a smart idea to start basing a webservice
on rails at this point?

FWIW, I've got a server API (getindi.com) that's completely based on
XML-RPC via actionwebservice. So actionwebservice will definitely
continue in some sense or another, whether it's part of Rails core or
not...

Yours,

tom
 
S

snacktime

FWIW, I've got a server API (getindi.com) that's completely based on
XML-RPC via actionwebservice. So actionwebservice will definitely
continue in some sense or another, whether it's part of Rails core or
not...

Yours,

Thanks Tom! Good to know.
 
S

snacktime

The new REST support in the upcoming Rails 1.2 promises to make Rails one of the premiere platforms for building web services. Rails handles the server side beautifully. It assumes the data marshalling will be done with xml, but there's no reason it couldn't be extended to include SOAP envelopes.

For the client side of the equation (and server-side too, to a certain extent) the new ActiveResource library looks incredible. I just started scratching at it this weekend and already I'm impressed. It does for web services what ActiveRecord does for database access; that is, it makes them brain-dead simple.

So, avoid the ActionWebservice library unless you need to build something SOAPy "right now." Otherwise, look at Rails 1.2 and ActiveResource.

The problem with REST is that it's not widely known, and most
developers we work with are much more familiar with SOAP. Our job is
to provide an api that the majority of our clients will be able to
implement without the extra hassle of learning something like REST. A
lot of our clients use .NET also, and the amount of extra work
required to use a webservice that isn't SOAP based can be substantial.

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top