Many thanks, Will for this video. As you mentioned at the beginning of the video, they are some backend guys like me who do not want to maintain two code bases for the same (Business) functionalities. Definitely, I have to explore htmx.
@aejazmuslim21833 жыл бұрын
Lots of useful information complementary to the topic.
@laserlock64919 ай бұрын
Thanks for sharing! I also saw the talk from Wim de Blauwe here on KZbin and am now enthusiastic to try out Spring Boot in combination with HTMX.
@ChangeNode9 ай бұрын
Nice! Also Wim has a book which now covers both www.wimdeblauwe.com/books/modern-frontends-with-htmx/ also fyi there is a bundle w/related stuff
@harmonicseries6582 Жыл бұрын
Absolute legend! Thanks
@aza4842 жыл бұрын
Really appreciated this video, thanks. Very useful info, delivered articulately and calmly! Quick question I don't see already answered: which IntelliJ plugins are you using? There some different (ie better) syntax highlighting/differentiation going on for you than when I try the same, so I presume it's plugin-related...
@aza4842 жыл бұрын
also you're able to click through from the thymeleaf template return (e.g. "todo") straight to the html file, whereas mine doesn't know the declaration to go to...
@ChangeNode2 жыл бұрын
I have the bundled Thymeleaf plugin turned on. It's part of the paid (not free) version. www.jetbrains.com/help/idea/thymeleaf.html
@stephennewport922 жыл бұрын
I'm on the "done" side of more than a few SPA projects and I can tell you that maintining logic on the frontend and backend is far too painful for the benefit of SPAs ... and I've kind of forgotten what the benefits were ... hudreds of NPMs that need to be kept current. Ugh. The list goes on.... so thanks for this. Your repo and this video really got me started. One question: I will try Handlebars, Thymeleaf and j2html but can you recommend one approach that you might like over the others. I like the promise of j2html, but do you know of any walls we might hit with it + htmx? Is Thymeleaf our best option?
@ChangeNode2 жыл бұрын
If you want to stay fully in the Java/Spring Boot stack, IMHO Thymeleaf is the most well documented and popular. You will find a ton of resources, including some great stuff at www.wimdeblauwe.com/ including many more examples of how to use Thymeleaf w/HTMX.
@stephennewport922 жыл бұрын
@@ChangeNode Thanks! I had just purchased Wim's e-book on Taming Thymeleaf. I appreciate the guidance.
@ivanivanov76172 жыл бұрын
What is your opinion as a BE engineers can we build modern and beautiful top bars and side bars for example with SSR?
@wiverson2 жыл бұрын
Sure - just takes work. :)
@laserlock64919 ай бұрын
Looking at your github repo, is it correct there is no hot reloading? What is your workflow? Make changes and then restart the server manually? To enable refreshing I added the following to resources/application.yml: thymeleaf: cache: false prefix: file:src/main/resources/static/public/
@ChangeNode9 ай бұрын
IIRC I was basically getting close to hot-reload by just refreshing/touching in IntelliJ w/Spring Boot Dev Tools. That looks better. :)
@lts86832 жыл бұрын
Thanks. What is your opinion about mix htmx with Alpine JS?
@ChangeNode2 жыл бұрын
Works great! :) The two obvious choices for htmx pairings are hyperscript and AlpineJS.
@lts86832 жыл бұрын
I think importing JS and CSS libraries using CDN make the page faster in loading unlike using WebJars
@ChangeNode2 жыл бұрын
Totally, that's a whole front end convo that is kind of outside the scope of the focus of this one. Mostly I'm just showing WebJars as an option, but yeah, depending on what you are doing may or may not make sense. I think in 2022 if someone is really worried about that sort of thing I would push them to a more robust front-end option with modern front-end tooling. Hmm... that would make a good video, lol.