Books & Videos

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