HackerTrans
TopNewTrendsCommentsPastAskShowJobs

decross

no profile record

comments

decross
·3 ปีที่แล้ว·discuss
https://htmx.org
decross
·3 ปีที่แล้ว·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 ปีที่แล้ว·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 ปีที่แล้ว·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 ปีที่แล้ว·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 ปีที่แล้ว·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 ปีที่แล้ว·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 ปีที่แล้ว·discuss
And young people should get longer sentences? The younger, the longer?
decross
·3 ปีที่แล้ว·discuss
In Brazil it is common. The root is maybe that fat makes caffeine to spike less and last longer.
decross
·3 ปีที่แล้ว·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 ปีที่แล้ว·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 ปีที่แล้ว·discuss
just download it and serve it from your own site.
decross
·4 ปีที่แล้ว·discuss
but contrast that with the Herculean job that is learning angular, react or vue...
decross
·4 ปีที่แล้ว·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 ปีที่แล้ว·discuss
in a way, he's all of us
decross
·4 ปีที่แล้ว·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.
decross
·4 ปีที่แล้ว·discuss
Hmm. What about storage, delivery, returns, etc.? Quote from your source: "Now, I think they’ve underestimated the costs of shipping and warehousing books, and the tremendous cost of accepting returns (for full credit) of unsold books by bookstores — sometimes paying for return shipping, sometimes having the books simply destroyed, and other times selling them in bargain bins for a fraction of the cover price."
decross
·4 ปีที่แล้ว·discuss
Do you have a good source on that? I have been looking around for these kinds of costs and found nothing I could trust.