Intro to Hotwire, Unpoly, and HTMX

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ธ.ค. 2024

ความคิดเห็น • 26

  • @AGAU1022
    @AGAU1022 11 หลายเดือนก่อน +2

    Thanks, Gage. I'd love a bit more detail on why one might choose unpoly over htmx or vice versa, or even combine them.

  • @rafaelgoulart1085
    @rafaelgoulart1085 ปีที่แล้ว +1

    I absolutely loved it! I did not know Unpoly and HTMX, and they look amazing. Please continue to share these awesome libraries as you find them. Subscribed!

  • @clouis906
    @clouis906 2 ปีที่แล้ว +3

    Great video brother, seems like developers love to overengineer today, but it's nice that there's a simpler approach

    • @GagePeterson
      @GagePeterson  2 ปีที่แล้ว

      Yes there is for many projects ☺️

  • @SlainR2
    @SlainR2 3 ปีที่แล้ว +4

    it would be cool for the next videos you create a small project using Unpoly!
    btw, great video and content

    • @GagePeterson
      @GagePeterson  2 ปีที่แล้ว

      Thanks for the suggestion! I know, really want to commit to doing a new project now that Unpoly 2 is out 🙂👍

  • @lucas.n
    @lucas.n 3 ปีที่แล้ว +3

    it feels like we are back tô the future. it's interesting how tech is circular just like fashion

    • @GagePeterson
      @GagePeterson  3 ปีที่แล้ว

      Yeah it is that's for sure 😂. I just want to remember the past learn about the future and find the actually best thing. So easy to forget stuff for the new shiny.

  • @desireco
    @desireco 3 ปีที่แล้ว

    Solid post, thank you

  • @MagnusAnand
    @MagnusAnand 3 ปีที่แล้ว +3

    Do you have any preference? And why? Thanks. Cool video

    • @GagePeterson
      @GagePeterson  3 ปีที่แล้ว

      Hm... hard to say. I think I'm still in the deciding phase but I think unpoly is maybe my preference if it were a pure web project. Hotwire if it needed a mobile app, and HTMX for small stuff.

  • @kirantpatil123
    @kirantpatil123 3 ปีที่แล้ว

    Have you done any code on taxi booking app using action cable ?

    • @GagePeterson
      @GagePeterson  3 ปีที่แล้ว

      I haven't but I've used Phoenix Channels before, which is very similar.

  • @kirantpatil123
    @kirantpatil123 3 ปีที่แล้ว

    User should try to book a cab, then behind with action cable it should select nearest driver. Once selected That should show on user mobile the driver details.

    • @GagePeterson
      @GagePeterson  3 ปีที่แล้ว

      Sounds rather specific 😆. Am I being nerd sniped?

  • @kirantpatil123
    @kirantpatil123 3 ปีที่แล้ว

    Please share repo of your mobile app development with Turbo framework.

    • @GagePeterson
      @GagePeterson  3 ปีที่แล้ว

      My mobile apps are just some bearly modified versions of the examples. But I'll tell you how I did it! First go here:
      github.com/hotwired/turbo-ios
      github.com/hotwired/turbo-android
      I have basically no native experience but I started learning some Android
      First I just replaced the URL with my own app's (hosted on Heroku):
      - github.com/hotwired/turbo-android/search?q=glitch&type=code
      then I made one of my views into a modal by modifying this tiny JSON file:
      - github.com/hotwired/turbo-ios/blob/main/Demo/path-configuration.json#L13
      That's it! I've toyed with doing more, but I realized at this time that's kind of all I need for making the app viable for myself. Thanks for watching!

  • @discist85
    @discist85 2 ปีที่แล้ว

    live view : )

  • @Wzymedia
    @Wzymedia 2 ปีที่แล้ว +2

    The team behind Unpoly really, really needs to re-think their approach to documentation, because what ever that is that they're trying to pass off as developer documentations is not working.

    • @GagePeterson
      @GagePeterson  2 ปีที่แล้ว +2

      I think the documentation is really good once you've figured out that you want to use it. It's basically just API documentation and it is pretty comprehensive. I think What it really lacks is trying to sell you on what it is and help you understand high level ideas and methodology.

    • @Wzymedia
      @Wzymedia 2 ปีที่แล้ว +1

      @@GagePeterson I have never used HTMX before today -- I got it up and running in less than 1 hour. I got Stimulus up and running with multiple controllers on 1 page in less than a day. The same for Vue Lite.
      I am still trying to figure out Unpoly...

    • @GagePeterson
      @GagePeterson  2 ปีที่แล้ว

      @@Wzymedia Maybe start here and see if this makes more sense: triskweline.de/unpoly-rugb

    • @CatainaLopez
      @CatainaLopez 11 หลายเดือนก่อน

      ​@@GagePeterson I agree with you, the api based documentation is amazing

  • @vasiovasio
    @vasiovasio ปีที่แล้ว

    Gage, to called full page loading Ugly is ... Redicilus! 😂😂😂
    People, wake up and write Sites with Sites approach and technologies, backend technologies and for "web apps" if you Really need them because page reloads are... Ugly... make appointment to psychiatrist 😂😂😂

  • @h0ph1p13
    @h0ph1p13 2 ปีที่แล้ว +2

    For the time being
    - I have tried Turbo and decided not to use it in any project because it brings more problems than gains.
    - I have not tried Unpoly. Maybe I will spend more time in the future to figure it out.
    - I have tried Htmx and it worked quite awesomely well on a pet project of mine.
    ---
    I tried Turbo in the past...
    It's a cool idea but it doesn't speed things as much as I expected. Probably because it still fetches the whole page, not a specific part of it so the rendering the whole thing on the server took its toll.
    Another slight problem I had with Turbo is that it does not play well with other JS libraries (say you have a rich text editor like TinyMCE on your page.. it did not load (at all/correctly) when Turbo was "on" so I had to disable Turbo on pages like that cuz I did not have a few days to figure out why it breaks.
    Unpoly...
    looks interesting but they really fail to convey/sell the library. I look at the site. It looks like they wrote the docs for their own reminder, not for others to understand.
    Htmx...
    has a ton of videos that explain it in great detail and the ideas behind it. I really liked (here on youtube) "Simple, Fast Frontends With htmx" in channel "PyCharm by JetBrains" -- don't be afraid of the talk being in a python/django channel. It's 95% html examples and almost no python at all.