mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-02-24 01:32:22 +01:00
78 lines
2.1 KiB
Plaintext
78 lines
2.1 KiB
Plaintext
#
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: DesignPatternsPHP 1.0\n"
|
|
"Report-Msgid-Bugs-To: \n"
|
|
"POT-Creation-Date: 2015-05-29 12:18+0200\n"
|
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
#: ../../Structural/DataMapper/README.rst:2
|
|
msgid "`Data Mapper`__"
|
|
msgstr ""
|
|
|
|
#: ../../Structural/DataMapper/README.rst:5
|
|
msgid "Purpose"
|
|
msgstr ""
|
|
|
|
#: ../../Structural/DataMapper/README.rst:7
|
|
msgid ""
|
|
"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. The layer is composed "
|
|
"of one or more mappers (or Data Access Objects), performing the data "
|
|
"transfer. Mapper implementations vary in scope. Generic mappers will handle "
|
|
"many different domain entity types, dedicated mappers will handle one or a "
|
|
"few."
|
|
msgstr ""
|
|
|
|
#: ../../Structural/DataMapper/README.rst:17
|
|
msgid ""
|
|
"The key point of this pattern is, unlike Active Record pattern, the data "
|
|
"model follows Single Responsibility Principle."
|
|
msgstr ""
|
|
|
|
#: ../../Structural/DataMapper/README.rst:21
|
|
msgid "Examples"
|
|
msgstr ""
|
|
|
|
#: ../../Structural/DataMapper/README.rst:23
|
|
msgid ""
|
|
"DB Object Relational Mapper (ORM) : Doctrine2 uses DAO named as "
|
|
"\"EntityRepository\""
|
|
msgstr ""
|
|
|
|
#: ../../Structural/DataMapper/README.rst:27
|
|
msgid "UML Diagram"
|
|
msgstr ""
|
|
|
|
#: ../../Structural/DataMapper/README.rst:34
|
|
msgid "Code"
|
|
msgstr ""
|
|
|
|
#: ../../Structural/DataMapper/README.rst:36
|
|
msgid "You can also find this code on `GitHub`_"
|
|
msgstr ""
|
|
|
|
#: ../../Structural/DataMapper/README.rst:38
|
|
msgid "User.php"
|
|
msgstr ""
|
|
|
|
#: ../../Structural/DataMapper/README.rst:44
|
|
msgid "UserMapper.php"
|
|
msgstr ""
|
|
|
|
#: ../../Structural/DataMapper/README.rst:51
|
|
msgid "Test"
|
|
msgstr ""
|
|
|
|
#: ../../Structural/DataMapper/README.rst:53
|
|
msgid "Tests/DataMapperTest.php"
|
|
msgstr ""
|