Models, middleware & philosophy / architecture

Hilarious… I’ve been using similar conventions I just came up with on my own…not from reading anything about design patterns, just what made good 'ol sense to me. I always had a class I called “utils” and it sounds a lot like your “traits” example.

I also keep multiple directories for views… I always had “page” and “elem” for partials!

I like your naming conventions… there’s nothing worse than seeing a bunch of files in tabs all with the same name!

So are all your Classes (models, controllers, middleware, etc…) passed to the container?

Just curious what IDE are you using? I’m using coda 2. Not sure if there’s any bells and whistles I can add to it to make slim dev more friendly.