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)
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
We often have to use different micro-services who write in many log files. Use utilities like Kibana is a good thing, but in order to take full advantage of its features we have to try to standardize and normalize the logs. The company where I work having introduced Kibana recently, he asked me to implement… Read More Symfony and Monolog, how use Processor in your project: a practical example
New in Symfony 3.3: Getter injection As part of our experimental features program, in Symfony 3.3 we’ve added a new feature called getter injection. This adds up to the usual mechanisms used for dependency injection and doesn’t replace any of them. Instead, it provides an additional way that fits some specific use cases. Getter injection… Read More Symfony 3: some new features that i like
Aujourd’hui les architectures micro-services sont de plus en plus répandues. Mais quels sont les moyens de contrôler votre nouveau système d’information ? Mettons fin au mystère dès maintenant, le circuit-breaker, c’est le disjoncteur de votre architecture micro-services. Mais comment cela fonctionne et pourquoi en aurions-nous besoin ? Voila une suite d’articles intéressants en français concernant le… Read More Circuit breaker pattern – Comment fiabiliser nos microservices
PHP is one of the most popular programming languages around the world, and the recent PHP 7 release made this server-side programming language better and more stable than ever. PHP is widely used in major projects. Facebook, for example, utilizes PHP for maintaining and creating their internal systems. WordPress uses PHP to power its internals,… Read More How to choose a PHP framework