A filter area between a house and the space outside is called Riwaq (a portico) and usually is built between some of the main rooms and the sides/angles of the building. The open part is often built with archs and it’s used in houses and in public buildings like schools and hospitals (can be seen a similar architectural tradition in most of the Mediterranean areas) and it prevents the sun to hit directly the rooms and keeps the ventilation to reach the comfort zones.
The last element used to regulate the temperature inside the houses is one of the most important:  openings. There are cases in which for different reasons  we can't  find them at all as in the peasants' houses (for security reasons), though in some cases  small openings placed in the highest parts of the house can be found.
Openings are they are the most efficient and simple way to have dispersion of the heat by ricirculation. The technology is really simple, seldom glass is used, often it's a simple hole in the wall with some fabric to cover the view.