Symfony

Doctrine EntityListener Pills: Comparing old and new values when updating data

You all, at some point, faced the necessity to compare old and new values when storing an entity. Here is where Doctrine EntityListener comes at help. Let imagine you have this User entity

and you want to notify the user when the email address has been changed. All you…

Uso del Page Object Pattern con Behat: esempio pratico

Il Page Object è un pattern utilizzato nei functional test per astrarre l’interazione con gli elementi della UI. All’interno di un oggetto vengono incapsulate le interazioni e le funzionalità di una pagina web che vengono esposte tramite api, nascondendo la struttura degli elementi HTML all’esterno. Per approfondire il concetto rimando…

DevMarche: Scaling PHP apps

Martedi 9 Gennaio 2018 Madisoft sarà al Cowo42 di Osimo (AN) per parlare di scalabilità di applicazioni PHP. Partendo da sfide affrontate quotidianamente sul nostro software Nuvola, vedremo come siamo riusciti a scalare con successo l’applicazione per gestire milioni di visite e miliardi di dati. La serata è gratuita, compresa la…

SymfonyDay 2017 videos

As written before we have taken part in Symfony Day. Couple of days ago video of the event were uploaded and you can check them out here We would be happy to have feedbacks so, don’t hesitate!

Symfony day 2017: BDD and Behat

We are very proud to have taken part at the 2017 Symfony day. Samuele and I spoke about Behat best practices and how to integrate it in your Symfony project. Here are the slides: https://www.slideshare.net/matteomoro8/behat-from-zero-to-hero-a-practical-guide-to-symfony-integration-and-usage Video of the talk will be published by Grusp in the next weeks. For any feedback…

SymfonyDay 2017

If you are a Symfony developer you can’t miss the annual SymfonyDay conference in Italy. It’s always been a great day to listen to interesting talks and do some networking. As Madisoft we strongly believe both in this amazing framework and in such events. So, also this year, we decided to…

Symfony sharding

In a previous post we’ve seen how leverage Doctrine sharding functionalities. But how can we tell our app to use a specific shard? A common web app has usually at least two sources: http requests and cli commands. Let’s see one at the time. Http request As you already know HTTP is a…

Doctrine sharding

In the previous article we explored why sharding by tenant is a very good solution for us. In this article we dig into how to divide our Symfony app by shard. Doctrine We chose Doctrine as our ORM so let’s see what it offers to us. First of all you have to…

1 2 3