Lona

Dev tools

web framework

SHOW HN2021

Lona

Framework for responsive web apps in full Python without JS

lona-web.org

#python web framework#websockets#no javascript#server-driven ui

165points
80comments
#292of 2,533 in 2021
Top 12%of 2021 by points

How HN took it

MixedNo clear lean

8 positive, 11 neutral or asking, 1 mixed, 5 critical, out of 25 comments about the project. Thread score +0.07.

Idea: 5 for, 0 againstDocs: 1 for, 1 againstPerformance: 0 for, 2 againstExecution: 0 for, 1 againstDesign: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Interesting approach, similar to Dash, Hotwire and Phoenix

    From 3 comments
    • This is like Hotwire, https://hotwired.dev/ or Phoenix https://phoenixframework.org/ , but for Python
      otherflavors on HN
    • Awesome work! How would you say it compares with similar frameworks like Plotly Dash and Streamlit which attempt to accomplish the same thing?
      JPKab on HN
    • Personally I think Rails + Hotwire nailed this. I believe there's also a Django port of Stimulus but maybe not Hotwire.
      cutler on HN

Objections

  • Performance concerns from round-trips per interaction

    From 3 comments
    • I don't really understand the appeal. I guess if you're primarily a python programmer it's nice to be able to write the front and back in the same language; potentially sharing…
      allthetime on HN
    • This specialized protocol thing sounds like ASP.Net web forms all over again. Loved it for developing but performance usually s**ed balls
      worewood on HN
    • How well does this work in a high network lentency environment? If I understand correctly, it requires every user interaction to have a round-trip between client and server.
      maple3142 on HN
  • No online demo available

    From 2 comments
    • Do you have an online demo?
      hdjjhhvvhga on HN
    • Just to let you know a few people are still waiting for the demo. The project looks cool but we would like to see it work without having to download and install stuff. It may…
      hdjjhhvvhga on HN

Requests

  • Online demo

    From 3 comments
    • Do you have an online demo?
      hdjjhhvvhga on HN
    • +1, not in docs nor in github :(
      myky22 on HN
    • Just to let you know a few people are still waiting for the demo. The project looks cool but we would like to see it work without having to download and install stuff. It may…
      hdjjhhvvhga on HN

Questions

  • How does it compare with Plotly Dash and Streamlit

    From 2 comments
    • Awesome work! How would you say it compares with similar frameworks like Plotly Dash and Streamlit which attempt to accomplish the same thing?
      JPKab on HN
    • Ok, so you should definitely look at Plotly Dash and Streamlit. They are both frameworks that have essentially accomplished the same goal. Plotly Dash doesn't use websockets…
      JPKab on HN

Alternatives named

  • Plotly Dash

    From 2 comments
    • Ok, so you should definitely look at Plotly Dash and Streamlit. They are both frameworks that have essentially accomplished the same goal. Plotly Dash doesn't use websockets…
      JPKab on HN
    • Awesome work! How would you say it compares with similar frameworks like Plotly Dash and Streamlit which attempt to accomplish the same thing?
      JPKab on HN
  • Streamlit

    From 1 comment
    • Ok, so you should definitely look at Plotly Dash and Streamlit. They are both frameworks that have essentially accomplished the same goal. Plotly Dash doesn't use websockets…
      JPKab on HN
  • Hotwire

    From 1 comment
    • This is like Hotwire, https://hotwired.dev/ or Phoenix https://phoenixframework.org/ , but for Python
      otherflavors on HN
  • REMI

    From 1 comment
    • I'd like to point to the excellent REMI [1] library that provides similar capabilities to Lona. You can create web apps by only writing Python. They can also be executed as GUI…
      awesomebytes on HN
  • PyWebIO

    From 1 comment
    • Awesome work! I also developed a similar project called PyWebIO (https://github.com/pywebio/PyWebIO) last year. It provides less control to HTML element but provides a…
      Wang0618 on HN
  • Wt

    From 1 comment
    • This is what Wt[0] does, but for C++. You can write the whole web application in C++ without writing any Javascript. The homepage of Wt itself is written in Wt. And there is some…
      m33k44 on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/28128445)