How was the Sunnah recorded and documented?

Executive Summary    How was the Prophetic Sunnah recorded and documented?  Was it only an oral tradition, with no written record?  Was it only documented hundreds of years after the Prophet’s (peace be upon...