Bookmarks tagged with #doctrine.
Show all
Show all
Using traits to compose your Doctrine entities – Titouan Galopin – Medium
Traits were introduced in PHP 5.4 (6 years ago) as a way to compose classes without relying on inheritance (in opposition to the ability to extends multiple classes like in C++). This feature of PHP…
Saved
on: 2018-08-21
Pursuing Domain-Driven Design practices in PHP
The document discusses pursuing Domain-Driven Design practices in PHP. It covers building blocks like entities, value objects, aggregates, repositories, factories and services. It also discusses data modeling approaches like moving from active record to data mapper patterns. The document provides examples of implementing these concepts in PHP using annotations and libraries like Doctrine. It aims to help structure applications around the domain model and apply DDD practices like ubiquitous language in PHP projects.
Saved
on: 2014-04-28
6. Association Mapping — Doctrine 2 ORM 2 documentation
Doctrine Object Relational Mapper Documentation: Association Mapping
Saved
on: 2014-04-27