htmx in 100 seconds

Поділитися
Вставка
  • Опубліковано 25 чер 2024
  • Learn the basics of htmx - an HTML-focused UI library that can handle data fetching and rendering in web applications without complex JavaScript code or frameworks.
    #webdevelopment #javascript #100SecondsOfCode
    💬 Chat with Me on Discord
    / discord
    🔗 Resources
    - htmx docs htmx.org
    - HTML in 100 seconds • HTML in 100 Seconds
    - Nuxt in 100 Seconds • Nuxt in 100 Seconds
    - Math for Programmers • 100+ JavaScript Concep...
    🔥 Get More Content - Upgrade to PRO
    Upgrade at fireship.io/pro
    Use code YT25 for 25% off PRO access
    🎨 My Editor Settings
    - Atom One Dark
    - vscode-icons
    - Fira Code Font
    🔖 Topics Covered
    - What is htmx?
    - htmx quickstart tutorial
    - Alpine.js vs htmx
    - Do I need a JavaScript framework?
    - What is AJAX in web development?
    - htmx boost vs Turbolinks
  • Наука та технологія

КОМЕНТАРІ • 2 тис.

  • @ThePrimeTimeagen
    @ThePrimeTimeagen 11 місяців тому +845

    i love htmx almost as much as i love you

    • @H3cJP
      @H3cJP 3 місяці тому +9

      awww

    • @mr.mirror1213
      @mr.mirror1213 3 місяці тому +4

      @@saviocri good introspection

    • @edoutside4315
      @edoutside4315 3 місяці тому +1

      bruh... 🤗

    • @fb-gu2er
      @fb-gu2er 2 місяці тому +4

      So gay

    • @ventacode
      @ventacode Місяць тому +2

      Does that mean you hate him ....

  • @henninghoefer
    @henninghoefer 11 місяців тому +2342

    As a backend dev, I think I would love this. No npm incantations. Great to quickly slap together an "admin UI" for backend parameters, custom monitoring etc.

    • @iy42
      @iy42 11 місяців тому +108

      Exactly what I use it for -- I've got tons of small dashboards in production using htmx

    • @heitorvrb
      @heitorvrb 11 місяців тому +259

      You'd think you'll love it until you realise you have to return HTML from your backend.

    • @dl0.0lb
      @dl0.0lb 11 місяців тому +49

      @@heitorvrb It doesn't seem like it would be to hard to hook into the HTMX events and use templates so you're only returning data.

    • @w01dnick
      @w01dnick 11 місяців тому +80

      @@heitorvrb and what is the problem with that? I'm not familiar to htmx, but with Ruby-on-Rails it's easy to return both html or json or anything else.

    • @yash1152
      @yash1152 11 місяців тому +24

      this thread & replies above are gold nuggets (:

  • @kodeypatterson8973
    @kodeypatterson8973 11 місяців тому +415

    HTMX is actually really fun to use and it’s a lot of functionality for less code than a JavaScript function

    • @cheeseburgersuperior1874
      @cheeseburgersuperior1874 11 місяців тому +2

      really? where can i learn about this htmx. does it work with php?

    • @kodeypatterson8973
      @kodeypatterson8973 11 місяців тому +3

      @@cheeseburgersuperior1874 I dont see why it wouldn't work. @bugbytes3923 is a good channel but he uses Django mostly. Same concept though.

    • @bluecup25
      @bluecup25 11 місяців тому +3

      for small / simple projects

    • @cheeseburgersuperior1874
      @cheeseburgersuperior1874 11 місяців тому +2

      @@bluecup25 for now, eventually it will surpass others. never underestimate, i say.

    • @kodeypatterson8973
      @kodeypatterson8973 11 місяців тому +2

      @@bluecup25 Yeah probably for smaller projects. Or even just to update some old apps to add a bit more fluidity to them. There is quite a bit of functionality already there that could replace a ton of JavaScript with a few simple HTMX tags in your html. HTMX is really good I wouldn't underestimate it just yet.

  • @ShaferHart
    @ShaferHart 11 місяців тому +69

    This series is great for keeping me up to date with the buzz words. I don't care to learn the tech most of the time but at least I'm not 100% lost when they happen to come up (97% of them never do lol).

  • @nickoates
    @nickoates 11 місяців тому +4535

    How does Fireship always manage to make a video on the exact topic I'm interested in at the time?

    • @ArthurKhazbs
      @ArthurKhazbs 11 місяців тому +47

      Totally relatable

    • @kafran
      @kafran 11 місяців тому +273

      He checks what’s hyped 😂

    • @ozgurg0
      @ozgurg0 11 місяців тому +15

      Are you Fireship?

    • @westsidethug45
      @westsidethug45 11 місяців тому +15

      AI

    • @plamenavramov2755
      @plamenavramov2755 11 місяців тому +15

      He took the red pill …

  • @jeffnikelson5824
    @jeffnikelson5824 11 місяців тому +4328

    I can imagine using this for minimalistic small project that don't require a lot of logic. but building a large enterprise solution with this looks insane

    • @darkbluewalther
      @darkbluewalther 11 місяців тому +277

      In theory this is absolutely possible, but what's currently lacking to me are developer tools. Debugging is complicated, especially when using framework like Django or Laravel that are not thought with htmx is mind.

    • @jocke8277
      @jocke8277 11 місяців тому +145

      Yeah, I've seen people talk about this a lot but it's looks underwhelming imo.. Like, why would I use this

    • @angeatgr
      @angeatgr 11 місяців тому +73

      It is not meant for that but mostly light web app that require a bit of UX improvement, for example Django framework is a very good combo.

    • @tomich20
      @tomich20 11 місяців тому +120

      Using php to render htmx ❤

    • @simplylizz1
      @simplylizz1 11 місяців тому +288

      On the other hand, building a large enterprise solution is always looks insane 😐

  • @MarcusTwichel
    @MarcusTwichel 11 місяців тому +273

    The maintainer of this project was my professor for a few years! So glad it’s getting the attention it deserves!
    Next do hyperscript - it’s from the same team and works a lot like htmx but you can do almost all JavaScripty things!

    • @vasiovasio
      @vasiovasio 11 місяців тому +12

      How small the world is it! 😊

    • @MrPoppshot
      @MrPoppshot 11 місяців тому +6

      Carson

  • @edwardteller7659
    @edwardteller7659 11 місяців тому +134

    Been using htmx and hyperscript for over a year now, after many years using javascript front-end based frameworks, and it is fantastic. We rewrote one of our React / Clojurescript apps completely resulting in a much simpler web app. Hypermedia design and architecture is great.

    • @saintpumpkin
      @saintpumpkin 11 місяців тому +15

      I, too, think that libraries like react and vue add complexity instead of making life easier.

    • @Abayake
      @Abayake 11 місяців тому

      Was the back-end in clojure? Htmx looks like it would work wonderfully with hiccup syntax
      Edit: oh that's actually exactly what Biff is now that I think about it 😝

    • @edwardteller7659
      @edwardteller7659 11 місяців тому +5

      @@Abayake Yes exactly. We don't use Biff; just java Clojure with Ring, hiccup, and htmx with some _hyperscript sprinkled in here and there where needed. We have a main function that starts Ring/Jetty directly. I love this so much more than cljs and React.

    • @GirishVenkatachalam
      @GirishVenkatachalam 3 місяці тому

      How many lines of code did you throw away?

    • @OT-tn7ci
      @OT-tn7ci 18 днів тому

      can you implement dynamic content loading easily when scrolling, or do dynamic auto complete when searching a list in a text box using this? Just checking how dynamic this tech is to see if its worth learning.

  • @n0xter95
    @n0xter95 11 місяців тому +196

    I can finally drop all my active projects and start a new one on HTMX until Fireship uploads something that'll make me drop the next project

    • @nonelelacele9300
      @nonelelacele9300 11 місяців тому +5

      🤣🤣🤣🤣

    • @yeikiu
      @yeikiu 11 місяців тому

      been there, done that

    • @andy-ally
      @andy-ally 11 місяців тому +5

      So true. Not sure if I should add it at the end of my list of 2589 new technologies to learn or I should swap it with something as it sounds quite revolutionary.

    • @n0xter95
      @n0xter95 11 місяців тому +2

      @@andy-ally i create a repo with something new to learn. Commit for 2/3 days
      Fireship uploads
      New repo, new stuff
      Redo

    • @webdevnoob
      @webdevnoob 11 місяців тому

      LOL but I doubt that because HTMX looks like a keeper.

  • @japarjarkynbyek8494
    @japarjarkynbyek8494 11 місяців тому +14

    It feels like we are getting back to the history were we started.

  • @Greedygoblingames
    @Greedygoblingames 11 місяців тому +7

    IMO this is the right direction of travel. HTML was never designed for the complex modern websites we have these days. Javascript and all the JS frameworks built over the years have merely been hacks to get the web to do what we want, while we should have really been redesigning HTML.

  • @StuartLoria
    @StuartLoria 10 місяців тому +6

    what I love about Fireship is that his content is not about ego or unjustified claims, he explain the reason behind his statements, no matter if they are positive or negative, very clear and instructional.
    Just saying “I don’t like this” is not useful without the rationale and the alternatives.

  • @darkbluewalther
    @darkbluewalther 11 місяців тому +426

    Note that htmx shines when used with hyperscript, to keep a "local behaviour" philosophy.

    • @depafrom5277
      @depafrom5277 11 місяців тому +11

      where else can one use hyperscript, do I really need to learn this strange "language"?

    • @TheWrapperup
      @TheWrapperup 11 місяців тому +19

      @@depafrom5277 No, you don't have to. htmx integrates well with vanilla JS, and web components also complement it really well too.

    • @switzerland
      @switzerland 11 місяців тому +7

      Pls do Hotwired and Turbo after htmx❤

    • @rashshawn779
      @rashshawn779 11 місяців тому +1

      ​@@TheWrapperupany tuts on integrating with webcomponents. Seems like a convenient way to add features to a webcomponent without hacking into the webcomponent itself.

    • @BosonCollider
      @BosonCollider 11 місяців тому +1

      Hyperscript is interesting but not interesting enough to be worth pulling in as a dependency imho. Just using the excellent alpine js integration is usually better

  • @spyllite
    @spyllite 11 місяців тому +584

    I love this 100 second series that isn't 100 seconds lol

    • @immcnabb
      @immcnabb 11 місяців тому +258

      It is supposed to be played at 1.5X

    • @rjk0128
      @rjk0128 11 місяців тому +35

      ​@@immcnabbunderrated comment

    • @gileneusz
      @gileneusz 11 місяців тому +41

      it's a feature not a bug

    • @zohayer.mehtab
      @zohayer.mehtab 11 місяців тому +6

      ​@@immcnabb I played it at 1.75x, does that count?

    • @juanmacias5922
      @juanmacias5922 11 місяців тому +2

      @@zohayer.mehtab 2x D:

  • @bryku
    @bryku 11 місяців тому +14

    I remember using a library for something like this 10 years ago.
    It was pretty nice for smaller webpages and stuff like that.

  • @tylerweirtube
    @tylerweirtube 5 місяців тому

    The cheekiness paired with the clarity of your videos is amazing.

  • @Xe054
    @Xe054 11 місяців тому +85

    JEFF, I loved your mini documentary, and I love your channel. Thanks for keeping us devs up to date with high quality information.

    • @theghosthuntergal
      @theghosthuntergal 11 місяців тому +1

      What mini documentary? 👀

    • @Xe054
      @Xe054 11 місяців тому

      @@theghosthuntergal ua-cam.com/video/XRoSBWYMefY/v-deo.html

    • @lokeshg9929
      @lokeshg9929 11 місяців тому +6

      @@theghosthuntergal Honeypot made a mini doc on him.

    • @theghosthuntergal
      @theghosthuntergal 11 місяців тому +4

      @@lokeshg9929 wow that was good .. would have never thought he’d be an introvert and laid back OR A DAD?!? :) Where are the dad jokes?! Thanks for the pointer!

    • @Honeypotio
      @Honeypotio 11 місяців тому +4

      💛

  • @sfermigier
    @sfermigier 11 місяців тому +6

    I've been using htmx for the last year on various projects and I plan to use it more in the future.

  • @sly86480
    @sly86480 11 місяців тому +2

    I waited a veeeeery long time to finally get this kind of simplicity and accessibility. Now I'll check under the hood if my expectations are good.

  • @nightshade427
    @nightshade427 11 місяців тому +27

    I've been using htmx/alpine/astro combo and it's great, very simple mental model and allows for some advanced patterns that other frameworks still can't do.

    • @JEsterCW
      @JEsterCW 11 місяців тому +5

      Htmx, alpine, astro, tailwind is my fav stack, the most enjoyable and fun one

    • @ukman1234g
      @ukman1234g 11 місяців тому +1

      With astro how do you send html fragments for updates ?

    • @JEsterCW
      @JEsterCW 11 місяців тому +1

      @@ukman1234g wtf u mean XD? it works the same way as it does for plain html, wth

    • @milkmanconspiracy4346
      @milkmanconspiracy4346 11 місяців тому +4

      What “advanced patterns” can it do that other frameworks cant?

    • @jameslay6505
      @jameslay6505 11 місяців тому

      ​@@JEsterCWyeah dude like wtf is up with that question right? Such bullshit. How dare that guy ask for clarification on a point of genuine curiosity. Fucking people these days man. **Sarcasm

  • @mohamedelomari6480
    @mohamedelomari6480 11 місяців тому +46

    Despite the lack of hype surrounding htmx on the Internet, my personal experience has shown that it simplifies and enhances the maintainability of all my clients' projects. Over time, I have found that utilizing htmx allows me to create isolated components, leading to increased productivity and faster project delivery compared to other frameworks.

    • @ra2enjoyer708
      @ra2enjoyer708 11 місяців тому +40

      Thanks for chatgpt3 response.

    • @davidmcdonnel4831
      @davidmcdonnel4831 11 місяців тому +7

      You like Huey Lewis and the News? Their early work was a little too new wave for my taste. But when Sports came out in '83, I think they really came into their own, commercially and artistically. The whole album has a clear, crisp sound, and a new sheen of consummate professionalism that really gives the songs a big boost. He's been compared to Elvis Costello, but I think Huey has a far more bitter, cynical sense of humor. In '87, Huey released this; Fore!, their most accomplished album. I think their undisputed masterpiece is "Hip To Be Square". A song so catchy, most people probably don't listen to the lyrics. But they should, because it's not just about the pleasures of conformity and the importance of trends. It's also a personal statement about the band itself.

    • @DEBO5
      @DEBO5 9 місяців тому

      How much faster is it than using React for a component based architecture?

  • @eduardomora9586
    @eduardomora9586 11 місяців тому +82

    Used this a lot for some MVC projects and it is amazing! It’s great for those that don’t want to adopt ir overhaul into a new UI framework like but add some reactivity. 10/10!

    • @biomorphic
      @biomorphic 11 місяців тому +4

      Yeah, for the rest you can use a template engine. I like it, I would use it.

    • @JEsterCW
      @JEsterCW 11 місяців тому +1

      Reactivity?😂 Bro

    • @OT-tn7ci
      @OT-tn7ci 18 днів тому

      @@JEsterCW ?

  • @DeathBySploot
    @DeathBySploot 11 місяців тому +1

    This is awesome. Fireship, you are awesome and quickly becoming one of my favorite channels!

  • @AIKilledTheInternet
    @AIKilledTheInternet 11 місяців тому +20

    Montano, no strike please!

    • @br-lemes
      @br-lemes 11 місяців тому

      ʕ •ᴥ•ʔ made in montana (isso está no rodapé da página do htmx)

  • @desireco
    @desireco 11 місяців тому +6

    Wonderful video, really good to be reminded of those smaller and lighter js solutions...

  • @shellcatt
    @shellcatt 11 місяців тому +7

    This is what I've been waiting for all my life, apparently!
    14kbs of generational wisdom.

  • @md.manzeralam6508
    @md.manzeralam6508 11 місяців тому +7

    I used it two months back to build a chat app with django, it was a great experience and its a very simple easy to use library. Nice video! good to see this the get some tractions

    • @hroman_codes
      @hroman_codes Місяць тому

      Hey did you also use DTL with HTMX for your chat app? Does it make sense to use both?

    • @md.manzeralam6508
      @md.manzeralam6508 Місяць тому

      @@hroman_codes if you are talking of django template language, yes I used it, it basically returns a templated chatbox component with content in the response

  • @pss_crs
    @pss_crs 11 місяців тому +2

    I doubt that fireship can read my mind, you always bring up the topic that interests me at the time

  • @angeatgr
    @angeatgr 11 місяців тому +185

    HTMX is very popular among Django developper, I tried it with Alpine and it is ok for light animation and dom manipulation, but quickly get out of hand.

    • @darkbluewalther
      @darkbluewalther 11 місяців тому +22

      Yes. It is because it's one of the single viable ways to have dynamic front-end without creating an API and a second project. However, there is no tooling and the global DX is meh. If Django team decided to include such a framework natively, it could be way better.

    • @undergrounder
      @undergrounder 11 місяців тому +9

      So you mean it’s prod ready? 😅

    • @user-yb4hd9wg6x
      @user-yb4hd9wg6x 11 місяців тому +5

      @@darkbluewalther there is django-htmx that helps. I also think it is a lot more useful than simply for having a more dynamic front-end. You can use it for cross project integration. Meaning, Project A can request an app(htmx view) from a completely different project and inject it into the other. To me, it seems like a great replacement for REST APIs.

    • @BeepBoop2221
      @BeepBoop2221 11 місяців тому +1

      Django needs to bail on this ASAP and just adopt something like Vue or svelte

    • @lucianoinso
      @lucianoinso 8 місяців тому

      Lol, just came to know it because of a meme, my curiosity arouse, and found this video, really liked how it looks, I'm also a Django developer and was thinking that it would be good for a small project in working on in which I don't want to implement a REST API and divide front and back, I've been avoiding Ajax calls for the moment and this looks perfect for maintaining the code clean.
      Funny that there are a lot of comments about Django people liking it, I guess we like simplicity and elegance, haha!

  • @mr-gear-360
    @mr-gear-360 11 місяців тому +36

    I used it in some of my Django projects and I love it. It's really good. I'll be more than happy to see htmx on beyond fireship.

    • @antiquark6253
      @antiquark6253 11 місяців тому +1

      Thx for mentioning his alt channel I had no idea there was one. Just subbed

    • @hroman_codes
      @hroman_codes Місяць тому

      Do you know if you can use Django DTL with HTMX?

  • @clintondavis3352
    @clintondavis3352 11 місяців тому +1

    I love it! I've been using it with all my Django projects, it's the best thing since templating.

  • @LuisEduardo-kc1mu
    @LuisEduardo-kc1mu 11 місяців тому +4

    Lucas Montano by Lucas Montano in his channel (Lucas Montano)

  • @willyosorto
    @willyosorto 11 місяців тому +98

    I’ve discovered more things on these 100 seconds videos than my entire time at the university 😂

    • @jessh4016
      @jessh4016 11 місяців тому +11

      Dang, that's sad.

    • @DrDiabolical000
      @DrDiabolical000 11 місяців тому

      ​@@jessh4016Jesus chill

    • @willyosorto
      @willyosorto 11 місяців тому +1

      @@alaala-op9hv 😅 is just sarcasm! Just joking.

    • @lavatr8322
      @lavatr8322 11 місяців тому +1

      Well My college teachers didn't even knew React and Svelte 4years back when i graduated.
      Even if they did , they didn't expose us students to new technologies and WHAT REALLY is going on in the market.
      my college years were terrible and I extremely regret attending that college...
      to this day I don't have a job and low confidence in myself, that i couldn't do shiet

    • @muhamadsarhad6566
      @muhamadsarhad6566 11 місяців тому

      it is my 3rd semester in college, we only just learnt about Java. I am planning to take a leave of absence to teach myself node and react ( I already taught myself HTML css and JavaScript )
      Yes college is a waste of time and money

  • @chrismantonuk
    @chrismantonuk 11 місяців тому +26

    This is the first time I’ve been excited about front end development in ages. Can’t wait to try it!

  • @AlainBoudard
    @AlainBoudard 9 місяців тому +2

    Awesome introduction ! Now let's see what we can build with that !

  • @funkynerd_com
    @funkynerd_com 11 місяців тому

    Thanks. I'll put this on the list of other frontend frameworks I have to learn thanks to this channel.

  • @MtthwBrwng
    @MtthwBrwng 11 місяців тому +40

    Could be very interesting when paired with Golang templating.

    • @fmitchell238a
      @fmitchell238a 11 місяців тому +2

      As the proprietor of a hugo-based blog I thought that almost immediately.

    • @enkiimuto1041
      @enkiimuto1041 9 місяців тому +1

      That was my first thought. Simple Go scripts returning the little data I want.

    • @akira_kei_
      @akira_kei_ 5 місяців тому +1

      This comment aged well

  • @deveshsingh7257
    @deveshsingh7257 11 місяців тому +5

    i seen your interview - loved it ❤

  • @frittex
    @frittex 11 місяців тому +1

    this is exactly what I needed in web development

  • @naumanarif21
    @naumanarif21 11 місяців тому +4

    Been using this since a year and helps with low to moderate js heavy websites. htmx + alpine are a great combination.

  • @scottbigbrain3944
    @scottbigbrain3944 11 місяців тому +73

    You know, this seems like a really freaking awesome way to do web dev for smaller projects. Everything can just happen on the backend without bloating the user, and it even seems like it would work fine with javascript filters on browsers.

    • @neptronix
      @neptronix 11 місяців тому +8

      Works even better on super large projects because you end up with ~90% less JS.

    • @DavidPesta
      @DavidPesta 7 місяців тому +3

      I just don't understand why people keep saying some new technology would be great for "smaller" projects when a large project is just a whole bunch of small projects put together. Is there really a technical problem? Or is it a matter of managing risk with the new technology?

  • @ofelipegv
    @ofelipegv 11 місяців тому +3

    Montano Fan Here, no strike please!
    Lucas Montano from the Lucas Montano Channel

  • @gavinlew8273
    @gavinlew8273 10 місяців тому

    Finally, have been waiting for years for something like that! Always hated dealing with HTML + JS or Vue / React compiles..

  • @mr-skorpion
    @mr-skorpion 11 місяців тому

    Loved the Honeypot documentary Jeff, much love to you man. Keep up the good work brotherrrr

  • @keenoogodlike
    @keenoogodlike 11 місяців тому +12

    Now HTML programmer will definitely got a job!!! I mean ... htmx.

    • @ake2311
      @ake2311 11 місяців тому

      😂

  • @scvnthorpe__
    @scvnthorpe__ 11 місяців тому +3

    I think this would pair nicely with a backend solution for building lil components programmatically. I tried making one of those and it was fun at the time but now I wanna see if I can integrate something like that with htmx...

  • @Strerium
    @Strerium 11 місяців тому +1

    Been waiting for this.

  • @farahrayis5928
    @farahrayis5928 11 місяців тому

    Wow! I didn't even know about this, would definitely give it a try. Thanks fireship.

  • @jeltehoekstra2952
    @jeltehoekstra2952 11 місяців тому +177

    Did a school project with this. Because we had to use an awful C# framework for web development, this library was a godsend. Works really well for small things

    • @sanampakuwal
      @sanampakuwal 11 місяців тому +44

      C# Awful? In which age you're living bro??

    • @nagarajansubramani
      @nagarajansubramani 11 місяців тому +20

      ​@@sanampakuwalHe's in the noob age

    • @dahahaka
      @dahahaka 11 місяців тому +1

      which framework?

    • @ZakKohler
      @ZakKohler 11 місяців тому +2

      Name the framework

    • @OzTheWizardOfPorn
      @OzTheWizardOfPorn 11 місяців тому +15

      Better not be Blazor

  • @k4m1kazep1lot4
    @k4m1kazep1lot4 11 місяців тому +3

    now i can peacefully say "HTML is my favourite Programming Language" without getting laughed at

    • @ra2enjoyer708
      @ra2enjoyer708 11 місяців тому

      I will personally laugh at you.

    • @TheNewton
      @TheNewton 11 місяців тому

      It is the worlds favorite programming language by lightyears just by pure usage.
      An entire industry is based on it to such a fundamental level there are other industries built on top of it that try to act like it's not a programming language.

  • @jamesmills4946
    @jamesmills4946 6 днів тому

    I really love htmx! It's such a breath of fresh air!

  • @necronyxon
    @necronyxon 9 місяців тому +9

    00:08 seeing the "hi mom!" now makes me sad :(

    • @generalezaknenou
      @generalezaknenou 4 місяці тому

      why ?

    • @victos-vertex
      @victos-vertex 4 місяці тому +4

      ​@@generalezaknenou He implemented the 'hi mom' instead of 'hello world' to greet his mother who, despite not knowing anything about the topic, watched all his videos.
      But sadly she passed away.

  • @DaraulHarris
    @DaraulHarris 11 місяців тому +19

    This sounds almost exactly like RoR's Hotwire/Turbo, which is fantastic. Excited to see what happens from here.

    • @chris-pee
      @chris-pee 11 місяців тому +15

      Yeah, it was inspired by Hotwire and Laravel's LiveWire, but more backend agnostic.

    • @vasiovasio
      @vasiovasio 11 місяців тому

      Yes, exactly the same concept.

    • @OverG88
      @OverG88 11 місяців тому

      @@chris-peeHotwire is also backend agnostic.

    • @chris-pee
      @chris-pee 11 місяців тому +1

      @@OverG88 yeah, but there's a bit more protocol to it, right? I mean it's annoying without a library to place those special tags.

    • @chris-pee
      @chris-pee 11 місяців тому

      @MatteoContrini true, I agree Unpoly is the better

  • @PatrickHoodDaniel
    @PatrickHoodDaniel 10 місяців тому

    Love it!!

  • @hiteshsachdev3649
    @hiteshsachdev3649 11 місяців тому +1

    You just learned a new topic. Realized you need to make notes for faster revision later on and then
    Ordinary people: Don't make notes at all or create notes in a text editor or something
    How Jeff does it: Makes a revision friendly high quality video for the same which is not at all boring like text notes so that he himself can revisit the subject and revise it faster but posts it on social media too and monetize on the same.
    But again It isn't as easy as I sound here. He does an amazing job and a lot of hard work goes for the same. Jeff is the best inspiration of how a person should Excel in their respective field be it anything not just limited to Computer Science/Software Engineering

  • @Rovsau
    @Rovsau 11 місяців тому +13

    I haven't done webdev in probably 15 years, and this is the first framework I've heard about that could make me consider getting back into it.
    Very interesting.

    • @adamruck
      @adamruck 26 днів тому

      Same, I've been out of the game for a while. This is just a polished version of DHTML or AJAX. Seems a lot better than the other junk the frontend people were doing recently.

  • @thiagobassguitarable
    @thiagobassguitarable 11 місяців тому +4

    Montano Fan Here, no strike please!

  • @jacknight4118
    @jacknight4118 11 місяців тому

    As a front end dev I loved it, I'll give it a try in few next days

  • @EldorJ10
    @EldorJ10 11 місяців тому +37

    We've gone full circle, but I love it,

    • @Bempus
      @Bempus 11 місяців тому +10

      The beauty of "going full circle" is that we end up with all the features we wanted, without the clutter.

    • @kamens793
      @kamens793 11 місяців тому +14

      @@Bempus Until we add more clutter again and repeat

    • @ra2enjoyer708
      @ra2enjoyer708 11 місяців тому

      There are quadrillion server template rendering languages, all are terrible in various ways and there will be more (and at least as terrible). What full circle are you talking about?

    • @TheNewton
      @TheNewton 11 місяців тому +3

      Full circle is using vanilla features: data-attributes,fetch, DOMParser, standard event attributes,etc.

  • @plagiats
    @plagiats 11 місяців тому

    As a hobbyist that would probably never use it by myself, I appreciate to know this exists and has a concise syntax so I can ask an LLM to spit some out if ever needed

  • @wackytheshaggy
    @wackytheshaggy 11 місяців тому

    For making good apps that do the stuff you need them to do, this is a great tool. Back to the old server side rendering + a bit of sparkles.

  • @randomnose1638
    @randomnose1638 11 місяців тому +4

    Coming from Lucas Montano Channel No Strike Pls

  • @eduardozepeda1972
    @eduardozepeda1972 11 місяців тому +67

    Finally HTMX deserved its own video, it has been gone unnoticed because of the react hype train. But now justice has been made for HTMX. I hope it becomes more popular over the years and it combines PERFECTLY with django, RoR and Go.

    • @ra2enjoyer708
      @ra2enjoyer708 11 місяців тому +8

      It's pretty cool of you to name 3 techs which don't know what DOM is.

    • @dickson710
      @dickson710 11 місяців тому

      and express

    • @vectoralphaAI
      @vectoralphaAI 6 місяців тому

      They dont need to.@@ra2enjoyer708

  • @finnalpha
    @finnalpha 11 місяців тому

    I've been waiting for this haha

  • @FirdausAziz
    @FirdausAziz 11 місяців тому +2

    No JS, no build tool/chain, Locality of Behaviour, can do anything with Django that previously needs SPA, less codebase, less probability for bugs. Team really loving HyperMedia approach. Spending more quality time with family since.

  • @rajat0610
    @rajat0610 11 місяців тому +4

    feels similar to Unpoly, which i think you should totally make a video on!

  • @Matheu_codes
    @Matheu_codes 11 місяців тому +4

    In a small project its good I think

  • @ShiloBuff
    @ShiloBuff 11 місяців тому

    This is really neat. I don't have the time or budget to learn yet another library, but still very neat.

  • @TheHungarygamer
    @TheHungarygamer 11 місяців тому +1

    this is kinda cool tbh, for smaller stuff this could be a time and headache saver

  • @GureYasmat
    @GureYasmat 11 місяців тому +4

    Montano esteve aqui

  • @Dominik-K
    @Dominik-K 11 місяців тому +2

    I'm super interesting in this project currently too, seems like a good tool for certain use cases

    • @depafrom5277
      @depafrom5277 11 місяців тому

      very limited, simple cases.

  • @ruffEdgz
    @ruffEdgz 11 місяців тому

    Love this channel. has great information plus I can laugh/cry about certain technologies :D

  • @donbalongi
    @donbalongi 10 місяців тому

    much cleaner code than using some js frameworks, I already use it in combination with alpine js and I really appreciate it, I didn't have to use some messy JS framework

  • @beinyourguard
    @beinyourguard 11 місяців тому +10

    I would love to see a tutorial about HTMX

  • @P3d3r0s0
    @P3d3r0s0 11 місяців тому

    This looks really cool, thank you.

  • @mattrs1
    @mattrs1 11 місяців тому

    Wooo i guess I'm doing the frontend of my project with this instead of learning react. Thank you

  • @TorAlstad
    @TorAlstad 11 місяців тому +17

    Back in the day, I think Drupal used a system sort of like this. But I think they called it "behaviors." Basically, it would parse the DOM, attach event listeners for the "behavior" (attributes) it saw, and then do stuff like make a request, swap out elements, append elements, etc... And you could make custom "behaviors". I worked with an engineer who also worked with Drupal and he basically integrated the same system into a custom app we were building. It got the job done.

    • @pesvids6673
      @pesvids6673 11 місяців тому +1

      I love drupal

    • @daedalus5070
      @daedalus5070 11 місяців тому +1

      Please never utter the word Drupal again lol

    • @pesvids6673
      @pesvids6673 11 місяців тому +1

      @@daedalus5070 Drupal ❤️

    • @Nekroido
      @Nekroido 11 місяців тому +1

      Yii had a similar feature too. By declaring a special mode a template will use AJAX requests to the backend controller that originally rendered it. Pagination, form validation and processing, this cute javascript magic under the hood allowed to never be bothered with frontend programming

    • @TorAlstad
      @TorAlstad 11 місяців тому

      @@Nekroido Oh yeah, I forgot Yii had that too. It had some great CRUD generation too. Always enjoyed that about Yii.

  • @repotranstech9614
    @repotranstech9614 11 місяців тому +3

    Htmx is down right simple.I have used it in large projects together with alpine and django.Its much doable for large projects.

  • @codyfingerson743
    @codyfingerson743 11 місяців тому +1

    My prof helped create HTMX!!! How cool it made it to Fireship!!!

  • @mr_c.i.c
    @mr_c.i.c 11 місяців тому +1

    I'm imagining you sitting on your new table recording and explaining things I don't understand yet but won't die without learning. You inspire me

  • @RonaldoHoch
    @RonaldoHoch 11 місяців тому +3

    Montano has send me!

  • @algerienoranais6908
    @algerienoranais6908 11 місяців тому +4

    This will be magic for me, looks like a nice tech; will try it for sure but from the get-go I think that it could be better (at least for me) if I had to return Json from my backend server instead of Htmx

    • @okolosarah4902
      @okolosarah4902 11 місяців тому +2

      you can 100% retun JSON from your backend rather than html to update data dynamically on the front end

    • @algerienoranais6908
      @algerienoranais6908 11 місяців тому +1

      @@okolosarah4902 Thanks for the info bro, now it looks seriously interesting👍

  • @TheBitenix
    @TheBitenix 11 місяців тому

    F*ing amazinly minimalist. Love it

  • @huzbum
    @huzbum 11 місяців тому

    Looks cool. Seems perfect for semi interactive pages.

  • @IntrinsicThinking
    @IntrinsicThinking 11 місяців тому +80

    Wow. Now add a Tailwind equivalent to pure HTML and we’re getting busy

    • @chris-pee
      @chris-pee 11 місяців тому +2

      I think you could call Alpine that. (Note that's it's pretty damn slow)

    • @biomorphic
      @biomorphic 11 місяців тому

      @@chris-pee What is slow, Alpine or htmx?

    • @chris-pee
      @chris-pee 11 місяців тому

      @@biomorphic Alpine. Htmx is pretty ok I think.

    • @iatheman
      @iatheman 11 місяців тому

      @@chris-pee How's Alpine slow?

    • @chris-pee
      @chris-pee 11 місяців тому +4

      @@iatheman what do you mean? I'm not sure how, maybe due to evaluating the code from a string. It's about 2 times slower than competition, and uses 3 times more memory.

  • @LofiWurld
    @LofiWurld 11 місяців тому

    That template is gonna look gnarly!

  • @ronaldpfidze7849
    @ronaldpfidze7849 11 місяців тому

    I don't even code but I love this channel, great content

  • @hjblom93
    @hjblom93 11 місяців тому +21

    It's confirmed, Go is Fireship's favourite programming language ❤

    • @vectoralphaAI
      @vectoralphaAI 11 місяців тому +2

      No.

    • @iatheman
      @iatheman 11 місяців тому

      He's a master in JS but we all know how much he "loves" it. But hey, it pays our bills so...

  • @MrSpeedfox
    @MrSpeedfox 11 місяців тому +5

    "server that returns html text"..... looks like PHP is back on the menu.

  • @noscreadur
    @noscreadur 11 місяців тому

    I love it, ideal for low proccesing sites. Take my money.

  • @orterves
    @orterves 11 місяців тому +2

    Looks cool
    "next" and "closest" look like great ways to spaghettifi the code though
    Gotta love how the great programming cycle is coming full circle once again.

  • @bravo1oh1
    @bravo1oh1 11 місяців тому +20

    As barely a programmer this looks awesome

  • @SamCris
    @SamCris 11 місяців тому

    I love this already! I'm switching to htmx

  • @uzzalhossain4876
    @uzzalhossain4876 11 місяців тому

    Finally. I am asking this video for long time

  • @LeonidasPedro
    @LeonidasPedro 11 місяців тому +4

    Lucas Montano from the Lucas Montano Channel

  • @fred.flintstone4099
    @fred.flintstone4099 11 місяців тому +5

    This reminds me of Microsoft's jQuery libraries jquery-unobtrusive-ajax and jquery-unobtrusive-validation which worked in a similar way with HTML5 data attributes.

    • @vasiovasio
      @vasiovasio 11 місяців тому

      Wow, I'm glad to see someone else remember them! HTMX is ideal for cases like this.

  • @bowiemtl
    @bowiemtl 11 місяців тому

    Cool library, I can immediately see the pros and cons of using it but what doesn't work for someone can be perfect for another.

  • @kelvinhtat
    @kelvinhtat 11 місяців тому

    Definitely Love It 🔥

  • @arthurfetzner26
    @arthurfetzner26 11 місяців тому +4

    montano, no strike please!

  • @nonstopper
    @nonstopper 11 місяців тому +4

    Wish you showed what you wrote actually working in the browser. Good overview overall though