hmmm.
Actually not to sound stupid, but I’m unclear about them. I have no idea what a “trait” is and when i think “views” I’m thinking an html template (i.e.: twig, etc)
In your fantastic example (https://github.com/tflight/auth-example) *I was thinking of your phtml files in the “template” directory as views, but maybe I’m getting all this mixed up!
In your code example above when you:
return $this->view->render($response, ‘views/image/upload-success.html.twig’);
Is that basically one of your templates? So in your github example that would be stored in appRoot/templates ? But in this discussion you store these views in appRoot/src/Views ? Same thing i guess?
And do you have a modelController for everything just to keep consistency? So even if you’re grabbing all rows from a table which might be a couple of simple lines in total you’ll still create a modelController which then contacts the Model which in turn does the query?
btw…my coding never looked so clean… thanks again!