BartOtten
Proposal: Refrain from using "DeadView", endorse an alternative
I’d like to propose that we refrain from using the term "DeadView" as the opposite of “LiveView” and instead choose an alternative. A new name could shifts our focus from a negative or lifeless impression (as “dead” might imply) to a neutral one.
After debating a while, I came up with two alternatives.
1. —— not an option
2. FrozenView
“FrozenView” also references the capturing of state at a point in time in a solid piece. The benefit of this name is that it aligns with commonly used words to describe the action to transform from a solid state to fluid state.
unfreezea view (connecting the socket)freezea view (disconnecting the socket)
Although hydration doen’t seem to be on the roadmap afaik.
The impact on the existing eco-system.
Nihil. It’s a matter of endorsing the new name and as a result documentation will be adapted over time.
- Whether your suggestion is easily implemented or inline with the state of Phoenix as it is today.
Looking forward to hearing your thoughts on this!
Best,
Bart Otten
Most Liked
josevalim
FWIW, we don’t use the term “dead view” in the docs, nor we should. We just call them “Views” and “LiveViews”.
I am not sure additional terms are necessary, especially because LiveView ends up being the Controller + View in MVC, so it is more than a View anyway.
josevalim
To me the suggestions have the issue in that they ignore that the view could be made dynamic through other means. For example, the StaticView could be rendering a dynamic app via React or Ajax, so there is nothing static about it. That’s why I am ultimately happy with just calling it View or, informally, a regular View or if you want to be precise, a non-live View (it doesn’t mean it is dead, it is just that it is not a LiveView). I think adding a new word, at this point in time, will probably just cause more confusion. My two cents.
gregvaughn
For what it’s worth, I’m philosophically opposed to rewriting history, no matter what the intentions are behind it. But it’s your site and ultimately your call.
Popular in Proposals: Ideas
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #hex









