Skip to content

Phoenix LiveView Compatibility ? #68

Closed

Description

@nelsonic

Chris McCord (creator of Phoenix) recently demoed an "in-development" feature called "LiveView":
https://dockyard.com/blog/2018/09/12/liveview-project-at-elixirconf-2018
image
https://youtu.be/Z2DU0qLfPIY (seriously, watch it!)

It has the potential to be game-changing in how Realtime Apps are built! 🚀
seriously, this will leave MetorJS for dust and make most ReactJS apps obsolete! (cc: @rub1e ... 😉)
However is still very much "pre-alpha" ... ⏳

As it comes from Chris, it will almost certainly gain instant adoption in the Elixir/Phoenix Community!
(beyond the fact the functionality is incredible, the "author effect" will play a huge role in traction!)

How can we Use it?

How can we proactively support it in our "new stack" #67 so that we can easily build realtime apps without writing any JS code! 😮

Note: I'm aware of the limitations (an internet connection is required for server-side re-rendering) so it won't be applicable to all of our apps, but it's perfect for building "Auth" (user registration, login & reset-password) which requires a connection by definition. Another awesome usecase is "Admin" where seeing data being updated/edited in real-time would be sick!

Question: Does this Replace autoform?

On the surface LiveView "overlaps" with autoform which automatically renders forms based on Ecto Schema. However as epic as LiveView looks, we are building autoform now (not sitting on our hands waiting for LiveView to be "stable" ...)

https://github.com/chrismccord doesn't have anything resembling "LiveView" in his recent GitHub history ... so it looks like it isn't available yet ... 🙄

I say we "keep an eye" on this and a soon as LiveView is in a useble state we investigate it.

Related to #67 (extending PETE for rapid prototyping standards-compliant beautiful apps!)

Activity

  1. added
    enhancementNew feature or enhancement of existing functionality
    help wantedIf you can help make progress with this issue, please comment!
    questionA question needs to be answered before progress can be made on this issue
    discussShare your constructive thoughts on how to make progress with this issue
    technicalA technical issue that requires understanding of the code, infrastructure or dependencies
    on Nov 9, 2018
  2. nelsonic commented on Nov 9, 2018

    @nelsonic
    MemberAuthor

    This ElixirForum thread is the best place to "watch" this:
    https://elixirforum.com/t/phoenix-liveview-info/16569

  3. SimonLab commented on Nov 10, 2018

    @SimonLab
    Member

    This looks great! I can see also how it can replace some Elm code.
    We could also see how to adapt autoform to be able to use it with LiveView

  4. nelsonic commented on Nov 13, 2018

    @nelsonic
    MemberAuthor

    @SimonLab I can see us using LiveView for all the "online" code
    and then enhancing our apps (PWAs) with Offline Capability wherever we need it.
    For "Admin" views where being online is essential it's going to be sweet! 🍭

  5. SimonLab commented on Nov 23, 2018

    @SimonLab
    Member
  6. SimonLab commented on Dec 12, 2018

    @SimonLab
    Member

    "Phoenix.LiveView: Interactive, Real-Time Apps. No Need to Write JavaScript."
    https://dockyard.com/blog/2018/12/12/phoenix-liveview-interactive-real-time-apps-no-need-to-write-javascript

  7. nelsonic commented on Dec 12, 2018

    @nelsonic
    MemberAuthor

    @SimonLab exciting! 🎉
    When this is released it's going to be amaze!

  8. nelsonic commented on Jun 4, 2022

    @nelsonic
    MemberAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussShare your constructive thoughts on how to make progress with this issueenhancementNew feature or enhancement of existing functionalityhelp wantedIf you can help make progress with this issue, please comment!questionA question needs to be answered before progress can be made on this issuetechnicalA technical issue that requires understanding of the code, infrastructure or dependencies

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions