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 Transaction Script Pattern

When it comes to organizing your business logic, there’s just one key decision you have to make. Do you go with an object-oriented design or with a procedural approach? You are choosing a paradigm to design the business logic; it’s about architecture, not about technology. However, the hardware and software platform of choice—the overall technology—can drive you toward a particular model of business logic.

The Transaction Script (TS) pattern is probably the simplest possible pattern for business logic; it is entirely procedural. Like all the other patterns we cover in this and the following chapters, TS owes its name and classification to Martin Fowler. For further reference, have a look at page 110 of his book [P ...

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