I still use Dreamweaver as my IDE, but I use smarty templates. They are
pretty easy to get started, but are pretty complex as you use them more
and more.
http://smarty.php.net/
I would check them out, I have been able for the most part to
incorporate them into all the coding I do.