CPM v CPC?

I am trying to work out the different ways into buying online media. Why would you choose to buy based on a CPM model instead of by CPC?
And are direct response campaigns better to be bought on CPM while more general branding campaigns should be bought on a CPC basis? Any help would be appreciated.

See original post by Bextor