Romanesque pilgrimages and church architecture, assignment help

Using the Cathedral of St James in Santiago de Compostela as your example, discuss the role and impact of pilgrimage on church architecture.