Install the door first, then flooring. You can cut the door casings with a jamb saw for clean tile install. Then put up your base molding.
Good luck. Getting ready to do the same in my basement. (also, if it makes you feel any better, I own a tile store and asked some of the installers...