Being Cellfish

Stuff I wished I've found in some blog (and sometimes did)

December, 2013

Change of Address
This blog has moved to blog.cellfish.se.
Posts
  • Being Cellfish

    Lunch Dictator or Tweeting from PHP

    A while back I needed a way to simply post tweets from PHP. To my disappointment most examples I found were about reading tweets or required a bunch of PHP modules I did not have the opportunity to use on the server where the script was going to run. So I had to do some work.

    Read more here.

  • Being Cellfish

    429 vs 503

    A while back I was involved in a discussion around using 429 instead of 503 in order to tell clients they should back off a little. And there are some good arguments for both. Here are my thoughts.

    Read more here.

  • Being Cellfish

    Abstracting time

    Probably one of the most common tight couplings I see is a dependency on system time, i.e. using DateTime.Now or DateTime.UtcNow directly in your code without any abstraction around it. A tight coupling that typically leads to very complex and fragile tests when trying to ad test coverage.

    Read more here.

Page 1 of 1 (3 items)