About testing entity state changes (in PHPSpec)

This weekend I was poking into my first PHPSpec tests and I found a real scenario that, I bet, you faced at least once if you do BDD/TDD and so on. I’m talking about testing an object that changes state of another object. DISCLAIMER I will not post any real…

ECMAScript Proposal Process

Reading the countless articles concerning Javascript and specifically ES7,  I noticed complete and utter confusion about introduced features. Any new feature introduced after ES6 is tagged as a feature that will be introduced in ES7. Nothing could be further from the truth! Features like async function or decorators will not be introduced in ES7, so…

From sharding to coordination

I joined Madisoft’s ranks only a short time ago and it’s been decided that my baptism of fire would have been a fearful task: splitting a part of the shard-based architecture we use (more on that topic in future posts). TL:DR A @ManyToMany relation across different db servers is a no-go. We…

Assets versioning with Symfony and Capifony

Just a quick tip for assets versioning with Symfony2. Let’s imagine you have an asset, called “beautifulAsset.js”, in your app. As soon as it’s requested, the user browser caches it. So far so good. Problems arise when you change the code inside “beautifulAsset.js” and deploy your application. If you don’t…