Développement web
When I prepare a release or just having a development demo, I don't want to struggle with deployment. By using Capistrano I can create a normalized, simplified, well documented, working and reliable deployment processRead more
Drupal 8 parameters upcasting for REST resources
This article will give you an in-depth how-to of parameters-upcasting for Drupal 8 REST resources.Read more
Tips Docker: Keep your bash history
I'm starting by heavily using docker containers for developing, testing and reviewing web applications. There was one thing that bugged me...Read more
Loco Translate - A solution to your translations headaches in Drupal 8
Loco Translate provides a normalised way to collect & gather internationalisation assets & translations into & from Loco.Read more
An introduction to Svelte, or why is everyone talking about it ?
The new kid on the block I work as a backend developer, but I am very interested in the Javascript world and ecosystem. As I mostly use PHP...Read more
Refactoring - an ode to code
What is refactoring? Should you redo your whole project? How can you proceed? This article will give you an overall explanation of refactoring in software development. We will explore the theory and then present some examples from real life. But, as I always say, no explanation is complete without clarifying the benefits and challenges first.Read more
Redux (re)introduction — A JavaScript journey #12
Redux is one of my favorite JavaScript library outside. I've been using it for three years and I never stop loving it. Recently, I've made a crash course to my workmates about Redux and some related libraries. So it's a good opportunity to (re)introduce Redux core concepts for those who don't already use it daily.Read more
How to create a custom Autocomplete using the Drupal 8 Form API
Here I will try to expose you a step by step guide which explains how you can create a custom Autocomplete field using the Drupal 8 Form API Core feature - An autocomplete that you could use in your own Drupal frontend applications.Read more
Optional Chaining — A JavaScript journey #11
Optional chaining is the future feature of JavaScript that I'm the most excited about. Here is why!Read more
Functional Programming Patterns — A JavaScript journey #10
Here is a quick recap of how cool functional patterns are in JavaScript and how they can help you improve your code.Read more
Regular Expressions aka Regex — A JavaScript journey #9
A regular expression is a sequence of characters that define a search pattern. A simple, but very accurate definition actually. In JavaScript, most of the time, regex are used to do stuff with strings.Read more
Generators, the forgotten spec— A JavaScript journey #8
In a time just before the rise of the Promises, they came and fell to oblivion in a blink. Sadly nobody uses them, including me, but generators are still in the game (or not).Read more
No comment — A JavaScript journey #7
OK the title sounds great in my head, but this blog post is more about comments in JavaScript and how to do it properly , not the contrary...Read more
Import/Export Business — A JavaScript journey #6
Do you like to organize your JavaScript projects in multiple and ingeniously split code files, me too! Lucky you (and me), thanks to...Read more
Gutenberg : override core blocks rendering
So, you're fiddling with the Gutenberg editor and it all seems like fun. You create some custom blocks (I highly recommend Create Guten...Read more
Typescript by default — A JavaScript journey #5
— What a click bait title?!? — I know, right? So, TypeScript is not new stuff, but it became more and more popular in the JavaScript...Read more
Dear jSanta (aka my 2019 goals)
Dear jSanta, I've been a good JavaScript developer this year. I have learned a lot of new trendy libraries, frameworks and syntax. I have...Read more
Elegant loops — A JavaScript journey #4
JavaScript offers a lot of ways when you need to loop over an array and do stuff . Here are my recommendations about when and how to use...Read more
Set up workflows with State Machine on Drupal Commerce 2.x
This blog post addresses the issue: "How to attach a State Machine Workflow to a Commerce Product in Drupal Commerce 2.x".Read more
Shaping functions! — A JavaScript journey #3
We live in the era of JavaScript Functional Programming, but I still asked myself sometimes if my way of declaring function is the “good”...Read more
Recursion, Real Life Problem Solver — A JavaScript journey #2
Small disclaimer : I’m an Impostor and I’m not the nerdiest math engineer to speak about recursion which is such a heavy topic. Instead, I...Read more
State mutation made simple — A JavaScript journey #1
When your JavaScript application gets bigger, you’ll quickly need something like Redux to distribute data across your application and your...Read more
Bamboo Twig, Beyond Twig in Drupal 8
All the Twig features you missed until now. Bamboo Twig provides Twig extensions with some useful functions and filters aimed to improve the development experience. Bamboo Twig has a lot of advantages and brings a lot of new features to the Twig landscape of Drupal 8. It boosts performance by using lazy loading, improves the code quality with automated workflow.Read more
Template Whisperer - Content-first templating in Drupal 8
Template Whisperer provides a formalized way to declare and suggest page templates. The content editor edits the site using only entity forms that hold the whole power of Drupal (URL, translation, fields, Metatags, Pathauto, publish status, Workflow, etc) to which they can now apply Suggestions, Goodbye to custom ControllersRead more
Drupal 8 - How to translate the Config API
When creating applications using Drupal 8, there are many cases when the configuration forms containing data have to be managed by the client. The most concrete case is - for example - all the links of the social networks must be different according to the language. I will explain here the whole process to enable configuration translation with a ConfigFormBase.Read more
Implementation of push notification thought Firebase Cloud Messaging using Ionic
Extremely easy plug&play push notification plugin for Cordova applications with Google Firebase FCM.Read more
Visual Studio Code, le nouvel eldorado des développeurs
Aujourd’hui nous parlons de Visual Studio Code - une délicieuse surprise concoctée par Microsoft. (5 minutes de lecture)Read more
Drupal 8 - Inline messages validation in forms
Shortcut I just want to code , I don’t care about the theory. First of all, let’s review some vocabulary: When we talk about forms, you may...Read more
MacOS - Trigger Notification Center when long-running commands finishes
As a developer, I often run commands that take a while to finish: git pull composer install npm install Considering that I am not a very...Read more
Drupal 8 - Differences between Configuration API & State API
The other day, I faced a serious problem. On importing the configuration on my production environment. all the configurations files saved...Read more