Sam's notebook

MediaWiki Documentation Day 2017 May 12th, 2017, 4PM

Programming

It’s MediaWiki Documentation Day 2017! So I’ve been documenting a couple of things, and I’ve added a bit to the Xtools manual. The latter is actually really useful, not so much from the end-user’s point of view because I dare say they’ll never read it, but I always like writing documentation before coding. It makes […]

[No comments] [Keywords: , , , , , , ] [Permanent link]

Integration (and no unit) tests April 17th, 2014, 7AM

Programming

I’ve been writing lots of integration tests lately, for a system that has zero unit tests. Does this make me a bad programmer? Probably. But it’s so easy! This is in Kohana, using ORM, and so the model basically is the database (which idea I rather like), and mocking it or splitting it out to […]

[No comments] [Keywords: , , , , , , , ] [Permanent link]

No Topham Hatt here, please September 16th, 2013, 9AM

Programming

In Kohana (with Minion), actions and tasks are sort of similar. Both should be ‘thin’ and do nothing more than create objects of the domain model, and direct bits of those objects to various systems of output. Keeping them both in my mind today is helping me divorce the domain model’s interface from the usual […]

[No comments] [Keywords: , , , , , , , , , ] [Permanent link]