0% found this document useful (0 votes)
5 views

AppDevelopmentPattern v1

The document discusses different layers in an application including a data access layer that abstracts differences between persistence mediums using an IStore interface. A business layer contains service classes that handle application logic and define methods returning business entities through the IStore interface. A presentation layer can reuse business/presentation entities for the UI but may create presentation entities that inherit from and format business entities for display. Services interface through request/response contracts to easily implement a WCF service wrapper and proxy when needed.

Uploaded by

chief7_gmail
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

AppDevelopmentPattern v1

The document discusses different layers in an application including a data access layer that abstracts differences between persistence mediums using an IStore interface. A business layer contains service classes that handle application logic and define methods returning business entities through the IStore interface. A presentation layer can reuse business/presentation entities for the UI but may create presentation entities that inherit from and format business entities for display. Services interface through request/response contracts to easily implement a WCF service wrapper and proxy when needed.

Uploaded by

chief7_gmail
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Data Access Layer

T4 Templating

Data Access
Database

Data Transfer Object

Persistence mediums can include SQL, DB2, XML, flat files, etc. Implementing the IStore interface abstracts differences between mediums.

FluentSqlOrderStore
Business Layer

IOrderStore Business Entities


WcfOrderService OrderService
Service classes handle application business logic. The IStore interface defines methods which return business entities.

IOrderService
WcfOrderServiceProxy

IOrderService

IOrderService

Service Requests

Services interface through request/response contracts in order to easily implement a WCF service wrapper and proxy when needed.

Service Responses

Presentation Layer

OrderProvider

Presentation Entities

Application Type Web Application

UI

If business entity properties must be formatted for display create presentation entities with the formatted properties which inherit from the business entity and a presentation service or map to create them.

Reuse business/presentation entities in UI unless inefficient or insecure.

You might also like