Discuss the design process of shallow foundations. What are the factors that need to be considered during the design process?