O'Reilly logo

Microsoft® .NET: Architecting Applications for the Enterprise by Dino Esposito and Andrea Saltarello

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Table Module Pattern

The TS pattern envisions the domain logic as a series of transactions triggered by the presentation. Subsequently, modeling the domain logic means mapping transactions onto methods of one or more business components. Each business component then talks to the DAL either directly or through relatively dumb data objects. The logic is implemented in large chunks of code that can be difficult to understand, maintain, and reuse.

When you partition transaction scripts into business components, you often group methods by entity. For example, you create an OrderAPI business component to house all transaction scripts related to the "order" entity. Likewise, you create a CustomerAPI component to expose all methods related to action ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required