Nutrition tips: homemade vs. commercial pet food

What are the pros and cons of homemade vs. commercial pet food? How do you decide which is best for your pet?