This tutorial will introduce you to using Doctrine ORM.
Specifically, following sections will be covered:
- Installation
- Basic concepts: a. Entities b. ORM components c. Entity states d. Transactions
- Creating an entity
- Saving and loading an entity
- API interactions with entities
- Association mapping
- Lazy loading
- Transactions a. splitting writes and reads b. introducing a command bus
- Locking
- Caching
- Go SQL
The logic inside this domain will represent a simple authentication layer, as well as a simple blog-post/blog-post commenting platform.
See the feature directory for requirements.
First, install composer.
After that, you can run:
composer require doctrine/orm