What happens when a browser sends a request to retrieve content from a Silverstripe web site?
Specifically I want to know what controls what files are accessed under the mysite, themes and modules folders where module folders contain modules created by a user.
I am asking this question because I would like to write my own modules and I do not know how to in a way which totally segragates the code into the module.
I have read http://doc.silverstripe.org/framework/en/2.4/topics/module-development which I assume is a very brief summary which is supposed to direct readers to more detailed relevant information. However, unless I am missing something big time, it fails miserably.
I have painstakingly gone through the tutorials and spent much time going through the books based on Versions 2.3 and 2.4. I am not looking for indepth details. I just want to have a basic idea of what controls which files are accessed to help me write well segregated, modular code.
If no-one can help me tomorrow I plan to see if I can take the code apart starting with sapphire/main.php to see if I can suss out what happens when a request is received.
PS. Just before I submitted this post I sent the following documents to my printer and read them. Unfortunately I still do not have a clear understanding of how things work.
http://doc.silverstripe.org/framework/en/2.4/reference/execution-pipeline
http://doc.silverstripe.org/framework/en/2.4/reference/advanced-templates
Have I now exhausted where to look or have I overlooked a source?