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!
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access