Skip to content
Think To Code

Think To Code

Mastering best practices, patterns and architectures on the web

Tag: PHP

Symfony Validation – Validator or Exceptions?

April 26, 2018 Jeffrey Verreckt PHP, Symfony

Validation is important in any application. You need to be sure that any data entered by a user is valid[…]

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

Symfony 4 REST API Part 1 – FOSRestBundle

March 26, 2018 Jeffrey Verreckt PHP

REST as in Representational State Transfer is something that can’t be ignored in today’s ecosystem. There is a big need[…]

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

Law of Demeter

December 4, 2017 Jeffrey Verreckt Software Principles

The Law of Demeter is a design guideline with as goal to create loose coupling between objects.  It is also[…]

Read more

Don’t Repeat Yourself (DRY)

November 20, 2017 Jeffrey Verreckt PHP, Software Principles

Code duplication is bad and should be avoided. You should do your best to make sure you don’t repeat yourself[…]

Read more

Clean Code PHP – Classes

November 13, 2017 Jeffrey Verreckt PHP, Software Principles

In my previous blog post I talked about Abstraction and Encapsulation. This are important concepts. Today we go deeper into[…]

Read more

Posts navigation

«Previous Posts 1 2 3 4 Next Posts»

Follow @JeffreyVerreckt

Recent Posts

  • The flow of control in Domain-driven PHP Architecture
  • Domain-Driven PHP Architecture
  • One request, one Doctrine transaction
  • Hydrating Query Objects with DTO’s
  • Query Object Pattern in Symfony

Archives

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