ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

How to create async Django forms in 2 minutes (with Alpine.js) ⛰️

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.ค. 2023
  • Hi fellow Djangoers 🐎
    Here's a video showing you how to add async forms to a Django templates (no page reload) in 2 minutes. The guide uses Alpine.js to add minimal, neat javascript. 🏔️
    Here's my blog post, containing the code:
    www.photondesi...

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

  • @tochimclaren
    @tochimclaren 4 หลายเดือนก่อน +1

    Why is the view port jumping around with the mouse makes me dizzy.

    • @tomdekan
      @tomdekan  4 หลายเดือนก่อน

      Yeah - thanks Tochim. Lots of people have mentioned this. I’ve changed this for all my other videos

  • @luizetulio4888
    @luizetulio4888 11 หลายเดือนก่อน +1

    Hi Tom, nice video.
    Would you prefer alpine over HTMX for creating forms in Django, is there any significant difference in terms of flexibility and performance?

    • @tomdekan
      @tomdekan  10 หลายเดือนก่อน +2

      Thanks @luizetulio4888 ☺️
      On your question, I'd use Alpine for the form if it was particularly complex, involving many fields that depended on each other.
      HTMX would apply well most of the time, and HTMX is faster to start and easier to test than Alpine. There's no difference in performance, but Alpine is more flexible.
      I did a video on creating a form with HTMX (in 90 seconds this time): th-cam.com/video/z67XaHvYexY/w-d-xo.html
      In short, I'd recommend trying HTMX first.

  • @ahealthyfoodtip
    @ahealthyfoodtip 2 หลายเดือนก่อน +1

    You think Django still worth to learn?

    • @tomdekan
      @tomdekan  2 หลายเดือนก่อน

      Yes, though it always depends on what you want to do. What do you want to do?

    • @ahealthyfoodtip
      @ahealthyfoodtip 2 หลายเดือนก่อน +1

      @@tomdekan I want to use for small business they can have live data with charts and maybe ML models for inventory, plus integrate Google ads and Facebook ads.

    • @tomdekan
      @tomdekan  2 หลายเดือนก่อน

      Got it. Then yes - Django will be great for your use!

  • @mr_don_key
    @mr_don_key 3 หลายเดือนก่อน

    getting a bit dizzy with all that panning of the half zoomed in screen

    • @tomdekan
      @tomdekan  3 หลายเดือนก่อน +1

      Yeah - thanks for the feedback. Many others have said that as well. I’ve slowed down all my other videos 🙂

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

    thank

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

      You're welcome!