npacker / nFramework

A simple MVC framework in PHP.
1 stars 0 forks source link

Template injection #23

Open npacker opened 9 years ago

npacker commented 9 years ago

Provide the main template(s) that will be used in an Action in paths.json. The appropriate View class will be initialized with the template file loaded and injected into the appropriate Action. Thus, defaults for CSS and so on can be initialized in the view and be ready for modification in the Action.