Zend certified PHP/Magento developer

I know comment threading is an age old web problem and there are thousands of solutions out there. After all of these years this is the first time I have had to implement a system in a project. Does anyone have any tips, reliable code, or examples build on that I could use to speed by build out?