Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions _translations/po/ru/guide_databases_db-migrations.md.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2025-12-27 10:28+0000\n"
"POT-Creation-Date: 2026-01-08 08:54+0000\n"
"PO-Revision-Date: 2025-09-04 11:19+0500\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
Expand Down Expand Up @@ -146,9 +146,9 @@ msgstr ""

#. type: Fenced code block (sh)
#: ../src/guide/databases/db-migrations.md ../src/guide/start/databases.md
#, fuzzy, no-wrap
#, no-wrap
msgid "make composer require yiisoft/db-migration\n"
msgstr "composer install yiisoft/security\n"
msgstr ""

#. type: Plain text
#: ../src/guide/databases/db-migrations.md
Expand Down
2 changes: 1 addition & 1 deletion _translations/po/ru/guide_index.md.po
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ msgstr ""
#: ../src/guide/index.md ../src/guide/start/databases.md
#, no-wrap
msgid "Working with databases"
msgstr ""
msgstr "Работа с базами данных"

#. type: Bullet: '- '
#: ../src/guide/index.md
Expand Down
150 changes: 73 additions & 77 deletions _translations/po/ru/guide_start_databases.md.po

Large diffs are not rendered by default.

71 changes: 37 additions & 34 deletions _translations/po/ru/guide_structure_domain.md.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2025-11-02 16:25+0000\n"
"POT-Creation-Date: 2026-01-08 08:54+0000\n"
"PO-Revision-Date: 2025-09-04 11:19+0500\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
Expand All @@ -17,28 +17,31 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"

#. type: Title ##
#: ../../guide/en/concept/autoloading.md
#: ../../guide/en/security/best-practices.md ../../guide/en/structure/domain.md
#: ../../guide/en/tutorial/console-applications.md
#: ../src/cookbook/organizing-code/structuring-by-use-case-with-vertical-slices.md
#: ../src/guide/concept/autoloading.md ../src/guide/security/best-practices.md
#: ../src/guide/structure/domain.md
#: ../src/guide/tutorial/console-applications.md
#: ../src/internals/004-namespaces.md ../src/internals/007-exceptions.md
#: ../src/internals/008-interfaces.md
#, no-wrap
msgid "References"
msgstr "Ссылки"

#. type: Bullet: '- '
#: ../../guide/en/start/databases.md ../../guide/en/structure/domain.md
#: ../../guide/en/structure/service.md
#: ../src/guide/start/databases.md ../src/guide/structure/domain.md
#: ../src/guide/structure/service.md
#, no-wrap
msgid "Repository"
msgstr ""
msgstr "Репозиторий"

#. type: Title #
#: ../../guide/en/structure/domain.md
#: ../src/guide/structure/domain.md
#, no-wrap
msgid "Domain"
msgstr ""

#. type: Plain text
#: ../../guide/en/structure/domain.md
#: ../src/guide/structure/domain.md
#, no-wrap
msgid ""
"The Domain or domain model is what makes the project unique. With requirements and terminology of the problem being solved\n"
Expand All @@ -48,7 +51,7 @@ msgid ""
msgstr ""

#. type: Plain text
#: ../../guide/en/structure/domain.md
#: ../src/guide/structure/domain.md
#, no-wrap
msgid ""
"> [!NOTE]\n"
Expand All @@ -59,130 +62,130 @@ msgid ""
msgstr ""

#. type: Title ##
#: ../../guide/en/structure/domain.md
#: ../src/guide/structure/domain.md
#, no-wrap
msgid "Bounded context"
msgstr ""

#. type: Plain text
#: ../../guide/en/structure/domain.md
#: ../src/guide/structure/domain.md
msgid "It's nearly impossible to build a model that solves multiple problems that aren't too complicated by itself. Therefore, it's a good practice to divide the domain into several use-cases and have a separate model for each use-case. Such separated models are called \"bounded contexts.\""
msgstr ""

#. type: Title ##
#: ../../guide/en/structure/domain.md
#: ../src/guide/structure/domain.md
#, no-wrap
msgid "Building blocks"
msgstr ""

#. type: Plain text
#: ../../guide/en/structure/domain.md
#: ../src/guide/structure/domain.md
msgid "There are various building blocks that are typically used when describing domain models. It isn't mandatory to use them all."
msgstr ""

#. type: Bullet: '- '
#: ../../guide/en/structure/domain.md ../../guide/en/structure/service.md
#: ../src/guide/structure/domain.md ../src/guide/structure/service.md
#, no-wrap
msgid "Entity"
msgstr ""

#. type: Plain text
#: ../../guide/en/structure/domain.md
#: ../src/guide/structure/domain.md
msgid "Entity is a uniquely identifiable object such as user, product, payment, etc. When comparing them, you're checking ID, not the attribute values. If there are two objects with different attributes but the same ID, they're considered being the same thing."
msgstr ""

#. type: Title ###
#: ../../guide/en/structure/domain.md
#: ../src/guide/structure/domain.md
#, no-wrap
msgid "Value object"
msgstr ""

#. type: Plain text
#: ../../guide/en/structure/domain.md
#: ../src/guide/structure/domain.md
msgid "Value object describes an object by its characteristics. For example, a price that consists of value and currency. When comparing such objects, you're checking actual values. If they match, an object is considered to be the same."
msgstr ""

#. type: Title ###
#: ../../guide/en/structure/domain.md
#: ../src/guide/structure/domain.md
#, no-wrap
msgid "Aggregate"
msgstr ""

#. type: Plain text
#: ../../guide/en/structure/domain.md
#: ../src/guide/structure/domain.md
msgid "Aggregate is a set of domain objects such as entities and value objects and additional data that could be treated as a single unit. It usually represents a compound object from a domain model such as shop order or HR person dossier."
msgstr ""

#. type: Plain text
#: ../../guide/en/structure/domain.md
#: ../src/guide/structure/domain.md
msgid "One of the components of an aggregate is called a root. The root identifies an aggregate as a whole and should be used to access it."
msgstr ""

#. type: Title ###
#: ../../guide/en/structure/domain.md
#: ../src/guide/structure/domain.md
#, no-wrap
msgid "Domain event"
msgstr ""

#. type: Plain text
#: ../../guide/en/structure/domain.md
#: ../src/guide/structure/domain.md
msgid "An aggregate, while processed, may raise events. For example, when order is confirmed, `OrderConfirmed` event would be risen so other parts of the system may react on these."
msgstr ""

#. type: Title ###
#: ../../guide/en/structure/domain.md
#: ../src/guide/structure/domain.md
#, no-wrap
msgid "Data transfer object"
msgstr ""

#. type: Plain text
#: ../../guide/en/structure/domain.md
#: ../src/guide/structure/domain.md
msgid "Data transfer object or DTO is an object whose only purpose is to hold data as it is. It's commonly used to pass data between different services."
msgstr ""

#. type: Title ###
#: ../../guide/en/structure/domain.md
#: ../src/guide/structure/domain.md
#, no-wrap
msgid "Service"
msgstr ""

#. type: Plain text
#: ../../guide/en/structure/domain.md
#: ../src/guide/structure/domain.md
msgid "Service is a class that contains a standalone operation within the context of your domain model. See \"[service components](service.md)\"."
msgstr ""

#. type: Plain text
#: ../../guide/en/structure/domain.md
#: ../src/guide/structure/domain.md
msgid "The repository task is to abstract away how domain objects are obtained. These are usually separated into two parts: an interface that stays in the domain layer and an implementation that's situated in the infrastructure layer. In such a way, domain doesn't care how data is obtained and saved and may be focused around the complicated business logic instead."
msgstr ""

#. type: Plain text
#: ../../guide/en/structure/domain.md
#: ../src/guide/structure/domain.md
msgid "Repository is usually implemented as a service."
msgstr ""

#. type: Title ###
#: ../../guide/en/structure/domain.md
#: ../src/guide/structure/domain.md
#, no-wrap
msgid "Instantiating building blocks"
msgstr ""

#. type: Plain text
#: ../../guide/en/structure/domain.md
#: ../src/guide/structure/domain.md
msgid "Entity, value object, aggregate, and domain events aren't services and shouldn't be instantiated through DI container. Using `new` is the way to go with these."
msgstr ""

#. type: Bullet: '- '
#: ../../guide/en/structure/domain.md
#: ../src/guide/structure/domain.md
msgid "[BoundedContext by Martin Fowler](https://martinfowler.com/bliki/BoundedContext.html)"
msgstr ""

#. type: Bullet: '- '
#: ../../guide/en/structure/domain.md
#: ../src/guide/structure/domain.md
msgid "[ValueObject by Martin Fowler](https://martinfowler.com/bliki/ValueObject.html)"
msgstr ""

#. type: Bullet: '- '
#: ../../guide/en/structure/domain.md
#: ../src/guide/structure/domain.md
msgid "[Aggregate by Marting Fowler](https://martinfowler.com/bliki/DDD_Aggregate.html)"
msgstr ""
2 changes: 1 addition & 1 deletion _translations/po/ru/guide_structure_service.md.po
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ msgstr ""
#: ../../guide/en/structure/service.md
#, no-wrap
msgid "Repository"
msgstr ""
msgstr "Репозиторий"

#. type: Bullet: '- '
#: ../../guide/en/structure/domain.md ../../guide/en/structure/service.md
Expand Down
2 changes: 1 addition & 1 deletion src/ru/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Documentation](https://www.yiiframework.com/license#docs).
- [Assets](views/asset.md) TODO: verify!
- [Widgets](views/widget.md) TODO: verify!

## Working with databases
## Работа с базами данных

- [Yii
DB](https://github.com/yiisoft/db/blob/master/docs/guide/en/README.md)
Expand Down
Loading