Phoenix VS morphdom

Compare Phoenix vs morphdom and see what are their differences.

morphdom

Fast and lightweight DOM diffing/patching (no virtual DOM needed) (by patrick-steele-idem)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Phoenix morphdom
111 13
20,558 3,088
0.8% -
9.4 4.2
6 days ago 16 days ago
Elixir JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Phoenix

Posts with mentions or reviews of Phoenix. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-14.
  • Idempotent seeds in Elixir
    2 projects | dev.to | 14 Mar 2024
    A standard Phoenix app contains a priv/repo/seeds.exs script file, which populates a database when it is run, so that developers can work with a conveniently prepared environment.
  • Ask HN: Did you encounter any Leap Year bugs today? How bad was it?
    4 projects | news.ycombinator.com | 29 Feb 2024
    There was one in the Phoenix Framework (Elixir) about issuing certificates with an invalid end date: https://github.com/phoenixframework/phoenix/issues/5737

    Interestingly, Azure had this bug some years ago too leading to an outage. https://azure.microsoft.com/en-us/blog/summary-of-windows-az...

  • Aplicando MVVM en Phoenix LiveView
    4 projects | dev.to | 1 Feb 2024
    Official website: https://www.phoenixframework.org/
  • Things I like about Gleam's Syntax
    4 projects | news.ycombinator.com | 26 Oct 2023
    Since you mention Rails, have you seen https://www.phoenixframework.org/
  • Building Apps with Tauri and Elixir
    14 projects | dev.to | 19 Oct 2023
    Thus, we set out to build a desktop application using a LiveView from the Phoenix Framework in Elixir. For the uninitiated, a LiveView is a process that receives events, updates its state, and renders updates to a page as diffs. The LiveView programming model is declarative: instead of saying “once event X happens, change Y on the page”, events in LiveView are regular messages which may cause changes to its state.
  • Has anybody compared Phoenix Framwork vs. Blazor?
    1 project | /r/Blazor | 11 Oct 2023
    It seems though like Phoenix is similar like Blazor Server (using web socket), but Phoenix is: SEO friendly (first render is plain html) Light weight, scales well and concurrency is first class Easy to develop (runs a local server so you see live updates) Compiled With auth out of the box https://www.phoenixframework.org/
  • Ask HN: Why isn't Phoenix/Elixir more mainstream?
    4 projects | news.ycombinator.com | 29 Sep 2023
    Sorry to hear this. Phoenix v1.7 changed how it structures files in disk and that broke quite some of the getting started material. However, the guides are always kept up to date, so you can give it a try: https://hexdocs.pm/phoenix/overview.html

    You can also see the resources on this page listed by year: https://github.com/phoenixframework/phoenix/blob/main/guides... - the recent launched ones are most likely up to date.

  • Emoji Generator with AI
    2 projects | news.ycombinator.com | 8 Sep 2023
    Yes! I love Elixir :) [Phoenix LiveView](https://www.phoenixframework.org/) is really amazing. I feel so fast working in it. I got hooked after watching Chris McCord's ['Build a real-time Twitter clone in 15 minutes'](https://www.youtube.com/watch?v=MZvmYaFkNJI&embeds_referring...), and things have improved a lot since then.
  • Ask HN: What's the best modern back end?
    1 project | news.ycombinator.com | 28 Aug 2023
    I still work on a lot of Java projects. As of JDK 17 Java has most of "ML the good parts" and has the same scalable, reliable and high-performance threading Java is famous for. JAX-RS provides a Sinatra style framework that makes it easy to write JSON API back ends. JDK 21 is just about to come out as a long term supported version and it will be even better.

    I do my side projects in Python with aiohttp and think it is a lot of fun even though people tell me it is suicide (I guess if you block the thread you are in trouble)

    I think "Next.js" really wants a node.js backend which has the big advantage that you can share code with the front end and back end. It's basically single-threaded but I know people who are happy with it.

    The system I'd most like to try is

    https://www.phoenixframework.org/

    which is just great if you want to do stuff with websockets that is more interactive than what most people are doing.

  • Ask HN: Leetcode for Back End and Server Development
    4 projects | news.ycombinator.com | 11 Jul 2023

morphdom

Posts with mentions or reviews of morphdom. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-21.
  • HTML Streaming and DOM Diffing Algorithm
    8 projects | dev.to | 21 Feb 2024
    morphdom
  • The Ultimate Search for Rails - Episode 1
    8 projects | dev.to | 16 Jan 2023
    And sure enough, it works! So what's going on here? Well, clicking the link invokes our reflex, which gets executed right before our current controller action runs again. It allows us to execute any kind of server-side logic, as well as play with the DOM in various ways, but with ruby code. Then, the DOM gets morphed over the wire.
  • Build a JS Framework with 80 lines of Javascript
    2 projects | dev.to | 21 Dec 2022
    It's super simple actually. And that is in large part to (Morphdom)[https://github.com/patrick-steele-idem/morphdom] which I'm using to compare the output of render() to what is already on the DOM. Morphdom will patch the differences.
  • Using hotwired/turbo but patch the DOM vs Replacing
    3 projects | dev.to | 23 Nov 2022
    I'm using morphdom to patch our DOM. Its a very simple library that compares two DOM elements and updates only the differences. It is extremely performant and does not even use a Virtual DOM, just the DOM you already have!
  • Turbo 7.2: A guide to Custom Turbo Stream Actions
    4 projects | dev.to | 9 Oct 2022
    using HTML-diffing libraries like morphdom to efficiently update elements on the page
  • how do i morph an entire html document dom?
    1 project | /r/learnjavascript | 15 Feb 2022
    no it actually looks like morphdom is what i'm looking for.
  • ssceng demo: Hacker News Client
    2 projects | /r/golang | 6 Oct 2021
    It tries to morph into existing DOM (with https://github.com/patrick-steele-idem/morphdom). In case of fail, there is fallback to HTML replacement with outerHTML. All DOM operations after action occurs on component level, not the whole page.
  • Building a Live Search Experience with StimulusReflex and Ruby on Rails
    3 projects | dev.to | 28 Aug 2021
    Today, we’re going to build a live search experience once more. This time with StimulusReflex, a “new way to craft modern, reactive web interface with Ruby on Rails”. StimulusReflex relies on WebSockets to pass events from the browser to Rails, and back again, and uses morphdom to make efficient updates on the client-side.
  • Displaying Real-Time Data in Your Web Application Without Hassle: IHP Auto Refresh ✨
    1 project | dev.to | 14 Jul 2021
    Whenever the JavaScript on the browser-side receives new HTML, it will update the current page using a DOM-diff approach (using morphdom). So only DOM nodes that have actually changed between the initial page load and the updated HTML will be updated.
  • Why Virtual DOM is considered faster that directly updating the real DOM.
    3 projects | /r/reactjs | 10 Apr 2021
    Updating the DOM is not slow. In fact, there are libraries and frameworks that emphatically reject the virtual dom approach. morphdom is one such example of a DOM modification library. Svelte's author Rich Harris has been proclaiming for a while that virtual dom is an overhead (see e.g. this article). Google's lit-html and lit-element do much of what react does without the virtual dom.

What are some alternatives?

When comparing Phoenix and morphdom you can also consider the following projects:

Django - The Web framework for perfectionists with deadlines.

turbo - The speed of a single-page web application without having to write any JavaScript

sugar - Modular web framework for Elixir

hotwire-rails - Use Hotwire in your Ruby on Rails app

solid - A declarative, efficient, and flexible JavaScript library for building user interfaces. [Moved to: https://github.com/solidui/solid]

kitto - Kitto is a framework for interactive dashboards written in Elixir

intercooler-js - Making AJAX as easy as anchor tags

trot - An Elixir web micro-framework.

turbo - Incremental bundler and build system optimized for JavaScript and TypeScript, written in Rust – including Turbopack and Turborepo.

RIG - Create low-latency, interactive user experiences for stateless microservices.

htmx - </> htmx - high power tools for HTML