HTMX with Clojure, is it any good? First impressions and thoughts!

  Рет қаралды 5,775

Andrey Fadeev

Andrey Fadeev

Күн бұрын

Пікірлер: 30
@jardindupresbytere4822
@jardindupresbytere4822 Ай бұрын
Thanks for taking the time to create this video
@andrey.fadeev
@andrey.fadeev Ай бұрын
Glad it was helpful!
@cswaroop2
@cswaroop2 Жыл бұрын
Thanks for introduction to HTMX with Clojure.
@andrey.fadeev
@andrey.fadeev Жыл бұрын
If you liked this video and want to support my channel, please consider buying me a coffee ☕. Your contribution helps me create more content like this. You can donate at: 👉 Ko-fi: ko-fi.com/andreyfadeev 👉 Buy Me a Coffee: www.buymeacoffee.com/andrey.fadeev I'm truly grateful for your support, and thank you for watching! 🙏 P.S. Forgot to mention, source code is in the public repository, all changes from this video are in this commit: github.com/andfadeev/real-world-clojure-api/commit/ebd247ffc442e0fabc208f17e7e759db474fa3b8
@wenchuan-lin
@wenchuan-lin Жыл бұрын
Andrey, Thank you for the video It is always a pleasure to watch a step by step coding session like this! Hoping to see more of this!
@andrey.fadeev
@andrey.fadeev Жыл бұрын
Hi, thanks for the comment 😊 I'm back from holidays next week and do more videos!
@brazenintellect364
@brazenintellect364 3 ай бұрын
Great video Andrey. I am really excited about HTMx but I am just equally (may be a bit more) for Electric Clojure. It would be super if you do similar video for Electric Clojure.
@andrey.fadeev
@andrey.fadeev 3 ай бұрын
Cheers! Yeah, I heard good things about Electric Clojure so need to try it myself at some point :)
@dhiamuhammad3569
@dhiamuhammad3569 Жыл бұрын
Hoping to see more of this, Andrey. Subscribed and Liked. From a frontend developer that despises React and big fan of Clojure hehe
@andrey.fadeev
@andrey.fadeev Жыл бұрын
Next video is planned to be about HTMX😉
@lifedrawing1
@lifedrawing1 Жыл бұрын
Thank you! Would love to see another episode using perhaps CTMX so that HTMX can call other HTMX snippets rather than only HTML. And also incorporating Tailwind.
@andrey.fadeev
@andrey.fadeev Жыл бұрын
Cheers mate! Yeah, will definitely do as I'm really into HTMX now :) CTMX is on my list to try as well, I decided to start simple first, to understand better how things are working and what additional value CTMX is adding. And Tailwind is my preferred way doing CSS, I don't event remember last time I've touched plain CSS :) I have a hobby project which I potentially will use to rewrite to HTMX, will see how it goes!
@dhiamuhammad3569
@dhiamuhammad3569 Жыл бұрын
This!!
@alexanderolshansky2411
@alexanderolshansky2411 9 ай бұрын
Thanks! Nice content!
@andrey.fadeev
@andrey.fadeev 9 ай бұрын
Thanks 🙌
@andrewlamichhane1090
@andrewlamichhane1090 Жыл бұрын
Html in clojure looks beautiful
@andrey.fadeev
@andrey.fadeev Жыл бұрын
yeah, to be fair Hiccup library is just one of the approaches to work with HTML in Clojure (but I think the most elegant and powerful), the other option is to use the Selmer library which has its own (Django-inspired) templating syntax, but I hate it :)
@KManAbout
@KManAbout Жыл бұрын
​@@andrey.fadeevwhat about enlive
@andrey.fadeev
@andrey.fadeev Жыл бұрын
@@KManAbout to me Hiccup is always a winner, I just like the simplicity that I can define HTML components as pure functions and use simple DSL to define HTML (and work with it as Clojure data). I can see a use case when a non-clojure developer is doing HTML templates and you need to serve it from Clojure backend - so maybe enlive, selmer is useful there - likely it's not my case :)
@KManAbout
@KManAbout Жыл бұрын
@andrey.fadeev I wouldn't really consider enlive as a dsl. It is basically hiccup with added functions of selecting html and few other functions.
@borisbeginin
@borisbeginin Жыл бұрын
Keep it up man!
@drewbird87
@drewbird87 Жыл бұрын
I can imagine similar interoperability with something like Alpine JS.
@andrey.fadeev
@andrey.fadeev Жыл бұрын
Yeah, I think AlpineJS will be a good addition if some pure client side logic is required 💯 and as it's also managed by HTML attributes it will be easy to configure in Hiccup code!
@thecimarron
@thecimarron 6 ай бұрын
uhhh what editor is he using?
@andrey.fadeev
@andrey.fadeev 6 ай бұрын
IntelliJ IDEA
@Septumsempra8818
@Septumsempra8818 Жыл бұрын
Htmx caching? I'm using partial templates rather than boosting. I'm getting so me weird behavior that needs a better understanding of caching. Is anyone comfortable with caching and the right workflow for production sites?
@andrey.fadeev
@andrey.fadeev Жыл бұрын
I'm not sure I fully understand the problem you have...
@Septumsempra8818
@Septumsempra8818 Жыл бұрын
If I load a partial, eg replace content in #main-container. If I leave the browser for a few hours, when I go back an unformatted page will be in the browser. When I reload it fixes itself. My suspicion is that when I leave the browser for a while, when I come back it loads the last loaded page which happens to be a partial.
@naranyala_dev
@naranyala_dev Жыл бұрын
tailwind tailwind tailwind
Searching in Shakespeare Sonnets with Clojure and HTMX
14:08
Andrey Fadeev
Рет қаралды 799
Clojure in production: what do we use in real-world services?
19:03
How to whistle ?? 😱😱
00:31
Tibo InShape
Рет қаралды 20 МЛН
the balloon deflated while it was flying #tiktok
00:19
Анастасия Тарасова
Рет қаралды 31 МЛН
The Truth About HTMX | Prime Reacts
49:56
ThePrimeTime
Рет қаралды 376 М.
Deep dive into Clojure HTTP Basics: Ring, Compojure, Jetty!
27:37
Andrey Fadeev
Рет қаралды 3,9 М.
ClojureScript reimagined - Michiel Borkent
57:35
Clojure Days
Рет қаралды 7 М.
EP63: Set up consul to use vault PKI
57:46
devcastops
Рет қаралды 8
HTMX - What they don't want you to know!
13:28
CoderOne
Рет қаралды 86 М.
ClojureScript loves React Native
33:57
CalvaTV
Рет қаралды 5 М.
A History of Clojure by Rich Hickey with Q&A
1:07:02
Visas Meilas
Рет қаралды 31 М.