$> blog detassigny.net

-bash: blog: command not found

Safe Refactoring: split a class into smaller ones

A step-by-step guide on how to refactor big chunks of code using unit tests

Read More

Design Pattern #3: Decorator Pattern

A pattern with a similar purpose to inheritance, but with some advantages!

Read More

Mocking in PHP #4: Phake

A simple to use and yet powerful mocking library

Read More

Mocking in PHP #3: Mockery

How to use one of PHP's most popular mocking library

Read More

Mocking in PHP #2: PHPUnit mocks

How to use PHPUnit built-in mocking system

Read More

Mocking in PHP #1: Writing your own mocks

A good way to vizualize how mocking works in the first place is to implement your own mocks

Read More

You need to write tests

Writing unit tests at work should be one of your top priority!

Read More

I gave up on Android

I had been using Google's mobile OS for a while, but now it's time to say goodbye...

Read More

Design Pattern #2: Dependency Injection

A very useful pattern to keep your application clean and enable unit testing

Read More

Managing my passwords with KeePass and OwnCloud

I had been trying to find the perfect setup for managing my passwords for a while, and I think I'm getting close.

Read More