Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 869 Bytes

README.md

File metadata and controls

40 lines (30 loc) · 869 Bytes

Basic Doctrine ORM tutorial

This tutorial will introduce you to using Doctrine ORM.

Specifically, following sections will be covered:

  1. Installation
  2. Basic concepts: a. Entities b. ORM components c. Entity states d. Transactions
  3. Creating an entity
  4. Saving and loading an entity
  5. API interactions with entities
  6. Association mapping
  7. Lazy loading
  8. Transactions a. splitting writes and reads b. introducing a command bus
  9. Locking
  10. Caching
  11. Go SQL

The domain

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.

Installation

First, install composer.

After that, you can run:

composer require doctrine/orm