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 Active Record Pattern

When you look at an implementation of TM, you find quite a few objects attempting to represent a view of data, as the presentation layer perceives it. Even though TS and TM are both essentially procedural patterns, TM is based on the vision of data that the presentation layer has rather than on the list of use cases.

We could say that TM abstracts use cases and moves toward the data model behind them. It is an interesting step toward an object-based modeling pattern.

TM is based on objects, but it’s not an object-based pattern for modeling the business logic. Why? Because it doesn’t care much about the business and focuses instead on the tables. TM does have objects, but they are objects representing tables, not objects ...

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