Proposal: Refrain from using "DeadView", endorse an alternative

Very interesting point - I never thought about it that way…but if I do, things start making a lot more sense! I think you really nailed it with:

LiveViews are not called views for being a subset of views, but because it being a technology to make views live updating.

I scoured Elixiforum and Reddit to see what people were already calling it and this is some of what I found (names for non-live views):

  • Controller + Template
  • Stateless View
  • Client/Server
  • DeadView
  • View

The one that resonates the most with me of those is Stateless View. Reason being that it ties in nicely with the (well known?) fact that “HTTP is a stateless protocol”, so it kinda sets the expectation that this thing has a simple request/response cycle without any fancy icing on top.

I think the naming matters less the more accustomed you become to the ecosystem. I’ve been doing Phoenix for about 2-3 years now, so it doesn’t bother me any more. However, I do remember having big issues knowing what to google when I tried to figure out the difference between the two options, simply because people used all sorts of different terms for the non-live views.

2 Likes