I'm wondering what the difference between .phtml and .php files is, and when to use one over the other.
There is usually no difference, as far as page rendering goes. It's a huge facility developer-side, though, when your web project grows bigger.
I make use of both in this fashion: