Favoris
Une collection de liens intéressants
- How I Structure My CSS (for Now)
When it comes to structuring CSS, there is no shortage of different naming conventions, methodologies, and architectures. Be it BEM, OOCSS, SMACSS, ITCSS, or CUBE CSS – over the last years, many different approaches to managing modular CSS have emerged.
19 août 2024
- Build a modal form with Rails, Turbo, and the dialog element
I’ll explain the differences and benefits of Turbo Streams vs Turbo Frames in this HTML-first, test-driven tutorial. Only one line of JavaScript needed!
18 août 2024
- Du langage naturel à un DTO grâce à l’IA
L’IA est sur toutes les lèvres, et souvent en tant que développeur, on peut avoir du mal à voir des cas concrets de son utilité.
13 août 2024
- Comment profiler un service avec Symfony
Si vous développez avec Symfony, vous connaissez probablement le « Symfony Profiler ». Cette barre d’outils s’affiche en bas de vos pages web et fournit des pages dédiées pour analyser les données collectées par Symfony.
09 août 2024
- GoAuthentik de A à Y
Ça fait un moment que j’utilise Github comme support OAuth2 pour m’authentifier sur des applications. Toutefois, je me suis toujours contenté de suivre une documentation sans réellement chercher à comprendre ce qu’il se passait sous mes yeux chaque fois que je voulais m’authentifier.
04 août 2024
- Une meilleure architecture pour vos Twig Components de Symfony UX
Symfony UX, l'initiative JavaScript pour Symfony, a depuis un moment introduit les Twig Component.
29 juillet 2024
- CSS Grid Areas
CSS Grid support has been widely available since March 2017 in all major browsers. Yet, here we are in 2024, and I still see few people using the grid template areas feature. It’s no surprise that many avoid template areas as making sense of the grid is challenging enough.
25 juillet 2024
- CSS Cap Unit
While I was working on a recent article on the gap property, I needed to place a box between two words and keep it aligned. I thought about a way to size the box to be equal to the capital letter height. After some research, I found the cap unit and it worked as expected.
12 juillet 2024
- Passer à PostCSS pour un projet sans SASS
Cela fait plusieurs années que nous avons l’habitude d’utiliser le préprocesseur SASS (Syntically Awesome Style Sheets) chez JoliCode. Incontournable chez les intégrateur·rice·s, il permet d’utiliser des variables, faire des boucles, créer des mixins…
10 juillet 2024
- Accessing 1Password items from the terminal
I save things like API keys in 1Password. Today I figured out how to access those from macOS terminal scripts. My initial goal was to make a Fly.io API key available in an environment variable, without copying and pasting it.
10 juillet 2024
- The 3 Types of CSS Utility Classes
A 9.0 earthquake shook my front-end world when I discovered “layout primitives” at every-layout.dev. Then an aftershock rolled through when I learned about fluid sizing and spacing tokens from utopia.fyi. It’s completely changed the way I write HTML and CSS.
03 juillet 2024
- Web Performance Guide
New to the world of web performance? Welcome! Here's everything you need to know to master website monitoring, analytics, and diagnostics. Learn how to deliver a fast, joyous experience to all your users. Making your pages faster isn't just for the web performance geeks in your organization.
26 juin 2024
- Sortie de Foundry 2 : nouveautés et migration
03 juin 2024 - par Julien Lary
24 juin 2024
- Modern CSS Layout is Awesome: Talking and Thinking About CSS Layout
I recently gave a CSS layout talk at Pixel Pioneers conference in my (sort of) home city of Bristol. I’ve spoken about CSS layout quite a bit over the years, but I feel like there’s always a lot to talk about, as things are changing all the time!
18 juin 2024
- mise
The front-end to your dev env. (formerly called "rtx") mise is a polyglot tool version manager. It replaces tools like asdf, nvm, pyenv, rbenv, etc.
10 juin 2024
- Practical insight into modulithic architecture
In software architecture, it is always about finding the best solution for your use case and your application in your specific context. Based on that, you have the challenge to find the right balance between flexibility and simplicity.
06 juin 2024
- Crafting Elegant Symfony Tests
Writing and reviewing integration and functional tests with Symfony can be clunky. Using the traditional recommendations, they can be verbose, hard to follow, and require outside state. I think tests should be concise, read like a story, and not require some kind of known initial state (i.e.
06 juin 2024
- The gap property
In simple words, the gap property is used to add gutters between flexbox or grid items. Let’s take the previous example. It’s a shorthand for column-gap and row-gap. See it in action.
31 mai 2024
- cache rules everything
Caching is something most developers take for granted, but experience tells me time and time again that most developers also don’t understand how to configure their caching rules safely, correctly, or effectively.
30 mai 2024
- Containerization Tips and Tricks for PHP apps
API Platform was one of the first PHP frameworks to provide native support for Docker, Docker Compose, Kubernetes, and, more recently, Skaffold. The API Platform skeleton also served as the basis for Symfony Docker, the most popular solution for containerizing Symfony projects.
28 mai 2024
- Linux as the new developer default at 37signals
For over twenty years, the Mac was the default at 37signals. For designers, programmers, support, and everyone else. That mono culture had some clear advantages, like being able to run Kandji and macOS-specific setup scripts.
27 mai 2024
- Old Dogs, new CSS Tricks
A lot of new CSS features have shipped in the last years, but actual usage is still low. While there are many different reasons for the slow adoption, I think one of the biggest barriers are our own brains. Right now, we’re in the middle of a real Renai-css-ance (the C is silent).
27 mai 2024
- DbToolsBundle, enfin un outil pour utiliser légalement nos données de prod en local
Il est illégal d’utiliser les données personnelles de vos utilisateurs ailleurs que sur la prod. Plus précisément, le RGPD1 indique que :
22 mai 2024
- Cally
The aim is not to give you a full date picker, instead only the lower-level building blocks that allow you to build your own. You likely already have your own inputs, buttons, popover etc components. So why not use them?
22 mai 2024
- New in Symfony 7.1: Mapped Route Parameters
Contributed by Nicolas Grekas in #54720 and #54455. Symfony maps route parameters to controller arguments automatically since day one. You only have to use the same name in both places and Symfony does the necessary data type conversion:
21 mai 2024