Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End MVC Re-Org – need help with templating / views Reply To: MVC Re-Org – need help with templating / views

#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!