I honestly believe a raw diet is probably best but it's something that takes a lot to learn and $ and time. I'm not able to do that now. If you do want to homecook, really really do your research - they have to have a very good balance of things like bone meal, organ meat, etc. Feeding boiled chicken and rice is fine when a dog is sick but not for everyday nutrition. Plus different breeds have different needs of protein levels.
There is a kibble that is next best to raw - Innova. It's too dense and rich for my boys; I feed one Natural Balance and the other CA Natural. It's as good as I can get for kibble. They also get supplements like pumpkin, sweet potato, raw egg, yogurt, cottage cheese, veggies (no onions), fruits (no grapes, avacado), flaxseed oil, salmon oil, fresh meat, raw bones, etc.