So, you have most probably come across block files, xml files, .phtml files, etc... There is a rhyme and reason behind how these different files work together to produce a final result. But, understanding how these files relate may seem difficult. This tutorial explains how these files play together using real life examples to pound home how this works.