Introduction My colleague Damien Gilbrin has a lot of experience about Behat. He just partecipate to a MeetUp where he explained how to properly use Behat also integrating Selenium and BrowserStack. Here the presentation in french language: Behat : https://www.damiengilbrin.fr/behat BrowserStack : https://www.damiengilbrin.fr/browserstack Now i will show you the practical example that Damien publish on github Stack… Read More Symfony + Docker + Behat + BrowserStack: testing your app like a boss
In the previous article i show how use multiple conumers with RabbitMQ and Symfony. Now i want that if one of my consumers generate a error, the message will inserted in a new error queue that can be treated later. I want that the process of inserting into the new error queue is automatically. And I need… Read More RabbitMQ and Symfony, how use multiple consumers – Part 2
I have a stack with many entities like microservices, BDD, ecc…, and i want use RabbitMQ for notify a change to every entities of my stack. For do that i want use a single producer but n queues that are consumed by n consumers. Every consumer will notify the related entity. I am not be… Read More RabbitMQ and Symfony, how use multiple consumers.
I had to create an API REST for my client. Nothing could be simpler with API Platform and Symfony. For this project the stack is as follows: Symfony 3.4 API Platform 2.1 Doctrine 2 Everything is managed with Docker. Here is an example of my docker-compose The following example is based on a simple resource… Read More Symfony + API Platform + CQRS (Part 1)
The hexagonal architecture, also called Ports & Adapters, has two features when it is schematized: a hexagonal shape (hence its name) and a separation between the application, the exterior and a part containing adapters which allows the first two parties to communicate. It was designed by Alistair Cockburn in the 2000s. Its purpose is to… Read More Hexagonal Architecture
I have a project with SonataAdminBundle for admin side and FosUserBundle for user management. I override user management part in act to customize user entity, user login form ecc. In my case override files are in src/Application/UserBundle. I had some difficulties to set properly HWIOAuthBundle, so i wrote what i did, and I hope it can help… Read More Symfony2: Facebook Connect with HWIOAuthBundle and SonataAdminBundle
QU’EST-CE QUE LE « 12 FACTOR APP » Le « 12 Factor app » est un manifeste qui propose 12 bonnes pratiques concernant le développement d’applications web. Ce manifeste, écrit par Adam Wiggins (co-fondateur d’Heroku), est né de ses observations et de son expérience dans le développement et le déploiement d’applications web. Ce manifeste s’applique à tous les langages… Read More 12 factor App – Comment scaler vos applications ?
Static analysis of a PHP project by a CIP such as Jenkins requires optimization of the rules for excluding directories that are not part of the developed code. In the following article I want to introduce the most common methods and tools addressing static code analysis in PHP. Static analysis tools Beside the usual checks like… Read More Introduction to automated, static code analysis in PHP
Software development is improved every day by new concepts, methodologies, and high quality libraries and frameworks. But even with all these improvements, we cannot prevent change in software development. You may think that your system is designed perfectly to cater to all of its requirements, but there will always be a change request that ruins… Read More Design patterns: Adapter in PHP
CQRS, qui signifie Command Query Responsibility Segregation, est issu du CQS (Command Query Separation) introduit par Bertrand Meyer dans son ouvrage Object Oriented Software Construction. Meyer soumet le principe que les classes d’une méthode doivent être soit des queries soit des commands. La différence entre le CQS et le CQRS résulte dans le fait que chaque object CQRS est divisé en… Read More CQRS PATTERN