This will sound too simple, but here goes.
A billion years ago (before I knew 10% of what I know now) I lost some fish due to over feeding. I hated that and I read enough about proper stocking and cycling.
After that, I cycled my tanks like this: I set up the tank with everything in it and everything running, except fish. Then I dropped ground up fish food in the tank a couple times a day, at first a little, then more, then more. After what seemed like long enough time (3-4 weeks) and when I was 'feeding the water' what I thought I'd be feeding the fish, I bought my fish and tossed them in. I never took a reading on ammonia, nitrites or nitrates, before, after or during. I didn't do any WC during the process even right before I added the fish. But I also was careful to add smaller fish that would be able to fully grow and never over stocked the tank.
Later on (after several successful starts), I learned to 'seed' the new tank with the old tanks bacteria. I reduced the process by about a week to 2-3 weeks.
I did this on 6 different tanks (sizes 50-180), plus others that my family asked help on and I/we never lost a fish due to cycling errors or ammonia spikes. At those times, I wasn't too much aware of why this worked other than the tank had to 'cycle.' I was just patient and after a while I got a kick out of seeing an empty tank, knowing soon I could put fish in it.
This isn't the "best" way if you want a tank with fish right away. There are a lot of other ways to do it.