He became famous in the early 2000s playing the part of `` Dr. John Dorian '' on the NBC series Scrubs . Braff first became known in 2001 for his role as Dr. John Dorian on the television series Scrubs .