Nos articles taggués « doctrine »
A new way to squash your Doctrine migrations
As time flies, Doctrine migrations stacks. After many years of working on a project, you’ll have a high number of migrations. Even if it’s not a big issue, It takes a lot of space in your code sources, and it can take some time in your CI (Continuous Integration). Doctrine already…
Lire la suite de l’article A new way to squash your Doctrine migrations
We are open-sourcing our QOTD application
At JoliCode, we like to share our knowledge and our tools. We also like to have fun. That’s why we created a QOTD application for our Slack workspace. We are happy to announce that we are open sourcing it so you can use it in your own workspace. This project is a « pet project ».…
Lire la suite de l’article We are open-sourcing our QOTD application
Retour d’expérience : quand Doctrine Collections rencontre de grandes cardinalités
Dans le cadre d’un gros projet, sur lequel nous intervenons en support, une réécriture du mécanisme des codes promo a été mise en ligne. Nous sommes souvent assez sereins sur le déploiement de nouveau code, car nous avons mis tous les atouts de notre côté : Tout est tracé et logué, …
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! Usually, when there is a leak in Doctrine DBAL (not the ORM), it comes…
Lire la suite de l’article How to Fix Memory Leak in Doctrine Migrations
Do not drop your database content when adding Translatable to an existing project
I’ve been introducing content translation to a Symfony application initially built in a single language. As the project grew, the client wants to be able to translate the content in multiple languages so we added the great knplabs/doctrine-behaviors library 💛. It provides a Translatable…
Améliorer la DX de vos Fixtures PHP
Les fixtures sont utilisées pour charger des données définies par les développeurs dans une base de données. Elles sont très utiles en environnement de développement car elles permettent d’avoir une application avec plusieurs jeux de données qui correspondent à ce qu’il se passe…
Lire la suite de l’article Améliorer la DX de vos Fixtures PHP
Battle log: a deep dive in Symfony stack in search of optimizations 2/n
This article is the second in a series that explains what we learned and how we discovered new performance improvements. It’s focused on the dev environment. The first article guides us through multiple new optimizations for the prod environment. You should definitely read it first.…
Lire la suite de l’article Battle log: a deep dive in Symfony stack in search of optimizations 2/n
Battle log: a deep dive in Symfony stack in search of optimizations 1/n
My team and I are working on a big project that is becoming bigger and bigger. Split in micro services, each end-user call generates an increasing number of HTTP API calls. Performance was becoming a problem and the Developer eXperience (DX) suffered as a result. Note that we already…
Lire la suite de l’article Battle log: a deep dive in Symfony stack in search of optimizations 1/n
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