Author Archives: Matthieu

Akka : Testing your Actors

Introduction Akka is a great Scala and Java framework implementing the “Actor” programming model. It allows developers to easily build concurrent systems. The main ideas behind the Actor model are: The work is divided into small tasks An Actor is … Continue reading

Développement web , , ,

Ebean and the OptimisticLockException

I encountered today a strange Exception with PlayFramework 2.0 / Ebean when updating an entity: javax.persistence.OptimisticLockException: Data has changed. updated [0] rows At first sight, this exception is quite cryptic and it took me some time to understand why it … Continue reading

Développement web , , ,

Contrôler l’ordre d’exécution des hooks dans Drupal

Contexte Drupal et son mécanisme de hook permet de modifier le comportement par défaut du core ou d’autres modules depuis ses propres modules. Pour chaque appel à une fonction hookable Drupal va rechercher dans tous les modules activés si ce … Continue reading

Développement web ,

Play Framework 2.0 – Premières impressions

Cet article à été publié sur le blog de Clever Age. Vous pouvez le retrouver à cette adresse. Tweet

Développement web , , ,

Unit testing tricks for Play 2.0 and Ebean

Basic Ebean model testing When you want to execute some tests that interact with your Models, you need to use a Play FakeApplication. This is described in the Java section of the Play 2.0 documentation. Here is how the code … Continue reading

Développement web , , , ,

Appels asynchrones avec Play Framework

L’intégration de nouveaux composants permettant la gestion des appels asynchrones dans Play Framework a été récemment annoncé sur la mailing-list par Guillaume Bort. Ils ne sont pour l’instant pas disponible sur la version stable de Play, il faut donc récupérer … Continue reading

Développement web , , ,

Utiliser Envers avec Play Framework

Ça fait un petit moment que je “joue” avec Play Framework (ok, elle était facile…) et ce que j’apprécie dans cet outil, c’est sa dualité. Pour la majorité des besoins, on a tout ce qu’il faut sous la main et … Continue reading

Développement web , ,