Blog posts tagged "programming"

Did blogs kill the online magazine star?

August 18th, 2006

Realized the other morning that I had half an article written just looking at my notes from some recent PHP hacking. Looked around a bit for somewhere to publish it, but most of the places I might have sent a PHP article a few years ago don’t seem to be around, or at least not accepting submission. Suggestions on a good venue?

Or is that why I’ve got a personal publishing platform?

Tagged: Uncategorized , ,

Simple Test

July 4th, 2006

Recently started using Simple Test for a couple of projects (even slipped it in at work, but sssh! don’t tell them!). So far I’m very happy with it. Using PHPUnit was always a bit of a non-starter, it felt heavy, and even which version (fork?) to use was ambiguous.

Simple Test’s documentation beyond the basics start to trail off, but the code is eminently readable (better then docs any day!), and I found writing a harness to work with the feedparser tests pleasantly straightforward.


Tagged: Uncategorized , , ,

Pirate Testing (Because Only Ninjas Write Unit Tests)

January 30th, 2006

I’ve got a new favorite development technique, “pirate testing”. I’ve used it on 3 recent projects, and it rocks.

And while Sam might have meant it literally, I’ve found it perfectly describes the practice of shanghaiing another tool’s test suite to given your own TDD a jump start.

(n.b.: May be harder in languages which don’t allow reopening of classes. aka monkey patching)

Tagged: Uncategorized , , , , , ,

Lucene in Action (and Ferret)

January 23rd, 2006

I’ll admit I’m a freak, but I find a well written programming book as gripping as a well written novel, and have been known to sit down and read them cover to cover. (PofEAA was a page turner!) I’m about a third of the way through Lucene in Action, and it’s excellent: easy to read, compelling examples, deep insight, generally good stuff. A good tech book leaves your mind percolating with the all cool new things you can do with your new knowledge, and LiA is that kind of book.

I’m reading it in the contexts of Ferret and while there are some minor API differences (no Hits class in Ferret but it adds an Index::Index convenience class), for the most part the knowledge is directly applicable.

Tagged: Uncategorized , , , , , ,