Spring Tips: HTMX

  Рет қаралды 15,298

SpringDeveloper

SpringDeveloper

Күн бұрын

Пікірлер: 28
@julesdeblauwe
@julesdeblauwe 4 ай бұрын
Gotta love Wim Deblauwe! Hes the best java coder i know!
@prdoyle
@prdoyle 4 ай бұрын
Timely! I just tried Spring+Thymeleaf+HTMX for the first time and I hadn't realized there was a Spring Boot HTMX package!
@roeniss
@roeniss 3 ай бұрын
demo starts: 07:03
@TC10394
@TC10394 2 ай бұрын
Looks like spring initializer now has htmx dependency. Is that now a prefer way to include in the template file. If so, how do you specify htmx library in the template file using the Springboot's version of htmx library?
@JavierFausLlopis
@JavierFausLlopis 4 ай бұрын
Great, simple, straight to the point tutorial.
@paulfx5019
@paulfx5019 4 ай бұрын
Hey Josh, many thanks for the slick demo, any chance you could glue all your recent demos on Authorisation Server, Cloud Gateway Server & Resource Server (MPA web server) together with Thymeleaf & HTMX, something a bit closer to real world scenario? As Thymeleaf and HTMX start to have a few CSRF issues...Cheers
@azmo_
@azmo_ 4 ай бұрын
Thank you very much! I'm also learning thmyeleaf and htmx currently. I just have one question: Why `th.attr="hx-delete=@{...}"` instead of `th:hx-delete="@{...}"`? Isn't the second one simpler? Or is there a reason?
@roeniss
@roeniss 3 ай бұрын
seems no obvious reason
@prdoyle
@prdoyle 4 ай бұрын
I've just been combining Thymeleaf and HTMX just by adding an attribute like th:hx-delete, rather than th:attribute. Seems to work.
@WimDeblauwe
@WimDeblauwe 4 ай бұрын
That works indeed. When you use htmx-spring-boot library, you can also use `hx:delete`.
@valdemarjuniorr
@valdemarjuniorr 2 ай бұрын
Does anyone make it works using Native Images?
@hamednikbakht9708
@hamednikbakht9708 4 ай бұрын
hi. how use REST API with HTMX response JSON not use model or view
@FINALLYQQQQAVAILABLE
@FINALLYQQQQAVAILABLE 2 ай бұрын
HTMX is does not operate on JSON APIs. The server should return HTML. A proper REST API in the original sense should be hypertext-driven anyway. When using HTMX you should use HTML as the hypertext format.
@PlasmaSnake369
@PlasmaSnake369 4 ай бұрын
If you're using htmx why not use something simpler than thymeleaf like mustache?
@martindzeble
@martindzeble 4 ай бұрын
First to comment, Nice to hear you mentioned thymeleaf
@AsifAgaria
@AsifAgaria 4 ай бұрын
which IDE you use
@melveryshop9852
@melveryshop9852 4 ай бұрын
Intellij Idea, new UI
@maverickv3517
@maverickv3517 4 ай бұрын
How would you deploy such an app? I tried Spring Boot and HTMX for a little side gig but JVM start up time ~7 seconds is just not viable. I tried Spring Native but I ran into some weird issues.
@hba6018
@hba6018 4 ай бұрын
Quarkus + HTMX = ❤
@TheExcentro
@TheExcentro 4 ай бұрын
Thanks a lot!
@kamalhm-dev
@kamalhm-dev 4 ай бұрын
skip the ai generated thumbnail it’s off putting
@ChrisB_Crisps
@ChrisB_Crisps 4 ай бұрын
I like it, take a look at the playlist thumbnails
@muslehhaj4164
@muslehhaj4164 2 ай бұрын
is HTMX new ?? I mean i tried to find a couse in udemy that talks about Spring boot + HTMX but I couldn't find !! ... it seems cool add-on thymeleaf but not sure if good choice to do real projects !
@dmitrik4610
@dmitrik4610 4 ай бұрын
how to add csrf to request?
@terteseamos579
@terteseamos579 4 ай бұрын
Please @Josh can you do a video on how Spring boot handle multiple request at the same time
@sadiulhakim7814
@sadiulhakim7814 4 ай бұрын
what is your first favorite place on internet?
@zhilindeng
@zhilindeng 4 ай бұрын
JavaScript is a programming language, while HTMX is more of a structural DSL. The goal of any structural DSL is to simplify the complexity that comes with using a full-fledged programming language. But there's a catch: they can't cover every possible scenario. So, in the end, if you want to handle everything, you still need to learn a programming language. Take SQL as another example. It's a structural DSL that makes querying data from a database easier. But we soon realize that not every situation can be solved with just a single SQL statement. That's why databases have built-in stored procedures to handle more complex logic. Of course, developers also have the option to implement that logic in other programming languages instead of using stored procedures.
@FINALLYQQQQAVAILABLE
@FINALLYQQQQAVAILABLE 2 ай бұрын
Yes. HTMX works with practically any programming language and libraries which enable writing server side applications. And you can add more Javascript to the frontend should you wish to do so.
Spring Office Hours S3E30 - Java 23 Release Party
1:12:49
SpringDeveloper
Рет қаралды 2,1 М.
Spring Office Hours: S3E28 - SpringOne at Explore 2024 Preview
1:04:54
SpringDeveloper
Рет қаралды 1,2 М.
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Spring Tips: Proxies
27:18
SpringDeveloper
Рет қаралды 13 М.
Spring Tips: Spring's Application Event Subsystem
20:23
SpringDeveloper
Рет қаралды 16 М.
Spring Tips: Virtual Threads
50:31
SpringDeveloper
Рет қаралды 16 М.
Spring Tips: Spring Modulith
37:39
SpringDeveloper
Рет қаралды 31 М.
Spring Tips: Spring Data JDBC
27:36
SpringDeveloper
Рет қаралды 23 М.
Spring Tips: The Spring Authorization Server
22:21
SpringDeveloper
Рет қаралды 20 М.
Spring Tips: Data Oriented Programming in Java 21+
18:50
SpringDeveloper
Рет қаралды 13 М.
Spring Tips: Spring AI
22:48
SpringDeveloper
Рет қаралды 65 М.
Spring Tips: Useful Annotation Processors
25:51
SpringDeveloper
Рет қаралды 11 М.
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН