decross
Re:Tell HN: When I first read the Htmx website I thought its from 2005
on Thursday September 28, 2023 @01:08PM (#37692580)
Re:Tell HN: When I first read the Htmx website I thought its from 2005
on Thursday September 28, 2023 @10:09AM (#37689821)
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.
Re:Tell HN: When I first read the Htmx website I thought its from 2005
on Thursday September 28, 2023 @09:59AM (#37689697)
It definitely does not suit every single project (nothing does!).
This is nicely explained in: https://htmx.org/essays/when-to-use-hypermedia/
Re:Tips for Building SSR/HDA Applications
on Monday June 19, 2023 @10:52AM (#36391737)
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.
Re:Reddit 1.0 was written in Lisp
on Sunday June 18, 2023 @09:13PM (#36386190)
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.
Re:Tips for Building SSR/HDA Applications
on Wednesday June 14, 2023 @10:37PM (#36335772)
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?
Re:Htmx Is the Future
on Sunday May 07, 2023 @08:41PM (#35856945)
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
Re:If You Double-Park and You’re Rich, Should You Pay a Higher Fine?
on Thursday May 04, 2023 @06:53AM (#35813555)
And young people should get longer sentences? The younger, the longer?
Re:Kaffeost – “Coffee Cheese”
on Friday April 28, 2023 @02:37PM (#35745327)
In Brazil it is common.
The root is maybe that fat makes caffeine to spike less and last longer.
Re:How Paris Is Taking Back Its Streets from Cars
on Friday April 28, 2023 @01:02PM (#35744055)
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?
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.
just download it and serve it from your own site.
but contrast that with the Herculean job that is learning angular, react or vue...
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/
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.
Re:Ask HN: Where do you escape for non-clickbait thoughtful/informatio...
on Thursday October 20, 2022 @05:12PM (#33280782)
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."
Re:Ask HN: Where do you escape for non-clickbait thoughtful/informatio...
on Sunday October 16, 2022 @08:44AM (#33223159)
Do you have a good source on that? I have been looking around for these kinds of costs and found nothing I could trust.