I am looking for some information on the structure of a typical medieval city. Specifically I want to know if there was any real logic behind the locations of specific districts such as a noble quarter, slums, merchants quarter etc. I plan on doing a city map of one of my nation's capitals and am having difficulty deciding what should go where.