Need help?
<- Back

Comments (75)

  • snorremd
    I think HTMX is a great fit for forum software. Forum websites mostly deliver non-interactive content in the form of text and maybe some audio, video, or image content. All of this can be represented as HTML and CSS.With HTMX you can do partial rendering and live updates via server-sent events. This gets you most of the way to the "client side" feel where things load dynamically based on user actions.The only properly dynamic SPA-like feature in a forum I can think of is a WYSIWYG editor, but that you can build as a web component. Maybe a flexible highlight and quote system would be a bit difficult in pure HTMX (think of the comment functionality in Medium posts). So you'd want to build a few things in client side JS. But the main experience could very well be built with HTMX.
  • prologic
    I basically use HTMX for all my Web Apps, including PWA(s) that run as ~near native apps on iOS/Android. It's great! I aso pair this with DaisyUI+TailwindCSS. YOu really can't go wrong, there is something quite pleasant about writing your web apps in ordinary HTML with partials and the extensions that HTMX adds to the browser for SPA-like interactivity.
  • sgt
    Happy they did this. Htmx is a great fit for server rendering - which in many or most cases is what you should do in any case. You can always put a mini VueJS or ReactJS app inside of a template for a very custom interactivity.
  • n4pw01f
    Replace React / Vue with HTMX 2 years ago and still going strong.Hono + WebComponents + HTMX + serverless is the backend for my apps now.
  • hazrmard
    Using Django w/ frontend frameworks has been a struggle for me. (I only dabble as a hobbyist.) I think splitting the backend off into a restful API makes the marriage work. I've looked at django-rest-framework (https://www.django-rest-framework.org/) and django-ninja (https://django-ninja.dev/). Of course,, then you're discarding a lot of batteries that come with the django framework. Perhaps using Django templates for admin / internal facing work only, and React for customer-facing sites can be a healthy compromise?
  • anon
    undefined
  • thrownaway561
    This happened 3 years ago... wondering what makes it news worthy today?
  • anon
    undefined
  • Ralfp
  • anon
    undefined
  • ErroneousBosh
    See, one of the great things about FlaskBB is that it doesn't have React.js to begin with.But Misago sure does look good.
  • anon
    undefined
  • Kuyawa
    [dead]
  • fenestella
    [flagged]
  • wackget
    [dead]
  • leviyi
    [flagged]
  • anon
    undefined
  • mmmmbbbhb
    [flagged]
  • asdfsa32
    Great, now you can't offload your FE to a CDN.But on serious note, htmx is basically a solution in the search of a problem. It is the new hype.Or rather, a solution that overlooks 2 decades of learnings. Yes, for a small set of projects htmx is okay, but even then, where htmx is ideal, static is king, and once static is not good enough, htmx sooner or later starts to feel like the XAML and BPEL soap.The fundamental problem is that it is pretending to be a declarative language while entirely imperative.