Lyrixx - lyrixx.info - LyRiXx Blog

Latest News:

Symfony2: How to mock services during functional tests 12 Apr 2013 | 03:00 am

When you are working with web-service and you want to add some tests, you have two options: Use the real service Mock the service The first one has some advantages: If the web-service change, your ...

What my sismo configuration looks like? 7 Feb 2013 | 04:00 am

Sismo is a Continuous Testing Server written in PHP. I build all projects I'm working on with it. It's very fast to set up a newproject, but it's a little but boring. So I want to share my ~/.sismo/c...

How to open a file with sublime text from your browser 5 Feb 2013 | 04:00 am

Note: This work only with ubuntu. Why? If you are doing some php with sublime text 2, this tips will enjoy your day. You can configure your system (ubuntu, may be other other distro too) to handle l...

Symfony2: How to debug your functionals tests 3 Feb 2013 | 04:00 am

When you write functional tests with symfony2 and phpunit, it could be hard to debug them if an exception happened. You can try to var_dump the response, but since you ran tests from cli, the output i...

Symfony2: Snippet to render all form errors 31 Jan 2013 | 04:00 am

With symfony 2, you can render all errors from a form with a little macro. You can use it for only one form, or for all your application The macro Usage Just for one form: For all you application ...

Sublime text 2 et xdebug : liens cliquables sur les fichiers 24 Feb 2012 | 06:19 am

Salut, Si comme moi vous utilisez sublime text 2 pour développer, vous allez apprécier ce petit tips. Par exemple quand vous avez une erreur 500 et / ou une fatal erreur, xdebug vous affiche la backt...

Sublime text 2 et xdebug : liens cliquables sur les fichiers 23 Feb 2012 | 04:00 am

Salut, Si comme moi vous utilisez sublime text 2 pour développer, vous allez apprécier ce petit tips. Par exemple quand vous avez une erreur 500 et / ou une fatal erreur, xdebug vous affiche la backt...

Mysql + export + csv + groupy en gardant les colonnes groupées 2 Feb 2012 | 06:57 am

Petit tips avec MySQL. Admettons que vous voulez faire un export en csv d’une table (A). Dans ce cas, c’est facile, il suffit d’utiliser « INTO OUTFILE ». Par contre, si vous avez une jointure (A -> B...

Mysql + export + csv + groupy en gardant les colonnes groupées 1 Feb 2012 | 04:00 am

Petit tips avec MySQL. Admettons que vous voulez faire un export en csv d’une table (A). Dans ce cas, c’est facile, il suffit d’utiliser « INTO OUTFILE ». Par contre, si vous avez une jointure (A -> B...

Silex Kitchen Edition 24 Oct 2011 | 08:03 pm

Silex est un micro-framework (en php) basé sur les composants de symfony2. Je vous invite à aller voir la documentation. La documentation est déjà bien fournie, cependant vous pouvez aller voir la pré...

Recently parsed news:

Recent searches: