Skip to content

Commit 389696e

Browse files
committed
Add data mapper
1 parent 1fc24f6 commit 389696e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -789,10 +789,13 @@ Once we want to inject `foo` inside any other component we won't be able to use
789789

790790
## AngularJS application Patterns
791791

792-
### Prototype
793-
794792
### Data Mapper
795793

794+
>A Data Mapper is a Data Access Layer that performs bidirectional transfer of data between a persistent data store (often a relational database) and an in memory data representation (the domain layer). The goal of the pattern is to keep the in memory representation and the persistent data store independent of each other and the data mapper itself.
795+
796+
![Data Mapper](./images/data-mapper.png "Fig. 10")
797+
798+
796799
## References
797800

798801
1. [Wikipedia](https://en.wikipedia.org/wiki). The source of all brief descriptions of the design patterns is wikipedia.

0 commit comments

Comments
 (0)