Patterns and Practices

Stuff about patterns and practices.

Moved

This blog is now over at http://jonathan.dickinsons.
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Safer Duck

No, it's not made from Latex. It can still quack like a duck and walk like a duck - but you'd be saved from trying to make it qauck like a duck. I call it a Rubberduck language (for obvious reasons). So how do you make a safer (and faster) duck-typed language? By using regex. This would be a good example of a rubberduck method: public IEnumerable<string> ~Get_(<table>[^_]*)_b... GetTableRowByFieldValue(string fieldValue) { if(table == "users") return Foo(field, fieldValue);...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Long-Running Webservice Without Polling

Async Webservices: The proper way.

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Behaviour Injection

Dependency Injection is great for creating objects with static operations (e.g. weapon.Attack()), but how can I apply several dependencies to one object's member?

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

«February»
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910