My response is it depends; on what the flooring is to be ( factory prefinished or sand and finish in place ) and what the trim is ( 10" colonial base or 2&1/2" builders special ). Unfinished flooring can be installed prior to trim but I would like to have the doors (jambs and casings ) in because then I know what I'm working with. The doors can be removed from the hinges to allow for installation and sanding of the floors. As far as base is concerned, when a builder uses a tall baseboard, I KNOW that it will not conform to the irregularities of the subfloor and therefore I recommend using a baseshoe UNLESS his trim carpenter (that would be you), wants to scribe the base to the floor. So, I say install the tall base first and lay the floor after then come back later (after sanding and finishing) and install the shoe. If you're using a low profile base that has some flex and will conform to the floor, then you can eliminate the baseshoe and install the baseboards after the floor is done. If the floor is factory finished, then as much work that can be done before should be as the floor should be one of the last things installed. Everyone here has stories about floors that got ruined by careless tradesmen even when they were covered. The way I work is:
1) All trim done except baseshoe
2) floors laid
3) other final interior work done
4) sand and finish floors except wait for the final coat of floor finish
5) Rest of work done including touch up painting, baseshoe, carpet
6) Final coat applied before turning home over to homeowner
Works for me and my builders!