24
Mar
2014

Test your emails with Behat and Symfony

When writing tests with Behat, one is often confronted with the need to test email sending. For example, when a user registers for your application, the user might need to confirme his email address. In that case an email is send to the user containing a link he has to follow in order to confirm. Actually testing that this email is send is not that complicated with Behat and Symfony.

read more...
07
Aug
2013

Insert implementation performance on Mysql

Currently, I am working on a heavy read/write database application in Play (teasing: will be online in a couple of days!) and I was faced with a classic performance dillema. I have a lot of data to insert in my Mysql database but a lot of that data could be a duplicate of data already in the table and in that case, I don’t want it. I was wondering what would be the best implementation for this kind of situation and decided to create a little benchmark.

read more...
30
Jul
2013

Play2, cheat-sheet

And for the first time on this blog a post in English. Just a bunch of tips/tricks for Play I’ve came across on the web and decided to note somewhere. And where better to do that than on this blog. Enjoy!

read more...