Комментарии:
Awesome video! Loved how you show each piece in detail before moving onto the next piece.
ОтветитьNice tutorial. My only critique is to not parse templates per request, it should be done once on startup and then reused throughout.
Ответитьnice tutorial, is it.possible to return multiple template block and data? thanks
ОтветитьQuarkus + Qute + HTMX = 🩷 = Quarkus Renade
Ответитьhi, thnx! how about some two html-pages which use one template?
Ответитьawesome video! thank you so much. subscribed :)
ОтветитьCan you move the film-list-element into its own .HTML file and return that?
ОтветитьGreat introduction - you covered a lot of useful coding techniques in an easy to understand way :)
ОтветитьMOAR!
ОтветитьThank you, HTMX + GO is exactly what I'm looking for, keep 'em coming
Ответить+1
ОтветитьI appreciate that this video is aimed at beginners and is meant to be as simple as possible. However, I think there is a very large topic that was unaddressed particularly when you use ‘fmt.Sprintf’ to generate the html response interpolating user data from the client. I appreciate that the final product removed those lines but it would have been better to not use that code at all or have a massive banner disclaimer telling people NEVER to do that as it allows code injections and it’s extremely unsafe. I appreciate there was a brief mention earlier in the video but that’s not nearly enough. In particular beginners need to be extremely aware of this as it’s sadly still so common out there.
Having said that the video was great and I don’t mean to be overly critical or negative. I sincerely appreciate the contribution! And wish you best of luck!
This video is a master piece. I watched it a week ago with little knowledge of HTMX and no knowledge of GO templates. After learning more about the two subjects, I saw this video again and it is great! Thx a lot! Really good job!
Ответитьwhy the Hello world rendered twice for me ??
edit: i added an h2 and its also doubled
nvm i executed tmpl twice
This is exactly what I wanted to learn lately. Thanks! 😁
ОтветитьMORE GO!!!!!
ОтветитьSo there is a weird thing where you must start your struct fields with a capital letter or they wont work with the templates. Cant see anything in documentation about it but it just took my 3 hours to figure out why my templates wouldn't work.
Ответитьhullo wurld dinnae make us say it twice.
ОтветитьLoved it. Just started learning GoLang.
ОтветитьGo templates drive me absolutely berserk. They are fast and built-in and customizable. So tantalizing! But the API is mind-blowingly un-intuitive, and the documentation requires about 100 reads to grok. Template inheritance? In theory yes, in practice forget about it. You need your own super complex wrapper layer on top to implement it.
ОтветитьWhy is everyone afraid of JS?
Take Vue, it's simpler than this htmx crap and htmx is JS too, so wtf?
Why does it feel like I went back 10 years and watching Angular 1 tutorial. Thank you for the video anyway, it's really informative
Edit: This is very cool, much better that Angular 1 ;) thanks
learned a lot, thanks!
Ответить3 awesome things in this video. Golang, HTMX and the beautiful scottish accent
ОтветитьMore such Go tutorials appreciated. Also, group GO tutorials into a playlist like you've created for Python.
ОтветитьAmazing content man. Really looking forward to a bigger project tutorial of Go + HTMX, maybe with some ORMs and migrations? Thanks for your efforts!
ОтветитьIf I wanted to support a browser with no JavaScript enabled, what would be the standard solution? Should I use different endpoints for the form action and hx-post, or create if statements to check for an "hx-request" in the header before rendering the appropriate page? I tried the second option, but my handlers started to get messy.
ОтветитьBrilliant teaching at neck breaking speed! I love it
ОтветитьThank you for this
ОтветитьThis was so straightforward and easy to understand. Thank you!
Ответитьthis is very well explained, thank you. i love the simplicity of the whole system too
Ответитьgoth: go + tailwind + htmx
ОтветитьIs there any way to add support for code hinting in .html templates when working with Golang?
ОтветитьThis is a fantastic video, with a lot of great Go server and template stuff. You gave a great explanation of how HTMX works, e.g. with hx-target, and the template fragment looks to be something that will be really useful. I've subscribed to see more HTMX with Go. Thanks!
Ответитьbro cant you just close your camera while you show some code ? your picture there is huge, i cant see the code
ОтветитьVery interesting, but I can’t understand some sentences, like “to compell the go fail”.
ОтветитьThe template is parsed every time the h1 and h2 functions are called in this simple implementation. This can be avoided
ОтветитьGreat video, but I’m not a fan of bootstrap with HTMX. We’ve removed so much JS through the use of HTMX and now we add a ton back in with Bootstrap
ОтветитьLooks good, but how to secure POST request to server? CSRF or ? How to do this with HTMX-way?
ОтветитьI appreciate that you explained certain terms or concepts in relation to Django. It really helps put things in perspective. This is one of the most understandble Go video I've seen. Thank you. I hope to see more. Especially with something along Fiber + GORM. Because from my readings that are the nearest combination to Django.
Ответитьgreat tutorial, subscribed
ОтветитьThe Submit text for the button is not centered when the spinner is not there. How do you handle such issues
ОтветитьPlease more GOMX please! SUBBED FORE MORE GOMX!
ОтветитьWho calls S Print Sprint.
jesus
are the go docs just something that triggers me only?
ОтветитьGreat video!! Very concise and educational!! Exactly the level of detail I would pike to see in videos!
ОтветитьReact is DEAD now... :D
Ответить