npacker / nFramework

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

Implement View layer #14

Open npacker opened 9 years ago

npacker commented 9 years ago

Move views out of controllers. Views will handle all presentational decisions, including the display of error messages. Views will handle multiple templates, determining which final template to output based on the caller/callee relationship.

There will need to be a way to pass error messages to the view when generated on actions from the controller. Possibly using ActionContexts or Domain Objects.

npacker commented 9 years ago

This is now a top priority as most other major features for milestone 2 are in place.

npacker commented 9 years ago

Will postpone to at least M3 as separate views are not essential to functionality.