Notre blog
Nous partageons nos découvertes, nos retours d’expérience et plus généralement nos bonnes pratiques, dans l’objectif de diffuser la connaissance à tous.
Ce blog technique est le fruit de notre veille constante sur les technologies que nous employons.
Handling signal with Symfony Command
A few years ago, we wrote an article (in french) about how POSIX signals work in PHP. Today, we want to share with you how to handle signals with Symfony Command. ⚠ This works only as of Symfony 6.3. Symfony 6.3…
par Grégoire Pineau
Aggressive Caching with Symfony HTTP Client
The Symfony CachingHttpClient The HttpClient component comes with a client that can cache responses when possible. It means the client won’t issue another request to the server if the response is already available…
par Grégoire Pineau
How to Configure DNS for Developing Webapp with Dnsmaqs once for all
When you install a new project, you often need to edit your /etc/hosts file. It isn’t really painful but wouldn’t it be better if we could avoid it? I have used Dnsmasq for a decade to solve these kinds of problems…
par Grégoire Pineau
Quick PHP tip: Initialize a DateTime object from string, but with time resetted
Initialize the PHP DateTime object For a variety of reasons, we all have to initialize DateTime objects from strings like 2023–02–14. The quick and clean way to get an object from this kind of string is to use…
par Mathieu Santostefano
FOSDEM 2023, it’s back IRL!
After two years online, the FOSDEM is back in the ULB in Bruxelles. The biggest European meeting for developers of free and open source softwares reunited thousands of developers and other tech enthusiasts. Coming…
par Marion Hurteau
How to Fix Memory Leak in Doctrine Migrations
I had to write a Doctrine migration to fix some bad data. Unfortunately there was so much data (~600K records) that the migration leaked. The memory consumption reaches about 12Gb! That’s not really acceptable!…
par Grégoire Pineau
How to build a OR condition in Elasticsearch Query DSL
Today I want to share a little piece of information about the Elasticsearch Query DSL we all love and cherish. There is no « or » or « and » query. There was one in Elasticsearch <= 2.4 but it’s…
par Damien Alexandre
How TaggedLocator Can Help You Design Better Symfony Application
One of the features I love the most in Symfony is the TaggedLocator. It seems to not be well known and I believe it deserves more visibility! That’s why I want to explain how it works. I often see blog posts about…
par Grégoire Pineau
4 astuces CSS pour bien commencer l’année !
L’année 2022 a été, pour ma part, très riche en projets Web. 🎉 Ce fut donc l’occasion rêvée d’expérimenter de nouvelles méthodologies d’intégration, de passer du côté obscur de la force en adoptant Tailwind CSS…
par Jonathan Levaillant
Fine tune an OpenAPI specification for mocking
More and more often, in the projects I work on, I need to mock APIs. When I’m lucky enough, the API provides an OpenAPI specification, but sometimes it can be heavy. I almost never need to locally mock the whole…
par Mathieu Santostefano
La microtypographie au service de la lisibilité
La microtypographie, bien appliquée sur votre site Web peut grandement améliorer la lisibilité. Regardons de plus près comment ça fonctionne 🔎 Ça se mange ? En voici la définition d’après Wikipedia : Lisibilité…
par Marion Hurteau
Redis et la mémoire de PHP sont dans un bateau, il coule
La situation initiale 👍 Dans un de nos projets, nous avons un endpoint d’API qui retourne de gros JSON à ses clients. Les clients sont des serveurs, donc la bande passante n’est pas un problème. Il y a quelques…
par Grégoire Pineau
SymfonyCon at Disneyland Paris for the 15+2th birthday of Symfony
After more than two years of waiting, SymfonyCon 2020 2021 2022 was held at Disneyland Paris on November 17th and 18th. We were delighted to meet community members, other members of the Core Team, as well as contributors…
par Grégoire Pineau, + 1 autre
SymfonyCon Disneyland Paris pour les 15+2 ans de Symfony !
Après plus de deux ans d’attente, la SymfonyCon 2020 2021 2022 s’est tenue à Disneyland Paris les 17 et 18 novembre derniers. Nous étions ravis d’y retrouver des membres de la communauté, les autres membres de…
par Grégoire Pineau
We are open-sourcing a silly Slack bot, guess what it does!
At JoliCode we use Slack to communicate. And to bring fun to our daily life, we have created a #monologue channel where we can share our thoughts, our feelings, our dreams, our fears, our jokes, our memes, our…
par Grégoire Pineau
JoliDay 2022 avec du chêne, des bruits d’animaux, des Lego et de la Badoit
Comme tous les ans, nous avons profité d’un jour férié (en application de la journée de solidarité) pour nous retrouver tous ensemble et faire des projets ni Web ni Mobile, mais toujours de qualité 👌. Nous avons…
par Damien Alexandre, + 7 autres
React Advanced London (depuis nos canapés)
Nous avons eu la chance de pouvoir assister à la conférence React Advanced London en remote, voici ce que nous en avons retenu de ces deux jours intenses ! React internals C’était le slogan de la conférence cette…
par Cécile Delmon, + 1 autre
Dites-nous tout !
Un de nos articles vous a aidé dans votre travail et vous voulez nous remercier ? Vous avez trouvé une typo ou une erreur ? N’hésitez pas à nous le faire savoir en nous envoyant un message