I like to occasionally write articles about things that pique my interest at work, or opinions that I form over the years.
Toggle filters
Using Prettier in PHP
Using Prettier in PHP🇺🇸 englishNovember 2018 (at 28)#php#writing#learning#technology1390 words5 minutes to read
What is Prettier? Originally from the Javascript ecosystem, if you're not familiar with it Prettier is a code formatter, which means it takes your code, and makes it as its namme indicates prettier . There are a lot of code formatters, and for a lot of languages – even Javascript has quite a few of them. But Prettier is currently one of the most popular code formatters out there and it has sp…
PHPStorm and simplified annotations🇺🇸 englishOctober 2018 (at 28)#learning#writing#php#technology185 words1 minute to read
By default when using Doctrine in a project, in particular entities, you may have to use annotations a lot, example: The issue however is that when using PHPStorm to add these, it will default to grouping them all under one namespace as such: Which won't necessarily work out of the box. The reason for this is that when creating the annotations driver there is actually a second argument set to t…
Thread Carefully
Thread Carefully🇺🇸 englishNovember 2015 (at 25)#technology#php#writing#learning3731 words12 minutes to read
As far as I can remember, PHP has always had a terrible reputation at handling very heavy (or asynchronous) tasks. For a long while if you wanted to parallelize long tasks you had to resort to forking through pcntl\_fork which had its own issues, and you couldn’t really handle the results of those tasks properly, etc. As such, a habit has kind of developed where we go straight for more intricat…
Set Blackfire to the Rain
Set Blackfire to the Rain🇺🇸 englishNovember 2015 (at 25)#technology#php#writing#learning1702 words6 minutes to read
If you’ve ever worked on any PHP application, or package, or anything you know that debugging performance issues is hard . There are several ways to ease the pain a little: debug bars, putting timers a bit everywhere. Or if you’re courageous like I was for a long time, you use xdebug snapshots which requires you to configure it, and then parsing the snapshots which takes a long time, etc. Re…
Laravel ou l'élégance perdue du PHP
Laravel ou l'élégance perdue du PHP🇫🇷 françaisNovember 2012 (at 22)#php#writing#learning#laravel#technology2899 words10 minutes to read
Dans la vaste école des frameworks web, de langage en langage le paysage est bien différent. Là où les développeurs Ruby et Python ont su se mobiliser pour une même cause autour des piliers que sont désormais Rails et Django , il faut bien avouer que du côté du PHP ressort un certain côté cours de récré. Des frameworks à la pelle, chacun dérivés de X ou Y, pas un pour s’entendre sur des con…
I like to occasionally write articles about things that pique my interest at work, or opinions that I form over the years.
Toggle filters
Using Prettier in PHP
Using Prettier in PHP🇺🇸 englishNovember 2018 (at 28)#php#writing#learning#technology1390 words5 minutes to read
What is Prettier? Originally from the Javascript ecosystem, if you're not familiar with it Prettier is a code formatter, which means it takes your code, and makes it as its namme indicates prettier . There are a lot of code formatters, and for a lot of languages – even Javascript has quite a few of them. But Prettier is currently one of the most popular code formatters out there and it has sp…
PHPStorm and simplified annotations🇺🇸 englishOctober 2018 (at 28)#learning#writing#php#technology185 words1 minute to read
By default when using Doctrine in a project, in particular entities, you may have to use annotations a lot, example: The issue however is that when using PHPStorm to add these, it will default to grouping them all under one namespace as such: Which won't necessarily work out of the box. The reason for this is that when creating the annotations driver there is actually a second argument set to t…
Thread Carefully
Thread Carefully🇺🇸 englishNovember 2015 (at 25)#technology#php#writing#learning3731 words12 minutes to read
As far as I can remember, PHP has always had a terrible reputation at handling very heavy (or asynchronous) tasks. For a long while if you wanted to parallelize long tasks you had to resort to forking through pcntl\_fork which had its own issues, and you couldn’t really handle the results of those tasks properly, etc. As such, a habit has kind of developed where we go straight for more intricat…
Set Blackfire to the Rain
Set Blackfire to the Rain🇺🇸 englishNovember 2015 (at 25)#technology#php#writing#learning1702 words6 minutes to read
If you’ve ever worked on any PHP application, or package, or anything you know that debugging performance issues is hard . There are several ways to ease the pain a little: debug bars, putting timers a bit everywhere. Or if you’re courageous like I was for a long time, you use xdebug snapshots which requires you to configure it, and then parsing the snapshots which takes a long time, etc. Re…
Laravel ou l'élégance perdue du PHP
Laravel ou l'élégance perdue du PHP🇫🇷 françaisNovember 2012 (at 22)#php#writing#learning#laravel#technology2899 words10 minutes to read
Dans la vaste école des frameworks web, de langage en langage le paysage est bien différent. Là où les développeurs Ruby et Python ont su se mobiliser pour une même cause autour des piliers que sont désormais Rails et Django , il faut bien avouer que du côté du PHP ressort un certain côté cours de récré. Des frameworks à la pelle, chacun dérivés de X ou Y, pas un pour s’entendre sur des con…