Skip to content
Think To Code

Think To Code

Mastering best practices, patterns and architectures on the web

Category: Doctrine

Abstracting the Doctrine ORM flush

March 28, 2019 Jeffrey Verreckt Doctrine, PHP, Symfony

In the previous article, we learned that we need to think in collections. We should not flush inside our repositories.[…]

Read more

Doctrine Repositories should be collections without flush

January 24, 2019 Jeffrey Verreckt Doctrine, PHP, Symfony

More then a year ago I wrote the Repository Pattern article. This provides a good overview of the repository pattern.[…]

Read more

Collection of Value Objects with Doctrine

September 20, 2018 Jeffrey Verreckt Doctrine, PHP, Symfony

Over the last year, I have been working more and more with value objects in my applications. Value objects are[…]

Read more

Domain Events with Symfony and Doctrine

August 9, 2018 Jeffrey Verreckt Doctrine, PHP, Symfony

Domain Events are important for any application that puts the business domain in the centre. A common requirement within a[…]

Read more

Doctrine XML Mapping or Annotations?

April 19, 2018 Jeffrey Verreckt Doctrine, PHP, Symfony

Annotations are very popular in Symfony. They are easy to write and understand. And most IDE’s have great support for[…]

Read more

UUID over auto increment in PHP

April 9, 2018 Jeffrey Verreckt Doctrine, PHP, Symfony

We know that our Domain should not be dependent on our database implementation. Then why do we use auto increment[…]

Read more

The Value Object and Doctrine

March 19, 2018 Jeffrey Verreckt Design Patterns, Doctrine, PHP, Symfony

When you are diving deeper in how to construct a good Domain Model. You uncover different concepts which allows you[…]

Read more

Repository Pattern in Symfony

March 5, 2018 Jeffrey Verreckt Best Practices, Doctrine, PHP, Symfony

When I first started working with Symfony I kinda struggled with finding out what is exactly the best practice to[…]

Read more

Doctrine 2: Correct way to use a Many-To-Many association

February 19, 2018 Jeffrey Verreckt Doctrine, PHP, Symfony

When working in Symfony and using Doctrine 2 ORMĀ  you sometimes need to use a many-to-many association between entities. This[…]

Read more

Follow @JeffreyVerreckt

Recent Posts

  • Domain-Driven PHP Architecture
  • One request, one Doctrine transaction
  • Hydrating Query Objects with DTO’s
  • Query Object Pattern in Symfony
  • Abstracting the Doctrine ORM flush

Archives

  • January 2022
  • November 2019
  • September 2019
  • August 2019
  • March 2019
  • January 2019
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • August 2017

Categories

  • Best Practices
  • Clean Code
  • Design Patterns
  • Doctrine
  • JavaScript
  • OOP
  • PHP
  • Software Architecture
  • Software Principles
  • Symfony
  • TDD
  • Testing
WordPress Theme: Poseidon by ThemeZee.