Skip to content
Think To Code

Think To Code

Mastering best practices, patterns and architectures on the web

Tag: PHP

Hydrating Query Objects with DTO’s

September 12, 2019 Jeffrey Verreckt PHP, Symfony

In the previous article, we learned how to use Query Objects. But simply returning entities or arrays of entities might[…]

Read more

Query Object Pattern in Symfony

August 29, 2019 Jeffrey Verreckt Design Patterns, PHP, Symfony

The Query Object Pattern is a pattern that can be used together with the Repository pattern. A query object is[…]

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

League OAuth 2.0 server with Symfony – Access Token and Refresh Token

November 8, 2018 Jeffrey Verreckt PHP, Symfony

In the previous article, we created the User, Client and Scope repositories. This week we will continue by creating the[…]

Read more

League OAuth 2.0 server with Symfony – Introduction

October 18, 2018 Jeffrey Verreckt PHP, Symfony

OAuth 2.0 is a standard to implement authorization with limited access over HTTP. We can use this add authentication to our[…]

Read more

PHP Design Patterns: Adapter

October 4, 2018 Jeffrey Verreckt Design Patterns, PHP

The Adapter design pattern is, in my opinion, one of the most important design patterns. It’s crucial to understand when[…]

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

Symfony Messenger: Queues and Workers

September 13, 2018 Jeffrey Verreckt PHP, Symfony

In the previous article, we were introduced to the Symfony Messenger component. We created a simple implementation of a message[…]

Read more

Symfony Messenger: Messages and Handlers

September 6, 2018 Jeffrey Verreckt PHP, Symfony

Symfony introduced the Messenger component in 4.1. There are bundles like prooph and simplebus that can be used for the same[…]

Read more

Named Constructors for Domain Objects

August 30, 2018 Jeffrey Verreckt PHP, Symfony

Constructing objects is something we do all the time. But are we doing it correctly? Is there maybe a better[…]

Read more

Posts navigation

1 2 3 4 Next Posts»

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.