The architecture of the Song dynasty (960–1279) was noted for its towering Buddhist pagodas, enormous stone and wooden bridges, lavish tombs, and extravagant palaces. Although literary works on architecture existed beforehand, architectural writing blossomed during the Song dynasty, maturing into a more professional form that described dimensions and working materials in a concise, organized manner. In addition to the examples still standing, depictions in Song artwork, architectural drawings, and illustrations in published books all aid modern historians in understanding the architecture of the period.
The professions of architect, master craftsman, carpenter, and structural engineer did not have the high status of the Confucian scholar-officials during the dynastic era. Architectural knowledge had been passed down orally for thousands of years, usually from craftsman fathers to their sons. There were also government agencies and schools for construction, building, and engineering. The Song dynasty's building manuals aided not only the various private workshops, but also the craftsmen employed by the central government.
The layout of ancient Chinese capitals, such as Bianjing, capital of the Northern Song, followed the guidelines in Kao Gong Ji, which specified a square city wall with several gates on each side and passageways for the emperor. The outer city of ancient Bianjing was built during the reign of Emperor Shenzong to a rectangular plan, almost square in proportions, about from north to south and from west to east. The south wall had three gates, with Nanxun Gate in the center, Chenzhou Gate to the east, and Dailou Gate to the west. The other walls had four gates each: in the east wall were Dongshui Gate (at the southern end), Xinsong Gate, Xinchao Gate, and North-East Water Gate; in the west wall Xinzheng Gate, West Water Gate, Wansheng Gate, and Guzi Gate; and in the north wall Chenqiao Gate (at the eastern end), Fengqiu Gate, New Wild Jujube Gate and Weizhou Gate.