WebSocket, the protocol that enables two-way asynchronous communication between the client and the host, has been around for quite a few years. And yet, despite many benefits it provides, PHP’s support for this technology is still shaky, to say the least. But does it mean that we can’t use it with PHP at all?
PHPUnit provides a powerful mocking framework that allows us to mock methods with different arguments. We can use the expects() method to specify the arguments that the mocked method should expect.
Très bien pour le passage à la configuration des routes par de la configuratioin PHP.
Les pires pratiques pour les tests. Intéressant
Il a mis des mots sur mon organisation.
Du PHP dans des apps ? Diantre !
Il est vrai que ce patter est vraiment mieux que l'approche MVP classique.
Un calendrier
Symfony, partage de variables d'env entre back / front
Rector à voir plus en détail.
À tester ! Library de benchmark PHP, à voir la valeur ajoutée.
Intéressant comme pattern, je tente un implémentation simple avec les events doctrine
Anti pattern !
Symfony workflow component
Task Runner PHP à tester
Intéressant à tester.
À lire
PHPUnit provider
test traits PHP
PHPStan 2.0 est disponible \o/
Approche fonctionnelle pour un parser. À étudier
A lire, une meilleure DOC block
Exemple de makefile
Using the I prefix or Interface suffix for interfaces, as well as Abstract for abstract classes, is an anti-pattern. It has no place in clean code. Differentiating interface names, in fact, obscures OOP principles, introduces noise into the code, and complicates development. Here are the reasons. Je n'ai toujours pas tranché
Trainer, writer, and developer of web applications since 2002