Not too long ago I've come across one article which I believe you might find helpful. Someone may take a steaming dump all over it, but it answered some of my questions. 
<a href="http://www.zhaoyangsem.com/index.php/archives/5515" rel="nofollow">http://www.zhaoyangsem.com/index.php/archives/5515</a>