The concept is that the template compiler calls a hook "template_region", which - if defined in a MOD - returns a template snippet for the given region (header, footer, postrow,...). These snippets are then injected into the template during compilation, allowing the edit-less adaption of template files.
Core Advantages
- Editless addition of template snippets
- Eases updates
- Makes MODs independent of styles
- Able to respect styles by means of injecting includes
- Little to no performance hit, as only called in template compile
- Not too hard to implement