Category:Approaches -> Header and Footer and Menu on every page
Overview:
... yet to be updated ...
Approach (brief):
Declare public variable $data in the constructor, then pass $this->data to views.
When adding information to views you just always add them to $this->data - great for one-controller applications or for data only needed in one controller,
Approach (in detail):
... yet to be updated ...
