Start Page
Contents

Ruby on Rails for developer.

Prev Page Next Page
 
Web Services on Rails
Web Services with Ruby on Rails : Building Web Service Clients
The Basics of Web Services
Searching Yahoo using REST
Searching Google Using SOAP or SOAP with WSDL Files
Displaying Photos from Flickr Using XML-RPC:
Building Web Service Servers with Ruby on Rails
REST-Based Web Service Server Serving Proprietary XML Documents
SOAP and XML-RPC Web Service Servers
Putting It All Together: an Expanded Server Example
Summary
Additional Reading and Help

3.4. Summary

If you can believe it, in just a few short pages and with very little code, we've now built working REST, SOAP, and XML-RPC servers! I think the examples showed that building web service servers with Ruby on Rails is a pretty straightforward process. Most of the work building your servers with Ruby on Rails will be in designing the features you need to meet your specific needs and requirements. Implementing the code should be a pretty easy task as long as you follow and understand the simple steps I outlined: pick a delegation mode, create an API, and code your business logic in models and controllers.

I moved pretty fast through the examples, which were all simple, with very limited design specifications. Real-world web services would involve a lot more in terms of security checks and application features, which I will leave up to you to determine and implement. Still, we covered everything you need to know to build full-featured, real-world clients and servers with Ruby on Rails . Now all you have to do is go out and build them!