Skip to content
Think To Code

Think To Code

Mastering best practices, patterns and architectures on the web

Latest Posts

One request, one Doctrine transaction

November 14, 2019 Jeffrey Verreckt PHP

Whenever we create an API. We expect that one request is done in one step. This then means that one[…]

Read more

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

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

League OAuth 2.0 server with Symfony – Password Grant

November 16, 2018 Jeffrey Verreckt PHP, Symfony

The first grant that we will be implementing is the Password Grant. With a password grant, you will get an[…]

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 – User, Client and Scope

November 1, 2018 Jeffrey Verreckt PHP, Symfony

Today we are going to start with the actual implementations of the league OAuth 2 server in Symfony 4. If[…]

Read more

Custom Repository User Provider in Symfony

October 25, 2018 Jeffrey Verreckt PHP, Symfony

Last week we had a basic overview of OAuth 2. Before we can start implementing an OAuth 2 server or any[…]

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

Posts navigation

1 2 3 … 7 Next Posts»

Follow @JeffreyVerreckt

Recent Posts

  • One request, one Doctrine transaction
  • Hydrating Query Objects with DTO’s
  • Query Object Pattern in Symfony
  • Abstracting the Doctrine ORM flush
  • Doctrine Repositories should be collections without flush

Archives

  • 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.