Home › Forums › Back End › MVC Re-Org – need help with templating / views › Reply To: MVC Re-Org – need help with templating / views
September 16, 2014 at 2:30 pm
#183305
shaneisme
Participant
At this point in the project, my model consists mostly of SQL calls which accept parameters and variables from the controller.
The controller handles user inputs, sends them to the model and when it has what it needs it passes everything to the view. The view will return HTML given the parameters given to it by the controller.
First, I’m thinking about that correctly?
If that’s true, then setting it up as a view (and pulling reusable HTML templates) and then emailing that final HTML is basically the same thing, from what you’re saying, as outputting to a browser.
If all that sounds right, I know what I need to do!