Что такое findslide.org?

FindSlide.org - это сайт презентаций, докладов, шаблонов в формате PowerPoint.


Для правообладателей

Обратная связь

Email: Нажмите что бы посмотреть 

Яндекс.Метрика

Презентация на тему Data Access Patterns. Three Tier Architecture

Three Tier ArchitecturePresentation Layer (UI classes)Business Logic Layer (data classes holding business logic)Persistent Data Layer (databases, DBMS, data access classes)
Data Access Patterns Three Tier ArchitecturePresentation Layer (UI classes)Business Logic Layer (data classes holding business Three Tier ArchitecturePresentation Layer (UI classes)Business Logic Layer (data classes holding business Three Tier ArchitecturePresentation Layer (UI classes)Business Logic Layer (data classes holding business FacadeШаблон фасад (англ. Facade) — структурный шаблон проектирования, позволяющий скрыть сложность системы MotivationMost software systems require persistent data (i.e. data that persists between program Data Access LayerA better design is one that includes a data access Programselect * from Itemsrs.getString( Data Access LayerTo avoid problems associated with mixing SQL and application logic, Program to an Interface; Not Implementation Three Tier ArchitectureUIBusiness LogicPersistent Data
Слайды презентации

Слайд 2 Three Tier Architecture
Presentation Layer (UI classes)
Business Logic Layer

Three Tier ArchitecturePresentation Layer (UI classes)Business Logic Layer (data classes holding

(data classes holding business logic)
Persistent Data Layer (databases, DBMS,

data access classes)

Слайд 3 Three Tier Architecture
Presentation Layer (UI classes)
Business Logic Layer

Three Tier ArchitecturePresentation Layer (UI classes)Business Logic Layer (data classes holding

(data classes holding business logic)
Persistent Data Layer (databases, DBMS,

data access classes)



Слайд 4 Three Tier Architecture
Presentation Layer (UI classes)
Business Logic Layer

Three Tier ArchitecturePresentation Layer (UI classes)Business Logic Layer (data classes holding

(data classes holding business logic)
Persistent Data Layer (databases, DBMS,

data access classes)

controller

façade


Слайд 5 Facade
Шаблон фасад (англ. Facade)
— структурный шаблон проектирования,

FacadeШаблон фасад (англ. Facade) — структурный шаблон проектирования, позволяющий скрыть сложность

позволяющий скрыть сложность системы путём сведения всех возможных внешних

вызовов к одному объекту, делегирующему их соответствующим объектам системы.

Слайд 6 Motivation
Most software systems require persistent data (i.e. data

MotivationMost software systems require persistent data (i.e. data that persists between

that persists between program executions).
In general, distributing low-level data

access logic throughout a program is not a good idea (design).


Program





select * from Items

rs.getString("Name")


Слайд 7 Data Access Layer
A better design is one that

Data Access LayerA better design is one that includes a data

includes a data access layer which encapsulates the details

of the underlying persistence API.
It abstracts the low-level details of persistent storage.
It provides an interface that is usually a better match for the style of programming used in the domain logic. For example, the data access layer might provide an OO interface onto relational data.

Слайд 8
Program




select * from Items
rs.getString("Name")


Program




select * from Items
rs.getString("Name")
customer =

Programselect * from Itemsrs.getString(

dao.find(id)
update(customer)


Слайд 9 Data Access Layer
To avoid problems associated with mixing

Data Access LayerTo avoid problems associated with mixing SQL and application

SQL and application logic, SQL statements and data base

design details are often encapsulated in a data access layer
The data access layer presents an interface that is convenient for application programs.



Слайд 10 Program to an Interface; Not Implementation

Program to an Interface; Not Implementation

  • Имя файла: data-access-patterns-three-tier-architecture.pptx
  • Количество просмотров: 144
  • Количество скачиваний: 0