Monday, 26 January 2015

Should I use an ORM?

Martin Fowler has a very nice article about why you should use an ORM, when you should not, and what alternatives there are.

See http://martinfowler.com/bliki/OrmHate.html.

Of course, as I have often said (but not always, never always), think before you blindly pick something to use. Is it appropriate? Is there something better?

Monday, 19 January 2015

Connecting Issues in GitHub to Git via Commit Comments

When you enter "Fixes #45" into a commit message, issue #45 is closed once that commit is merged into your default branch. If the bug isn't fixed in your default branch, the issue remains open. Once the commit with the fix is merged into your default branch, the issue is automatically closed.

Very nice!

I have similar functionality at work, using Trac (or Confluence) and Subversion, so it seems to become the norm more and more.

But for me, who grew up with separate un-integrated tools, it's still very impressive.

References

GitHub - Closing issues via commit messages
https://help.github.com/articles/closing-issues-via-commit-messages