Obama didn’t win because the left compromised. Obama was the most leftist major candidate in the race. The lesson I see is that you win by energizing the base.
Obama won because the candidate was an excellent communicator and his campaign heavily recruited first-time voters, and drove them to the voting booth.