htmx VS Phoenix

Compare htmx vs Phoenix and see what are their differences.

htmx

</> htmx - high power tools for HTML (by bigskysoftware)

Phoenix

Peace of mind from prototype to production (by phoenixframework)
Our great sponsors
  • Scout APM - A developer's best friend. Try free for 14-days
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • SaaSHub - Software Alternatives and Reviews
htmx Phoenix
120 30
4,668 17,285
6.7% 1.1%
9.4 9.5
3 days ago 6 days ago
JavaScript Elixir
BSD 2-clause "Simplified" 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.

htmx

Posts with mentions or reviews of htmx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-16.
  • The JavaScript ecosystem is a hot mess and so is software development in general
    news.ycombinator.com | 2021-10-16
    I work on a dependency-free, build-less library called htmx:

    https://htmx.org

    It's more an extension of HTML than a JS library. It might be a good way to gently introduce more dynamic behavior without blowing out the complexity of your site.

  • Should I ditch using Django
    reddit.com/r/startups | 2021-10-16
    As an additional advice, I would check the Django subreddit and ask what are they doing for their front-end needs (e.g. check this one) -> you don't have to use JS for front-end (e.g. check htmx, unicorn, etc).
  • The Decline of Django
    news.ycombinator.com | 2021-10-15
    I think the case for server-side HTML rendering has never been stronger, and of all Django projects I work on, the ones I enjoy most are those that never got on the SPA bandwagon. From both a developer and user point of view I find them much faster and less painful. There are many cases where you really, really don't need the massive amount of extra complexity involved in designing APIs, adding JS frameworks etc.

    When you need a bit of extra UI goodness, [htmx](https://htmx.org/) is a fantastic solution, and you can still use SPA-type approaches for things that need them.

    You can also benefit from massively faster (and more reliable) functional testing when you are mostly standard HTML - see [django-functest](https://github.com/django-functest/django-functest/) for an example of this.

  • Has anyone written a small framework to support HTMX?
    reddit.com/r/golang | 2021-10-14
    See: https://htmx.org/
  • How Laravel Livewire works (a deep dive)
    news.ycombinator.com | 2021-10-12
    I recently started using htmx (https://htmx.org/) in combination with Django and have become a firm believer of sending HTML 'over the wire' instead of JSON structures that then get used client side.
  • I built a modern website in 2021
    news.ycombinator.com | 2021-10-10
    Curious - why aren’t simpler frameworks like htmx (https://htmx.org/) more common or
  • Ask HN: Why aren’t frameworks like htmx more popular?
    news.ycombinator.com | 2021-10-10
    shifting to htmx [1] or related “simpler” libraries?

    [1] https://htmx.org/

  • The Shocking Immaturity of JavaScript
    news.ycombinator.com | 2021-10-10
    Complexity and instability in the JS ecosystem is a hot button for me, so it's hard not to be drawn into vehement agreement.

    I've been doing a little work recently with htmx[0] and it's a breath of fresh air. But then, I'm at the point in my career where "cool new tech" is much less interesting for its own sake than it used to be when I was younger. I'm drawn for more to elegant, understandable, productive simplicity these days.

    I think that hints at the reason we have these endless debates - not just about JS but about $(your-favourite-tech). Software development is a socio-technical endeavour. We put all the focus on the technical part, and by comparison, rarely consider the social aspect.

    DHH is one of the few I've heard actually refer to this, on the corecursive podcast [1]. In discussing static typing vs dynamic, his point is the latter suits his brain. But that he understands and accepts static typing suits others, and that's fine.

    So I get that, for some, the JS ecosystem is dynamic and interesting; stimulating; exhilarating even. For others, it's an unstable quicksand that gets in the way of doing something useful.

    [0]: https://htmx.org/

    [1]: https://corecursive.com/045-david-heinemeier-hansson-softwar...

  • Action without refreshing the page?
    reddit.com/r/flask | 2021-10-04
  • Do you recommend learning Angular or React for the front end?
    reddit.com/r/java | 2021-10-02
    I have personally found a combination of htmx and Alpine.js to be very effective for my projects. Here's a demo project for using Spring Boot, Thymeleaf and htmx together. Here's a video on using Spring Boot w/htmx. That said, there is currently no job market for this kind of thing, although (crossed-fingers) that will change over the next few years.

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 2021-10-04.
  • Should I use Apache Kafka or gRPC to communicate between robot fleet and cloud?
    reddit.com/r/robotics | 2021-10-04
    One interesting idea could be using Elixir Nerves ... you could keep a low-energy websocket connection with the cloud alive (using Phoenix) that periodically kept a heartbeat and sent the lightweight data you needed. And you could keep the large data items local until you had a more stable connection.
  • Poslovi za srednjoskolce
  • Phoenix 1.6.0 Released
    news.ycombinator.com | 2021-09-25
    news.ycombinator.com | 2021-09-24
  • File Upload using Elixir, Phoenix, Absinthe and ExAws
    dev.to | 2021-09-24
    Official website: https://www.phoenixframework.org/
    dev.to | 2021-09-24
    Source: https://github.com/phoenixframework/phoenix
  • Creating a Phoenix application with asdf
    dev.to | 2021-09-20
    The easiest way to create a new Phoenix Framework application:
  • Frameworks of the Future?
    dev.to | 2021-07-21
    Today, most of that mess is just how you threaten children to behave, because everybody else now has their equivalent to Rails. C#/VB.NET's ASP.NET, Elixir's Phoenix, Go's Beego, PHP's Laravel, Haskell's IHP, Java's Jakarta EE, JavaScript's Express, and literally dozens of others now have effective parity with Rails.
  • mix phx.new using deprecated mix.config
    reddit.com/r/elixir | 2021-07-03
    pacman -S elixir elixir --version mix archive.install hex phx_new mix phx.new -v l ~/.mix/archives cd ~ mkdir elixir cd elixir mix phx.new mixconfigapp --no-webpack mix archive.uninstall phx_new cd ~/elixir git clone https://github.com/phoenixframework/phoenix cd phoenix/installer MIX_ENV=prod mix do archive.build, archive.install cd ~/elixir mix phx.new configapp --no-webpack
  • My Journey Into Elixir
    dev.to | 2021-06-03
    That's how the my journey began with Elixir. It has been a slow journey but currently I am learning the Phoenix framework for building web applications for a project I am planning to undertake.

What are some alternatives?

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

Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.

react-snap - 👻 Zero-configuration framework-agnostic static prerendering for SPAs

Turbolinks - Turbolinks makes navigating your web application faster

sugar - Modular web framework for Elixir

django-unicorn - The magical reactive component framework for Django ✨

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

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

svelte-query - Performant and powerful remote data synchronization for Svelte

trot - An Elixir web micro-framework.

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

phoenix_live_view - Rich, real-time user experiences with server-rendered HTML

budibase - Budibase is an open-source low code platform that helps you build internal tools in minutes 🚀