0%

Book Description

The Complete Guide to Building Highly Scalable, Services-Based Rails Applications

Ruby on Rails deployments are growing, and Rails is increasingly being adopted in larger environments. Today, Rails developers and architects need better ways to interface with legacy systems, move into the cloud, and scale to handle higher volumes and greater complexity. In Service-Oriented Design with Ruby and Rails Paul Dix introduces a powerful, services-based design approach geared toward overcoming all these challenges. Using Dix’s techniques, readers can leverage the full benefits of both Ruby and Rails, while overcoming the difficulties of working with larger codebases and teams.

Dix demonstrates how to integrate multiple components within an enterprise application stack; create services that can easily grow and connect; and design systems that are easier to maintain and upgrade. Key concepts are explained with detailed Ruby code built using open source libraries such as ActiveRecord, Sinatra, Nokogiri, and Typhoeus. The book concludes with coverage of security, scaling, messaging, and interfacing with third-party services.

Service-Oriented Design with Ruby and Rails will help you

  • Build highly scalable, Ruby-based service architectures that operate smoothly in the cloud or with legacy systems

  • Scale Rails systems to handle more requests, larger development teams, and more complex code bases

  • Master new best practices for designing and creating services in Ruby

  • Use Ruby to glue together services written in any language

  • Use Ruby libraries to build and consume RESTful Web services

  • Use Ruby JSON parsers to quickly represent resources from HTTP services

  • Write lightweight, well-designed API wrappers around internal or external services

  • Discover powerful non-Rails frameworks that simplify Ruby service implementation

  • Implement standards-based enterprise messaging with Advanced Message Queuing Protocol (AMQP)

  • Optimize performance with load balancing and caching

  • Provide for security and authentication

Table of Contents

  1. Title Page
  2. Copyright Page
  3. Contents
  4. Forword
  5. Preface
  6. Acknowledgments
  7. About the Author
  8. Chapter 1. Implementing and Consuming Your First Service
  9. Chapter 2. An Introduction to Service-Oriented Design
  10. Chapter 3. Case Study: Social Feed Reader
  11. Chapter 4. Service and API Design
  12. Chapter 5. Implementing Services
  13. Chapter 6. Connecting to Services
  14. Chapter 7. Developing Service Client Libraries
  15. Chapter 8. Load Balancing and Caching
  16. Chapter 9. Parsing XML for Legacy Services
  17. Chapter 10. Security
  18. Chapter 11. Messaging
  19. Chapter 12. Web Hooks and External Services
  20. Appendix. RESTful Primer
  21. Index
  22. Footnotes
    1. Chapter 2
    2. Chapter 10
    3. Appendix
18.226.163.229