Skip to content

Commit c53dcf1

Browse files
committed
Intent++
1 parent 822ab8d commit c53dcf1

File tree

1 file changed

+25
-26
lines changed

1 file changed

+25
-26
lines changed

data-mapper/index.md

Lines changed: 25 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,25 @@
1-
---
2-
layout: pattern
3-
title: Data Mapper
4-
folder: data-mapper
5-
permalink: /patterns/dm/
6-
categories: Persistence Tier
7-
tags:
8-
- Java
9-
- Difficulty-Beginner
10-
---
11-
12-
## Intent
13-
Object provides an abstract interface to some type of database or
14-
other persistence mechanism.
15-
16-
![alt text](./etc/data-mapper.png "Data Mapper")
17-
18-
## Applicability
19-
Use the Data Mapper in any of the following situations
20-
21-
* when you want to consolidate how the data layer is accessed
22-
* when you want to avoid writing multiple data retrieval/persistence layers
23-
24-
## Credits
25-
26-
* [Data Mapper](http://richard.jp.leguen.ca/tutoring/soen343-f2010/tutorials/implementing-data-mapper/)
1+
---
2+
layout: pattern
3+
title: Data Mapper
4+
folder: data-mapper
5+
permalink: /patterns/dm/
6+
categories: Persistence Tier
7+
tags:
8+
- Java
9+
- Difficulty-Beginner
10+
---
11+
12+
## Intent
13+
A layer of mappers that moves data between objects and a database while keeping them independent of each other and the mapper itself
14+
15+
![alt text](./etc/data-mapper.png "Data Mapper")
16+
17+
## Applicability
18+
Use the Data Mapper in any of the following situations
19+
20+
* when you want to consolidate how the data layer is accessed
21+
* when you want to avoid writing multiple data retrieval/persistence layers
22+
23+
## Credits
24+
25+
* [Data Mapper](http://richard.jp.leguen.ca/tutoring/soen343-f2010/tutorials/implementing-data-mapper/)

0 commit comments

Comments
 (0)