Creating XPCOM Components - the upcoming book is available online.

Transitioning a Mozilla package to Mozilla Firebird