https://htmx.org logo
Join Discord
Powered by
# elixir-htmx
  • r

    refined-waiter-90422

    02/10/2022, 4:40 PM
    elixir**
  • r

    refined-waiter-90422

    02/10/2022, 4:41 PM
    (I don't use the framework, this is not an endorsement, but friend does)
  • m

    mysterious-toddler-20573

    02/10/2022, 4:54 PM
    pseudo-endorsement endorsed
  • c

    colossal-caravan-9184

    02/12/2022, 2:12 AM
    I ๐Ÿ’œ Elixir ๐Ÿ’œ๐Ÿงช
  • j

    jolly-kite-167

    08/06/2022, 1:46 AM
    my new server - https://discord.gg/family-main
  • g

    gentle-dream-18175

    08/25/2022, 4:07 PM
    I'm trying to get htmx more incrementally adopted at SmartLogic, an elixir consultancy
  • g

    gentle-dream-18175

    08/25/2022, 4:07 PM
    wish me luck! ๐Ÿ˜„
  • g

    gentle-dream-18175

    08/25/2022, 4:07 PM
    i just brought in hyperscript and am doing a lunch demo for them. the initial reactions to using it and the developers that are working on it is "holy shit."
  • m

    mysterious-toddler-20573

    08/25/2022, 5:17 PM
    HA
  • e

    eager-tiger-27508

    08/25/2022, 8:29 PM
    @gentle-dream-18175 That's awesome. How does Phoenix LiveWire compare to htmx? Are they similar? My assumption is that you can replicate a lot of the functionality of LiveView in htmx with Server sent events and websockets.
  • g

    gentle-dream-18175

    08/25/2022, 8:31 PM
    liveview is just more specific, more fully featured than htmx in the specific elixir controller world. i use htmx when i need some interactivity, and use liveview when i want the whole shebang
  • g

    gentle-dream-18175

    08/25/2022, 8:31 PM
    i just make that decision as a matter-of-degrees sort of thing
  • m

    mysterious-toddler-20573

    08/25/2022, 9:14 PM
    What is your LiveWire experience?
  • m

    mysterious-toddler-20573

    08/25/2022, 9:15 PM
    iirc, Caleb was saying that it relies on morphdom and morphdom can sometimes be a little janky
  • m

    mysterious-toddler-20573

    08/25/2022, 9:16 PM
    his comments were actually one of the reasons I'm starting to think about idiomorph: https://github.com/bigskysoftware/idiomorph/blob/main/README.md
  • m

    mysterious-toddler-20573

    08/25/2022, 9:16 PM
    to try to inform merges w/ some child information without blowing out perf
  • f

    fresh-garage-77924

    09/06/2022, 8:37 PM
    Are you a super villain? B/c it looks like you are trying to take over the world w/ htmx . --signed Mr Jealous.
  • m

    miniature-lizard-24702

    09/07/2022, 3:37 PM
    Time to make them billions
  • m

    mysterious-toddler-20573

    09/07/2022, 4:57 PM
    Sure, the software is BSD licensed, but we'll make it up on volume
  • g

    gentle-dream-18175

    09/14/2022, 2:36 AM
    To be honest, I'm leaning more towards LiveView as a primary driver than htmx, but they adhere to the same principles (for the most part) which means i don't feel as guilty for betraying htmx ๐Ÿ˜›
  • c

    clever-activity-24633

    12/29/2022, 8:27 PM
    Hey. Any minimal example for how to serve HTMX in a restful hypermedia-driven API with Elixir? Phoenix seems too bloated for me
  • e

    echoing-lion-55988

    12/29/2022, 10:01 PM
    i don't really know any example application written in elixir and htmx, but I would try searching some minimal http server written with plug and replace json response with some html
  • e

    echoing-lion-55988

    12/29/2022, 10:03 PM
    there are a lot of lang-htmx channels here, but for most of the langs out there there is the same approach: lang + some http server lib + some tempalting engine + htmx.js script
  • e

    echoing-lion-55988

    12/29/2022, 10:05 PM
    for minimal elixir htmx application, the stack would be following: elixir + EEx + Plug (with cowboy http server) + htmx.js
  • e

    echoing-lion-55988

    12/29/2022, 10:07 PM
    also interesting fact: otp is bundled together with mnesia nosql database, so you have storage option ootb
  • r

    ripe-manchester-46395

    04/17/2023, 6:02 PM
    I went searching for an HTMX package on hex, but found nothing: https://hex.pm/packages?search=htmx&sort=recent_downloads In that case, has anyone managed to integrate HTMX with Phoenix/LivewView?
  • r

    ripe-manchester-46395

    04/17/2023, 6:30 PM
    To be fair Phoenix is quite customizable: https://hexdocs.pm/phoenix/Mix.Tasks.Phx.New.html (see all the commands starting with
    --no
    ) You can also build your own:

    https://www.youtube.com/watch?v=Z0Z4wu4CPgQโ–พ

    ๐Ÿ˜„
  • n

    nutritious-florist-486

    05/26/2023, 6:26 PM
    can I serve htmx from a plain elixir http server?
  • g

    great-cartoon-12331

    05/26/2023, 8:11 PM
    you can serve htmx fragments from any http server, even an Nginx proxy
  • n

    nutritious-florist-486

    05/27/2023, 8:36 AM
    cool