> the (IMHO) outdated layout->view model for displaying HTML
What is the modern model that you do use? Phoenix is very flexible and I'm wondering if it could easily be added manually.
What is the modern model that you do use? Phoenix is very flexible and I'm wondering if it could easily be added manually.
That way you don't have layouts anymore, but (usually) a base template that an action view overloads with its own content.
I know Ruby on Rails doesn't work like that so I guess that's why it didn't take in Phoenix (yet?).