writing web services using Ruby

T

Thilina Buddhika

hi,
i want to write a web service using Ruby. This is not the client, but
the service.
Is there any good reference for writing services in Ruby. what i found
in the web were about writing clients using Ruby. But i want articles
about writing services.


thanks in advance.

regs,
buddhika
 
J

James Britt

Thilina said:
hi,
i want to write a web service using Ruby. This is not the client, but
the service.

Well, you'll have to define "service".
Is there any good reference for writing services in Ruby. what i found
in the web were about writing clients using Ruby. But i want articles
about writing services.


For REST services (which is likely the path you will want to take), the
book RESTful Web Services, by Leonard Richardson, is pretty good. It
seems to have a an unusually large number of small but annoying errors,
but the fundamental ideas are quite sound and there is a good deal of
Ruby code in there.


--
James Britt

"Programs must be written for people to read, and only incidentally
for machines to execute."
- H. Abelson and G. Sussman
(in "The Structure and Interpretation of Computer Programs)
 
J

James Edward Gray II

i want to write a web service using Ruby. This is not the client, but
the service.
Is there any good reference for writing services in Ruby. what i found
in the web were about writing clients using Ruby. But i want articles
about writing services.

It's very easy to write XML-RPC services using Ruby's standard
library. See the HOWTO link on this page for multiple examples:

http://www.ntecs.de/projects/xmlrpc4r/

James Edward Gray II
 

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

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,738
Latest member
TiffinyHol

Latest Threads

Top