https://htmx.org logo
Join Discord
Powered by
# htmx-general
  • g

    gorgeous-ghost-95789

    11/25/2020, 6:28 PM
    That makes sense. For global naval logistics, I'd guess that the boats don't move very quickly.
  • f

    future-boots-43048

    11/25/2020, 6:28 PM
    And in any case, it's all generated in a different process (or on a different machine) from the webserver and then just sent as text.
  • f

    future-boots-43048

    11/25/2020, 6:29 PM
    So the webserver itself only needs to read from memory (or from a database).
  • g

    gorgeous-ghost-95789

    11/25/2020, 6:29 PM
    In go, there is a built-in templating library (and several add-on alternatives) that make HTML generation a breeze. There are some performance bottlenecks if you really really care about speed, but it should be fast enough for my needs. Maybe a templating tool would give you one less mirror to look into?
  • m

    mysterious-toddler-20573

    11/25/2020, 6:30 PM
    @User this is both awesome and terrifying
  • f

    future-boots-43048

    11/25/2020, 6:30 PM
    lol
  • f

    future-boots-43048

    11/25/2020, 6:31 PM
    HTMX is the awesome bit, I think.
  • m

    mysterious-toddler-20573

    11/25/2020, 6:31 PM
    one idea that jumps out at me is centralizing your sse to a single URL and using some sort of pub/sub model for it?
  • f

    future-boots-43048

    11/25/2020, 6:31 PM
    Yeah. I think that's what I'm going to do.
  • m

    mysterious-toddler-20573

    11/25/2020, 6:31 PM
    but I have never written a system like this so wft do I know
  • f

    future-boots-43048

    11/25/2020, 6:31 PM
    Well ...
  • f

    future-boots-43048

    11/25/2020, 6:31 PM
    Neither have I.
  • f

    future-boots-43048

    11/25/2020, 6:31 PM
    😉
  • f

    future-boots-43048

    11/25/2020, 6:32 PM
    I guess there's a first time for everything, right?
  • f

    future-boots-43048

    11/25/2020, 6:32 PM
    Hahaha
  • f

    future-boots-43048

    11/25/2020, 6:32 PM
    Yeah.
  • f

    future-boots-43048

    11/25/2020, 6:32 PM
    That's just before they launch themselves off a cliff, right?
  • f

    future-boots-43048

    11/25/2020, 6:32 PM
    10/10 for accuracy.
  • f

    future-boots-43048

    11/25/2020, 6:33 PM
    Just add some wings to the car and we're golden.
  • f

    future-boots-43048

    11/25/2020, 6:34 PM
    Low prio. Workaround available.
  • m

    mysterious-toddler-20573

    11/25/2020, 6:36 PM
    should hyperscript be transpiled or interpreted
  • m

    mysterious-toddler-20573

    11/25/2020, 6:36 PM
    go
  • f

    future-boots-43048

    11/25/2020, 6:36 PM
    I'd kinda like to transpile something python-like into hyperscript ...
  • f

    future-boots-43048

    11/25/2020, 6:37 PM
    Eh ... then again maybe not.
  • g

    gorgeous-ghost-95789

    11/25/2020, 6:38 PM
    Since I don't believe execution speed is an issue (correct me if I'm wrong) I'd say -- go with whichever one gives you the smallest runtime and the easiest way to extend and grow the language in the future.
  • m

    mysterious-toddler-20573

    11/25/2020, 6:38 PM
    interpreted, for sure
  • m

    mysterious-toddler-20573

    11/25/2020, 6:38 PM
    you can do a lot of really cool stuff
  • g

    gorgeous-ghost-95789

    11/25/2020, 6:38 PM
    Download size is a real thing, and one reason that I love HTMX is its tiny download size.
  • m

    mysterious-toddler-20573

    11/25/2020, 6:39 PM
    htmx is pretty sweet, I have to say
  • g

    gorgeous-ghost-95789

    11/25/2020, 6:39 PM
    And, for a small project, flexibility and rapid iteration will also be a factor in making this a successful project.
1...787980...1146Latest