Htmx Is Composable?
timkellogg.me
Htmx Is Composable?
1–10 of 69 posts
Re: Htmx Is Composable?
#2In .NET anyway, this was replaced by use an Inversion of Control container with configuration as code. Because it's more flexible if you need that. And if you don't, it's just a boring (in the good sense) list of e.g.:
services.AddTransient();
services.AddScoped();
services.AddSingleton();
// etc for many lines
This is definitely no worse than XML.
It's now as simple or as complicated as you want it to be. Using the same tools as the rest of the app code rather than a different syntax.
Re: Htmx Is Composable?
#3In terms of composability, react seems more composable to me. I can delegate the distributed and state aspect to something like redux / redux query, and fully concentrate on the composable component system. The added benefit is of course to separate backend and frontend concerns, which might or might not be to your like or useful within a certain project's scope.
Re: Htmx Is Composable?
#4If you had an interface, say ICard, and a few xaml data templates for how to render the concrete types, all you had to do was bind to a collection of ICards and it would automatically do what I guess we'd now call pattern matching on the concrete type of each element to render it without needing to mix the presentation with the plain old c# objects.
Re: Htmx Is Composable?
#5> Years ago, in .NET and Java, it was popular to use an Inversion of Control container with XML configuration that declared and configured different classes and objects. I think it largely went out of style because it’s complicated, or at least more complicated than it needed to be. In .NET anyway, this was replaced by use an Inversion of Control container with configuration as code. Because it's more flexible if you…
Re: Htmx Is Composable?
#6> Years ago, in .NET and Java, it was popular to use an Inversion of Control container with XML configuration that declared and configured different classes and objects. I think it largely went out of style because it’s complicated, or at least more complicated than it needed to be. In .NET anyway, this was replaced by use an Inversion of Control container with configuration as code. Because it's more flexible if you…
I also don't think it's out of style if you have a .Net monolith. It's already there; there's no need to include or install anything. So people use it. It's a little too much magic for my taste, but people like magic.
But it's the "config as a XML file" that is right out of style, in favour of config as code, for the reasons given.
Re: Htmx Is Composable?
#7Re: Htmx Is Composable?
#8Re: Htmx Is Composable?
#9The author of the article needs to read this https://youryoure.com/?its
Glass houses, and all that.
Re: Htmx Is Composable?
#10The author of the article needs to read this https://youryoure.com/?its