4 ms·
> 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 e
by spiderice 5y ago
> 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.
- conradfr 5y agoTemplate inheritance with blocks, as they do in Django or Symfony. 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?).