Yes! HTMX is a better API on top of a XMLHttpRequest for this approach. A hypothetical next iteration of the HTML standard could make most of HTMX unnecessary. Maybe one day.
Usually we have a base template with a content block that a child template can extend. The extend keyword supports variables as well. So we can create a dummy base template, e.g. fragment_base.html, that contains only…
It's already supported with the client-side-templates extension [1]. HTMX can fetch JSON from the backend then calls e.g. nunjucks.render() with the data. [1]: https://htmx.org/extensions/client-side-templates/
Not at all, you can preload as many data as you wish and use vanilla or a companion JS framework like Alpine.js or HyperScript or any web-component to make the current page interactive without fetching the backend. It's…
HTMX is basically a JavaScript framework that makes the traditional request-response approach feels like an SPA via replacing only part(s) of the current page with the response. In this case: it loads a small form,…
Because they are actually two distinct views: one is a details view, the other one is a form view. HTMX loads the form view and replaces the respective part of the page. But it needs to contact the backend for the form,…
On the other hand this site also teaches the internet that eventually everything becomes a reaction-diffusion system/phase separating fluids [1]. [1]: https://www.karlsims.com/rd.html
HTMX helps you create an SPA-like experience without using a full SPA framework. You can utilize the full power of your favourite backend framework (e.g form validation, template-system, authorization, etc.) without…
Site bug report: on the pricing page the 'Use cases' and `Features` links in the footer are throwing errors in the browser console. I guess they are trying to jump to a specific section on the home page without going to…
Yes, Go templating is quite hard. There was a feature request[1] to implement the Django/Jinja2-like Pongo2 template engine[2], but got rejected because it would have been a too big change. [1]:…
You can combine HTMX with a SSG like Hugo and generate a bunch of partial HTML files that HTMX can load later on request. No server is required.
Joplin also have a few plugins [1], e.g. Obsidian-like graph plot of the notes [2,3], math mode [4], or tabs interface [5]. [1]: https://github.com/joplin/plugins/blob/master/README.md#plug... [2]:…
AFAIK the only one is Dramatiq [1] with dramatiq-pg [2]: a 3rd party message broker using Postgres LISTEN/NOTIFY. [1]: https://dramatiq.io/ [2]: https://gitlab.com/dalibo/dramatiq-pg/
> Refactoring shouldn't exist in this hypothetical game Without refactoring the factory planning phase would be more difficult since I don't want to fill the best places on the map with unmaintainable, non scalable…
Gitg. Similar to gitk but with a nicer GTK GUI.
Yes! HTMX is a better API on top of a XMLHttpRequest for this approach. A hypothetical next iteration of the HTML standard could make most of HTMX unnecessary. Maybe one day.
Usually we have a base template with a content block that a child template can extend. The extend keyword supports variables as well. So we can create a dummy base template, e.g. fragment_base.html, that contains only…
It's already supported with the client-side-templates extension [1]. HTMX can fetch JSON from the backend then calls e.g. nunjucks.render() with the data. [1]: https://htmx.org/extensions/client-side-templates/
Not at all, you can preload as many data as you wish and use vanilla or a companion JS framework like Alpine.js or HyperScript or any web-component to make the current page interactive without fetching the backend. It's…
HTMX is basically a JavaScript framework that makes the traditional request-response approach feels like an SPA via replacing only part(s) of the current page with the response. In this case: it loads a small form,…
Because they are actually two distinct views: one is a details view, the other one is a form view. HTMX loads the form view and replaces the respective part of the page. But it needs to contact the backend for the form,…
On the other hand this site also teaches the internet that eventually everything becomes a reaction-diffusion system/phase separating fluids [1]. [1]: https://www.karlsims.com/rd.html
HTMX helps you create an SPA-like experience without using a full SPA framework. You can utilize the full power of your favourite backend framework (e.g form validation, template-system, authorization, etc.) without…
Site bug report: on the pricing page the 'Use cases' and `Features` links in the footer are throwing errors in the browser console. I guess they are trying to jump to a specific section on the home page without going to…
Yes, Go templating is quite hard. There was a feature request[1] to implement the Django/Jinja2-like Pongo2 template engine[2], but got rejected because it would have been a too big change. [1]:…
You can combine HTMX with a SSG like Hugo and generate a bunch of partial HTML files that HTMX can load later on request. No server is required.
Joplin also have a few plugins [1], e.g. Obsidian-like graph plot of the notes [2,3], math mode [4], or tabs interface [5]. [1]: https://github.com/joplin/plugins/blob/master/README.md#plug... [2]:…
AFAIK the only one is Dramatiq [1] with dramatiq-pg [2]: a 3rd party message broker using Postgres LISTEN/NOTIFY. [1]: https://dramatiq.io/ [2]: https://gitlab.com/dalibo/dramatiq-pg/
> Refactoring shouldn't exist in this hypothetical game Without refactoring the factory planning phase would be more difficult since I don't want to fill the best places on the map with unmaintainable, non scalable…
Gitg. Similar to gitk but with a nicer GTK GUI.