localizations: #1771 Spanish translation and languages codes (#1777)

* #1771 Move translations to a new directory to have more organization

* #1771 spanish translation

* #1771 change the language codes to follow ISO 639-1 and change the links

* #1771 remove country flags
This commit is contained in:
Juan Manuel Abate
2021-06-04 20:36:42 +02:00
committed by GitHub
parent 5e434b783e
commit 784cdee819
67 changed files with 319 additions and 6 deletions

View File

@ -0,0 +1,25 @@
---
layout: pattern
title: Data Mapper
folder: data-mapper
permalink: /patterns/data-mapper/
categories: Architectural
tags:
- Decoupling
---
## 含义
一个用于在持久化对象和数据库之间传输数据的映射器,同时保持它们之间和映射器本身的独立性。
## 类图
![alt text](../../data-mapper/etc/data-mapper.png "Data Mapper")
## 适用场景
数据映射器适用于以下场景:
* 当你想把数据对象从数据库访问层解耦时时
* 当你想编写多个数据查询/持久化实现时
## 引用
* [Data Mapper](http://richard.jp.leguen.ca/tutoring/soen343-f2010/tutorials/implementing-data-mapper/)