For that sort of thing, it's hard to beat Carmichael's
Time Crunched Cyclist. It covers the how and why, etc. There are complete programs, which you may or may not want to take on. The greatest value is probably simply the discussion of what various types of trainer workouts look like and what they do.