IanBrison / Bravel

My Original Framework
12 stars 0 forks source link

ViewModel? ViewSource? ViewReader? #21

Closed IanBrison closed 5 years ago

IanBrison commented 5 years ago

I don't want the view to handle the Model. We need something between them.

IanBrison commented 5 years ago

I don't want to write an include template statement in the template 🤔 Maybe something like a getContent() method from the object and then in the getContent() method, we can render by Injecting the View.

IanBrison commented 5 years ago

ViewModel at the moment