I can only speak for my preferred fermentation profiles. I really only do a diacetyl rest for my lagers. I ferment at around 50F for 7 to 9 days (dependent upon yeast strain) and then ramp up slowly from 50F to around 60F over the course of a week. I then bring the temperature up to 64F-66F for several days (4 to 5) before slowly bringing the temperature back down over the next 4 days and cold crash for 4 to 5 days. Following that, I will bring the temperature up for bottling, but at that point the lighter styles are usually pretty bright and I've never had any hint or feedback of diacetyl.
For ales, I start my fermentation in the mid to low 60's and allow it to rise slowly after the first couple of days up to 68F to 70F.
There are a good number of ways to go about fermentation. If you google 'lager fermentation' you should come up with more different ways than you can imagine. (not to say they all will work for you).