The Angkorian architects and sculptors created temples that mapped the cosmic world in stone. Khmer decorations drew inspiration from religion, and mythical creatures from Hinduism and Buddhism were carved on walls.
Temples were built in accordance to the rule of ancient Khmer architecture that dictated that a basic temple layout include a central shrine, a courtyard, an enclosing wall, and a moat. Khmer motifs use many creatures from Buddhist and Hindu mythology, like the Royal Palace in Phnom Penh, use motifs such as the garuda, a mythical bird in the Hinduism. The architecture of Cambodia developed in stages under the Khmer empire from 9th to the 15th century, preserved in many buildings of the Angkor temple. The remains of secular architecture from this time are rare, as only religious buildings were made of stone. The architecture of the Angkor period used specific structural features and styles, which are one of the main methods used to date the temples, along with inscriptions.
In modern rural Cambodia, the nuclear family typically lives in a rectangular house that may vary in size from four by six meters to six by ten meters. It is constructed of a wooden frame with gabled thatch roof and walls of woven bamboo. Khmer houses typically are raised on stilts as much as three meters for protection from annual floods. Two ladders or wooden staircases provide access to the house. The steep thatch roof overhanging the house walls protects the interior from rain. Typically a house contains three rooms separated by partitions of woven bamboo. The front room serves as a living room used to receive visitors, the next room is the parents' bedroom, and the third is for unmarried daughters. Sons sleep anywhere they can find space. Family members and neighbors work together to build the house, and a house-raising ceremony is held upon its completion. The houses of poorer persons may contain only a single large room. Food is prepared in a separate kitchen located near the house but usually behind it. Toilet facilities consist of simple pits in the ground, located away from the house, that are covered up when filled. Any livestock is kept below the house. Chinese and Vietnamese houses in Cambodian town and villages typically are built directly on the ground and have earthen, cement, or tile floors, depending upon the economic status of the owner. Urban housing and commercial buildings may be of brick, masonry, or wood.