Naor
Naor

Reputation: 24093

application layers

Theoretically, in general:

Upvotes: 1

Views: 1327

Answers (2)

David Masters
David Masters

Reputation: 8295

Yes, I'd say you've described the layers correctly.

In my mind infrastructure can represent two things:

  1. Cross cutting concerns - things like logging/auditing, authentication/security etc. I prefer to use Aspect oriented programming to deal with these types of things.
  2. Third party systems/components/libraries that your application makes use of, such as a credit card payment gateway for example. Even the database platform you have chosen could be considered infrastructure.

Upvotes: 2

Adrian Thompson Phillips
Adrian Thompson Phillips

Reputation: 7148

The infrastructure layer tends to turn up in DDD and MVVM type projects. There's a simple diagram and quick explanation of the layers in DDD here.

http://dddsample.sourceforge.net/architecture.html

It's based on a Java implementation, but the descriptions still hold up apart from the odd bit of Java terminology.

Upvotes: 0

Related Questions