Skip to content

Commit

Permalink
Update pdf format erd and adjust instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
sushmangupta committed Sep 6, 2024
1 parent 7e8af55 commit 2f715ad
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Binary file added assets/shopware6_erd.pdf
Binary file not shown.
9 changes: 8 additions & 1 deletion concepts/framework/data-abstraction-layer.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,14 @@ nav:

In contrast to most Symfony applications, Shopware uses no ORM, but a thin abstraction layer called the data abstraction layer \(DAL\). The DAL is implemented with the specific needs of Shopware in mind and lets developers access the database via pre-defined interfaces. Some concepts used by the DAL, like Criteria, may sound familiar to you if you know [Doctrine](https://symfony.com/doc/current/doctrine.html) or other ORMs. A reference to more in-depth documentation about the DAL can be found below.

Refer to [Shopware entity relationship model](../../../docs/snippets/mermaid-diagrams/sw-6.6.5.1.mermaid) dipicts different tables with different colors and their relationship.
Refer to [Shopware 6.6.5.0 entity relationship model](../../../docs/snippets/mermaid-diagrams/sw-6.6.5.1.mermaid) that dipicts different tables and their relationships.

Alternatively, you can export a fresh ER model, using [MySQL Workbench](https://dev.mysql.com/doc/workbench/en/wb-reverse-engineering.html), [PHPStorm Database Tools](https://www.jetbrains.com/help/phpstorm/creating-diagrams.html), or similar tool.

::: info
Mysql Workbench → File → Import → Reverse Engineer Mysql Script → Select Db → ERD is created.
If you want to have it as an image: File → Export → Export as PNG
:::

### CRUD operations

Expand Down

0 comments on commit 2f715ad

Please sign in to comment.