Buying Options
Enterprise Rails
Print $44.99
Add to Cart
Print+Ebook $49.49
Add to Cart
Ebook $35.99
Add to Cart
Safari Books Online
Add to Cart
What is this?
Print £34.50
Add to Cart
What is this?
Description
Enterprise Rails introduces time-tested software engineering principles to help you build a high-performance, scalable website with global reach. You'll learn how to design a solid architecture that ties the many parts of an enterprise website together, including the database, your servers and clients, and other services as well. Throughout this book, you'll work on an example enterprise project to learn first-hand what's involved in architecting serious web applications.
Full Description
Table of Contents
  1. Chapter 1 The Big Picture

    1. What Is Enterprise?

    2. Growing Slowly

    3. Understanding All the Pieces

  2. Chapter 2 Organizing with Plugins

    1. Benefits

    2. Writing Your Own Plugins

    3. Deployment

  3. Chapter 3 Organizing with Modules

    1. Files and Directories

    2. Module Boundaries for Namespacing

    3. Exercises

    4. Refactor Steps

  4. Chapter 4 Database As a Fortress

    1. Your Database Is an Application, Too

    2. Sit Atop the Shoulders of Giants

    3. Operations and Reporting

  5. Chapter 5 Building a Solid Data Model

    1. Theatre Tickets

  6. Chapter 6 Refactoring to Third Normal Form

    1. Third Normal Form

    2. Refactoring: Inheritance and Mixins

    3. Exercises

    4. Refactor Steps

  7. Chapter 7 Domain Data

    1. Dealing with Zip Codes

    2. Strategy Pattern with Domain Tables

    3. Refactor from Day One

  8. Chapter 8 Composite Keys and Domain Key/Normal Form

    1. Why Composite Natural Keys Matter

    2. Atop the Shoulders of…

    3. Exercises

    4. Refactor Steps

  9. Chapter 9 Guaranteeing Complex Relationships with Triggers

    1. Constraint Checking with Triggers

  10. Chapter 10 Multiple Table Inheritance

    1. The Problem

    2. What Is Polymorphism?

    3. Inheritance and Persistence

    4. Factory Classes

    5. Exercises

    6. Refactor Steps

  11. Chapter 11 View-Backed Models

    1. Database Views

    2. Basing a Model on a View

    3. Considerations

    4. Exercises

    5. Refactor Steps

  12. Chapter 12 Materialized Views

    1. Materialized View Principles

    2. A View to Materialize

    3. The Target Table

    4. Refresh and Invalidation Functions

    5. Triggered Refreshes and Invalidations

    6. Hiding the Implementation with the Reconciler View

    7. Cache Indexes

    8. Results

    9. Cascading Caches

    10. Exercises

  13. Chapter 13 SOA Primer

    1. What Is SOA?

    2. Why SOA?

    3. Exercises

  14. Chapter 14 SOA Considerations

    1. Service Considerations

    2. API Design Best Practices

    3. REST Versus XML-RPC Versus SOAP

  15. Chapter 15 An XML-RPC Service

    1. ActionWebService and Rails 2.0

    2. Creating an Abstraction Barrier

    3. More Testing

    4. The Client Plugin

  16. Chapter 16 Refactoring to Services

    1. An Orders Service

    2. Integrating with the MoviesService

    3. MoviesService Object Model

    4. Putting It All Together

  17. Chapter 17 REST Primer

    1. REST Basics

    2. Mapping REST to SOA

  18. Chapter 18 A RESTful Web Service

    1. Scoping the Problem

    2. MoviesWebService

  19. Chapter 19 Caching End to End

    1. Data Layer Caching, Revisited

    2. Logical Model Caching

    3. Other Caching

  1. Colophon

View Full Table of Contents
Product Details
Title:
Enterprise Rails
By:
Dan Chak
Publisher:
O'Reilly Media
Formats:
  • Print
  • Ebook
  • Safari Books Online
Print Release:
October 2008
Ebook Release:
October 2008
Pages:
352
Print ISBN:
978-0-596-51520-1
| ISBN 10:
0-596-51520-0
Ebook ISBN:
978-0-596-15644-2
| ISBN 10:
0-596-15644-8
Customer Reviews
About the Author
  1. Dan Chak

    Dan Chak's varied education in real-world web architecture gives him a unique perspective on the challenges of building rock-solid web applications. Dan has worked at Amazon.com, the world's biggest online retail store, where seemingly small technology problems become big ones due to enormous scale. Dan also directed software development at CourseAdvisor Inc., a Ruby on Rails startup company. A nearly instant success, CourseAdvisor was acquired by the Washington Post Company in October 2007. You can hear his thoughts on his blog at http://blog.chak.org.

    View Dan Chak's full profile page.

  • Book cover of Enterprise Rails