Xdebug is a very powerful debugging tool, well actually, probably the God tool of all tools if you're debugging.
It lets you pause the execution of your app and lets you analyze, in full context what is happening, step debug etc etc.
Even though the setup has gotten drastically easier, thanks to the awesome effort Derick Rethans, its creator, has put in it, it still appears to scare of some developers... Let us hope this DevNote helps.
Through its iterations, PHP has become as appropriate as any other language to express Domain-Driven Design and implement other, more complex, concepts and patterns. One of these, one of the most important building blocks in Domain Driven Design (DDD), is the Value Object... But what is a Value Object? Is it only useful in DDD? How, where and why should one use them? Let's try to check it out...
Continue reading
This is my simple Makefile when working/playing with Symfony, ApiPlatform & FrankenPHP that run on Docker...
It can easily be adapted to fit any other configuration that runs on Docker
Continue reading
When merging your work into another branch, it may be useful to regroup all the commits into one and indicate a clear commit message that says what has been done.
Continue reading
To find the latest common ancestor of two branches, which is required, for instance, when squashing your commits, instead of scrolling through you git log history you can use the git-merge-base1 tool.
Continue reading
Rebasing a branch on another is very common...
Yet by default, the dependent branches of the rebased branch will remain where they are and not follow the rebase.
This notes shows how to deal with those dependent branches.
Continue reading
Quite often we have to use the git rebase to realign the branch we are working on with the latest version of its parent branch.
After the rebase, your coworkers need to update their version of the branch.
Continue reading
Sometimes one is distracted... and an accidental git reset --hard happens.
But within a few days after the accident, you can recover from the GIT reflog.
Continue reading
A couple of weeks ago, the Ardennes-etape Digital team organized its first « discovery week ». One whole week where all projects and bugs, except for emergencies, obviously, were paused and where all the team members were able to discover...
Continue reading