HackerTrans
TopNewTrendsCommentsPastAskShowJobs

decross

no profile record

comments

decross
·3 jaar geleden·discuss
https://htmx.org
decross
·3 jaar geleden·discuss
A right-click/View Source would allow you to reevaluate your initial impression due to the presence of elements introduced in HTML5 (released in 2008).

The fact that you can do that and not stare at a soup of minimized Javascript tells you a lot about htmx.

https://htmx.org/essays/right-click-view-source/
decross
·3 jaar geleden·discuss
It definitely does not suit every single project (nothing does!).

This is nicely explained in: https://htmx.org/essays/when-to-use-hypermedia/
decross
·3 jaar geleden·discuss
I really recommend reading the essays on https://htmx.org/essays/ They are well-written, opinionated, but not dogmatic. And the book on https://hypermedia.systems/ is a true gem.
decross
·3 jaar geleden·discuss
He meant that HTMX can work with a backend written in any language/framework. It doesn't constrain you to use any specific server-side tech.
decross
·3 jaar geleden·discuss
Why in the world would I want to split a team in two highly coupled halves that can't deliver any value by themselves? Division of labor? Seriously? Are we back to the 18th century?
decross
·3 jaar geleden·discuss
You can embed a "backend" as a service worker and use htmx to interact with it. A proof of concept here: https://github.com/richardanaya/wasm-service
decross
·3 jaar geleden·discuss
And young people should get longer sentences? The younger, the longer?
decross
·3 jaar geleden·discuss
In Brazil it is common. The root is maybe that fat makes caffeine to spike less and last longer.
decross
·3 jaar geleden·discuss
My hunch is that in the first picture there was at least one person inside each car and they seemed to be going to work. In the second picture, there are a lot less people and they are definitely not going to work. Are they getting rid of people and jobs?
decross
·4 jaar geleden·discuss
For me, it clicked immediately. It is a simple way to partial updates of the UI, without having to worry about a ton of tooling. It also pushes most of the logic to the backend, which is nice. It also constrains some of the UX decisions, leaving less room for useless craziness.
decross
·4 jaar geleden·discuss
just download it and serve it from your own site.
decross
·4 jaar geleden·discuss
but contrast that with the Herculean job that is learning angular, react or vue...
decross
·4 jaar geleden·discuss
the creator has already answered you, but I will add that there is an htmx extension called client-side-templates here: https://htmx.org/extensions/client-side-templates/
decross
·4 jaar geleden·discuss
in a way, he's all of us
decross
·4 jaar geleden·discuss
htmx is pretty agnostic with regard to the backend side of things. You can use anything you want, really. There are htmx extensions to Django and I am working on a similar one for Express. Basically, a very simple middleware to deal with custom request and response headers.