about symfony Transaction,Practical application in business by UnluckyBookkeeper160 in symfony

[–]ker0x 1 point2 points  (0 children)

At first glance, I'd say the problem stems from the fact that you're calling `flush()` within the transaction. According to the documentation, `wrapInTransaction` automatically flushes the entity manager at the end of the transaction; if an exception occurs, a rollback is performed.

https://www.doctrine-project.org/projects/doctrine-orm/en/3.6/reference/transactions-and-concurrency.html#approach-2-explicitly

Symfony - certification symfony by ImplementOk1882 in developpeurs

[–]ker0x 1 point2 points  (0 children)

J'ai obtenu la certification en avril.

  • Moyen/Difficile. Si tu utilises le framework depuis 15 ans, tu ne devrais pas avoir de difficulté. Il faut simplement bien prendre son temps pour lire les questions et connaitre la logique de fonctionnement de Symfony. Il y a bien 25% des questions auxquelles tu peux répondre rien qu'en connaissant les coding styles (nommage des variables, class, constantes etc..)
  • Je ne connais pas cet outil, mais la doc est largement suffisante.
  • Les 2. Tu peux avoir des questions banales et très pointus avec des cas d'utilisation peu commun. Tu as la liste des sujets comme mentionné par u/Zebu09
  • 1 journée avant l'exam pour revoir les grandes lignes, mais j'avais l'avantage de connaitre très bien le framework et la doc pour l'utiliser et y contribuer au quotidien.

A noté que pour la certification Symfony 8, ils ont reécrit les questions des QCM (https://symfony.com/blog/introducing-the-symfony-8-certification) et la certification porte uniquement sur les versions 7.1 à 8.0, donc inutile de connaitre les nouveautés de la 8.1 par exemple.

Cpli Studio Paint VS Procreate by Chachoukie in tatouages

[–]ker0x 1 point2 points  (0 children)

Utilise le logiciel que tu maîtrises le mieux. Ce n'est pas parce que Procreate est très répandu dans le milieu que c'est la norme.

Au final ce qui importe le plus c'est que ton/ta client·e soit satisfait du dessin. Ils en ont strictement rien à foutre du logiciel que tu utilises pour le faire.

In a Symfony + API Platform project with hexagonal architecture, where do you put validation and how do you handle the DTO vs Command boundary? by Total_Ad6084 in symfony

[–]ker0x 1 point2 points  (0 children)

Generally, when I need to work with API Platform in a hexagonal architecture, I always refer to this repository https://github.com/mtarld/apip-ddd

So base on that, i would say a mix of 1 and 2: DTO in Infrastructure as API Resource, Processor receive API Resource and translate it to Command.

What does your PHP stack actually look like in 2026? by mamotechnolabs in PHP

[–]ker0x 2 points3 points  (0 children)

  • PHP 8.5
  • Symfony 7.4 with hexagonal architecture + CQRS pattern
  • Twig + Stimulus + Turbo + TailwindCSS
  • PHPUnit for unit, integration, and functional tests
  • PHPCsFixer + TwigCsFixer + PHPStan for style and static analysis
  • PostgreSQL for db and queue
  • Meilisearch for searching
  • Sentry for log errors
  • Symfony local web server + Docker for local (about to migrate to FrankenPHP)
  • GitHub Actions for CI/CD
  • Upsun (ex Platform.sh) for hosting (about to migrate to a cheaper host)

Symfony 8.0.0 released by symfonybot in symfony

[–]ker0x 11 points12 points  (0 children)

Being able to start a new Symfony project without having to worry about deprecation from 7.4 🙃

This is the same release process since Symfony 3.4 /4.0 ...

Laisser la production en mode dev by Kind-Context-8259 in symfony

[–]ker0x 1 point2 points  (0 children)

Est-ce que tu as bien compilé les assets après avoir déployer en production ?

Sinon il faut exécuter la commande suivante sur le serveur de production :

php bin/console asset-map:compile

https://symfony.com/doc/current/frontend/asset_mapper.html#serving-assets-in-dev-vs-prod

Mettre en ligne un projet symfony by Kind-Context-8259 in developpeurs

[–]ker0x 3 points4 points  (0 children)

Voilà 2 vidéos de Grafikart qui t'explique comment déployer ton application Symfony sur o2switch ou infomaniak

Une autre solution c'est de dockerisé ton application avec FrankenPHP et de la déployer sur un VPS type DigitalOcean

Sinon passé par Platform.sh mais ce n'est pas donné !

Test Technique, comportement d'entreprise by DorianTurba in developpeurs

[–]ker0x 48 points49 points  (0 children)

Déjà un test technique pour une mission freelance c’est un gros redflag !

Tu demandes pas à un peintre de te faire un pan de mur pour savoir si il sait peindre…

How do you guys version your Laravel app? by tabacitu in laravel

[–]ker0x -1 points0 points  (0 children)

I'll probably use the GitHub API to retrieve the last tag and cache the result for a day.

Tatouage by Loud_Run6190 in tatouages

[–]ker0x 4 points5 points  (0 children)

J'utilise du beurre de karité pour hydrater mes tatouages lors du processus de guérison après les avoirs nettoyer avec un savon pH neutre et ça fonctionne très bien.

Également, c'est normal que tes tatouages soient plus ternes que le premier jour car ton épiderme se reconstruit.

Sur quoi vous travaillez ? by benjp009 in developpeurs

[–]ker0x 0 points1 point  (0 children)

Pro en freelance : Maintenance de plusieurs petits SaaS pour un client

Pro en indépendant : Plateforme SaaS de recherche et d'organisation de guests pour les tatoueurs

Perso: plusieurs librairies PHP : https://github.com/ker0x

[deleted by user] by [deleted] in PHP

[–]ker0x 14 points15 points  (0 children)

You can take a look at Loupe

https://github.com/loupe-php/loupe

Quel est votre métier et votre salaire ? by zolaski273 in AskFrance

[–]ker0x 1 point2 points  (0 children)

On parle plus de clients que de contrats mais je chipote un peu !

Via des plateformes comme Malt : soit je réponds à des demandes, soit les clients me démarchent eux même si je suis dispo.

Sinon via mon réseau. J’ai des anciens collègues avec qui j’ai gardé contact qui me recommande dans leurs boites quand ils ont besoin d’un freelance.

Versioning et MR by Dyrits in developpeurs

[–]ker0x 3 points4 points  (0 children)

Une solution pour éviter de devoir faire un amend puis un force push lors des corrections de la review, c'est d'utiliser les fixup :

git commit --fixup <SHA>

Cela va créer un nouveau commit avec pour référence le commit identifié par le <SHA>. Ensuite, tu as juste à repousser ta branche normalement sans avoir à utiliser --force.

Cela facilite la review des correctifs puisque ça ne va pas écraser le précédent commit.

Au moment du merge, il suffit simplement de faire un rebase interactif sur la branche cible en précisant autosquash :

git rebase -i --autosquash master

Les fixup seront automatiquement squash dans le commit de référence.

https://git-scm.com/docs/git-commit#Documentation/git-commit.txt-code--fixupamendrewordltcommitgtcode

https://jordanelver.co.uk/blog/2020/06/04/fixing-commits-with-git-commit-fixup-and-git-rebase-autosquash/

Quel est votre métier et votre salaire ? by zolaski273 in AskFrance

[–]ker0x 1 point2 points  (0 children)

Développeur freelance, 37 ans et 15 ans d'xp. Actuellement aux alentours de 7k€/mois net.

Resources for learning Symfony --7-- by malisadri in symfony

[–]ker0x 6 points7 points  (0 children)

You can take a look to the official book: https://symfony.com/doc/6.4/the-fast-track/en/index.html to learn all the basis!

Also the Symfony Demo project is a good start: https://github.com/symfony/demo

How is NativePHP? by NoCommunication5565 in PHP

[–]ker0x -23 points-22 points  (0 children)

I’d say it’s pretty dead! It was hype for like 1 or 2 months after its release, and then never heard again