The era of social networks
I consider myself a child of the internet, in that I discovered it towards the end of my childhood and spent most of my time there during my formative years instead of, you know, outside. Moving from AIM, to forums and IRC – where I met my wife! And then later on as the era of social networks arrived, to Facebook, Twitter and Reddit (yes I skipped a few). Since it began…
I’ve recently worked on a Vue application after working for a long time with React, and more particularly with React and Typescript. While I felt right at home in Vue 3’s Composition API given how similar it feels to React Hooks, I did miss the ability to easily use Typescript purely for props validation... or so I thought.
Options API versus Composition API
Now I’ve known for quite some time th…
Over my career I've dabbled in various forms of testing, both on the back-end and front-end. I've tried various frameworks, experimented with different approaches, types of tests and philosophies, from unit tests to Gherkin behaviour tests to E2E tests with Selenium in the good ol days. And yet despite all this I don't consider myself good at testing, because I can be very lazy and that I tend to…
Rationale
When working in a React application, one pain point that often comes up is Redux . People say that as soon as an application uses it, things quickly get overrun with boilerplate and "wiring" code that ultimately clogs your codebase more than it helps it. This isn't something inherent to Redux but more something to do with the best practices associated with it, and with people misusing …
While snapshot testing has been around for a while in the form of visual snapshots (used in visual regression testing), it's clear that the introduction of textual snapshots in Jest a few years ago had a big impact on testing, not only in Javascript but in other languages as well. But looking back on what it brought me a few years later I feel rather failed by snapshots. And while most of the blam…
Why Gatsby?
One of the greatest aspects of modern web development is how modular and composable everything has become. Building an application these days has become a lot like tinkering with building blocks: piecing together packages, APIs, services and so on. Each doing what they do best. We've learned that reinventing the wheel is (often) not the solution and by embracing interoperability we've…
It's safe to say programming, and everything around it, evolved tremendously since the Internet's beginnings. If you've ever created a Frontpage website or battled with Dreamweaver and Flash applications you know we've traveled a long way to get where we are now, and all along this way great strides were made to improve how we work. We got better languages, better tools around them, better integra…
If you’ve ever worked with Redux – in the context of a React application or not – you may have heard numerous times that it was inspired not only by Flux (which it followed) but also by the Elm architecture. This is something that is thrown around a lot by people in the React ecosystem, and looking at the Elm homepage it may seem difficult to see the link between a strictly-typed language and a JS…
If you’re a developer, odds are most of what you’re looking all day is text and code. Whether it’s in a terminal, editor or webpage, you look at text, it’s our main medium of work. So to make life more bearable and to ease things up for ourselves, we made color schemes to brighten up our lives.
| |
|:--:|
| No color scheme |
| |
|:--:|
| Yes color scheme |
Colors made it easier for us to pars…
What's up with Chrome?
Recently Google has been in the headlines a lot due to an upcoming change affecting Chrome, which you can read about a bit more over here but the gist of it is the following:
The proposed design changes would replace the API relied upon by privacy extensions like uBlock and Ghostery with another designed to “diminish the effectiveness of content blocking and ad blocking ex…
Why immutability?
When working on a React application that needs to handle state, one of the main pitfalls to watch out for is accidental mutations. Which is fancy talk for mistakenly modifying stuff you didn't want to change:
In this case, imagine we're in a Profile form, user holds the current user information and we want to create an updated user object with the modified attributes. As you …
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…
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…
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…
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…
By now you’ve probably heard about this new cool tool on the block called Webpack . If you haven’t looked that much into it you’re probably a bit confused by some people calling it a build tool à la Gulp and other people calling it a bundler like Browserify . If on the other hand you have looked into it you’re probably still confused because the homepage presents Webpack as both.
To be ho…
In my branch there are a lot of things that make it possible to distinguish someone who does his job well from someone who doesn’t. Compliance with norms and standards, the reusability of the code, the consideration of accessibility, and so on. But above all, it is the willingness and ability to update oneself.
It is this quality that makes people who are considered very good in their field right…
I have to admit to a rather superficial habit - and perhaps shared by others in my profession - when I start talking to someone who does my job, the first thing I do is click on the link to their site. I look at the sources, and from there criticism comes quickly.
It’s not logical I admit it because even if I try to follow very well all the good codes and practices in terms of webdesign, I don’t a…
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…
Pendant les travaux l’exposition continue. On ne se moque pas je bidouille encore. Si vous avez des remarques ou que ça bug chez vous dites-le moi.
Pour ceux que ça intéresse après mon article sur les préprocesseurs, le code du design est sur Github. Si vous avez toujours codé en CSS et vous demandez après mon article à quoi ressemble le code d’un design en SASS, vous pourrez y voir comment j’ai …
“If you’re not on Github, you’re essentially unable to participate in the rich open-source community that has arisen around front-end development technologies.”
Quand je dis que ma manière de travailler a changé je ne parle pas seulement du résultat final de mon travail mais du processus en lui-même, le workflow . En quelques mots c’est tout ce qui, de l’idée originelle, conduit au résultat fina…
Depuis quelques temps j’ai envie d’écrire une mince série de billets sur ce que je fais plus concrètement au travail. Histoire de partager, recueillir quelques avis et puis pouvoir discuter un peu de sujets qui me passionnent avec des gens qui traversent la même chose. Comme je l’avais mentionné dans un précédent article, j’ai commencé à travailler il y a deux ans et demi de cela. Quand je suis ar…
En terme de web les modes vont et viennent, tant au niveau du fond que de la forme. C’est à la fois dû à l’évolution des langages eux-mêmes et l’évolution des navigateurs qui lisent et déchiffrent ces langages. Sans doute est-ce le fait que je suis plus informé qu’avant mais j’ai l’impression que les choses s’accélèrent de plus en plus - et dans le bon sens. Quand je vois les efforts monstrueux de…
Je ne parle pas beaucoup de webdesign et de programmation sur mon blog. Pendant longtemps la raison a été que je ne me sentais pas forcément à l’aise avec ce que je faisais - pas assez au point par rapport aux nombreux standarts du web et à la qualité de ce qui se faisait ailleurs. Depuis le travail en agence m’a fait énormément progresser : moi qui n’avait à l’origine que quelques lointaines conn…
I like to occasionally write articles about things that pique my interest at work, or opinions that I form over the years.
Toggle filters
One click to filter/sort double click to exclude filter name to reset
The era of social networks
I consider myself a child of the internet, in that I discovered it towards the end of my childhood and spent most of my time there during my formative years instead of, you know, outside. Moving from AIM, to forums and IRC – where I met my wife! And then later on as the era of social networks arrived, to Facebook, Twitter and Reddit (yes I skipped a few). Since it began…
I’ve recently worked on a Vue application after working for a long time with React, and more particularly with React and Typescript. While I felt right at home in Vue 3’s Composition API given how similar it feels to React Hooks, I did miss the ability to easily use Typescript purely for props validation... or so I thought.
Options API versus Composition API
Now I’ve known for quite some time th…
Over my career I've dabbled in various forms of testing, both on the back-end and front-end. I've tried various frameworks, experimented with different approaches, types of tests and philosophies, from unit tests to Gherkin behaviour tests to E2E tests with Selenium in the good ol days. And yet despite all this I don't consider myself good at testing, because I can be very lazy and that I tend to…
Rationale
When working in a React application, one pain point that often comes up is Redux . People say that as soon as an application uses it, things quickly get overrun with boilerplate and "wiring" code that ultimately clogs your codebase more than it helps it. This isn't something inherent to Redux but more something to do with the best practices associated with it, and with people misusing …
While snapshot testing has been around for a while in the form of visual snapshots (used in visual regression testing), it's clear that the introduction of textual snapshots in Jest a few years ago had a big impact on testing, not only in Javascript but in other languages as well. But looking back on what it brought me a few years later I feel rather failed by snapshots. And while most of the blam…
Why Gatsby?
One of the greatest aspects of modern web development is how modular and composable everything has become. Building an application these days has become a lot like tinkering with building blocks: piecing together packages, APIs, services and so on. Each doing what they do best. We've learned that reinventing the wheel is (often) not the solution and by embracing interoperability we've…
It's safe to say programming, and everything around it, evolved tremendously since the Internet's beginnings. If you've ever created a Frontpage website or battled with Dreamweaver and Flash applications you know we've traveled a long way to get where we are now, and all along this way great strides were made to improve how we work. We got better languages, better tools around them, better integra…
If you’ve ever worked with Redux – in the context of a React application or not – you may have heard numerous times that it was inspired not only by Flux (which it followed) but also by the Elm architecture. This is something that is thrown around a lot by people in the React ecosystem, and looking at the Elm homepage it may seem difficult to see the link between a strictly-typed language and a JS…
If you’re a developer, odds are most of what you’re looking all day is text and code. Whether it’s in a terminal, editor or webpage, you look at text, it’s our main medium of work. So to make life more bearable and to ease things up for ourselves, we made color schemes to brighten up our lives.
| |
|:--:|
| No color scheme |
| |
|:--:|
| Yes color scheme |
Colors made it easier for us to pars…
What's up with Chrome?
Recently Google has been in the headlines a lot due to an upcoming change affecting Chrome, which you can read about a bit more over here but the gist of it is the following:
The proposed design changes would replace the API relied upon by privacy extensions like uBlock and Ghostery with another designed to “diminish the effectiveness of content blocking and ad blocking ex…
Why immutability?
When working on a React application that needs to handle state, one of the main pitfalls to watch out for is accidental mutations. Which is fancy talk for mistakenly modifying stuff you didn't want to change:
In this case, imagine we're in a Profile form, user holds the current user information and we want to create an updated user object with the modified attributes. As you …
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…
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…
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…
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…
By now you’ve probably heard about this new cool tool on the block called Webpack . If you haven’t looked that much into it you’re probably a bit confused by some people calling it a build tool à la Gulp and other people calling it a bundler like Browserify . If on the other hand you have looked into it you’re probably still confused because the homepage presents Webpack as both.
To be ho…
In my branch there are a lot of things that make it possible to distinguish someone who does his job well from someone who doesn’t. Compliance with norms and standards, the reusability of the code, the consideration of accessibility, and so on. But above all, it is the willingness and ability to update oneself.
It is this quality that makes people who are considered very good in their field right…
I have to admit to a rather superficial habit - and perhaps shared by others in my profession - when I start talking to someone who does my job, the first thing I do is click on the link to their site. I look at the sources, and from there criticism comes quickly.
It’s not logical I admit it because even if I try to follow very well all the good codes and practices in terms of webdesign, I don’t a…
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…
Pendant les travaux l’exposition continue. On ne se moque pas je bidouille encore. Si vous avez des remarques ou que ça bug chez vous dites-le moi.
Pour ceux que ça intéresse après mon article sur les préprocesseurs, le code du design est sur Github. Si vous avez toujours codé en CSS et vous demandez après mon article à quoi ressemble le code d’un design en SASS, vous pourrez y voir comment j’ai …
“If you’re not on Github, you’re essentially unable to participate in the rich open-source community that has arisen around front-end development technologies.”
Quand je dis que ma manière de travailler a changé je ne parle pas seulement du résultat final de mon travail mais du processus en lui-même, le workflow . En quelques mots c’est tout ce qui, de l’idée originelle, conduit au résultat fina…
Depuis quelques temps j’ai envie d’écrire une mince série de billets sur ce que je fais plus concrètement au travail. Histoire de partager, recueillir quelques avis et puis pouvoir discuter un peu de sujets qui me passionnent avec des gens qui traversent la même chose. Comme je l’avais mentionné dans un précédent article, j’ai commencé à travailler il y a deux ans et demi de cela. Quand je suis ar…
En terme de web les modes vont et viennent, tant au niveau du fond que de la forme. C’est à la fois dû à l’évolution des langages eux-mêmes et l’évolution des navigateurs qui lisent et déchiffrent ces langages. Sans doute est-ce le fait que je suis plus informé qu’avant mais j’ai l’impression que les choses s’accélèrent de plus en plus - et dans le bon sens. Quand je vois les efforts monstrueux de…
Je ne parle pas beaucoup de webdesign et de programmation sur mon blog. Pendant longtemps la raison a été que je ne me sentais pas forcément à l’aise avec ce que je faisais - pas assez au point par rapport aux nombreux standarts du web et à la qualité de ce qui se faisait ailleurs. Depuis le travail en agence m’a fait énormément progresser : moi qui n’avait à l’origine que quelques lointaines conn…