HTMX saved template engines

แชร์
ฝัง

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

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

    I love this take. HTMX has been my "go to" lately since I do love Django / jinja style templates.

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

    I started creating web apps with Django, because it's amazing. Soon after I started looking at React and all those SPA which offered way more dynamic content, and started questioning my decisions. I learnt JavaScript, React... But I didn't quite like using Django just like an API and making all the front with JavaScript. HTMX came to save me, and now I feel like I can do whatever I need with Django + HTMX, plus the benefits of pre-rendered pages in SEO

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

      Sounds like you and I have a similar experience 👊
      For me, HTMX just came about 7 years too late haha

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

      @DennisIvy it's never too late! Hahaha

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

      to be fair, a lot of the javascript metaframeworks also prerender by default. i also like django a lot, but decided to go with nextjs for my most recent project. i feel like there is just more and better tooling {e.g. the ui component libraries} for building front end stuff in the javascript world.

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

      but in the end it doesnt really matter what you use to build it, as long as you are comfortable and can focus on shipping features :)

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

      @IamYouWeAreEveryone true! Easy components libraries and implementations is the last cool thing that I think Django's template system is lacking.

  • @johndoe-jl8jc
    @johndoe-jl8jc หลายเดือนก่อน +3

    Good to see you back, missed your content.

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

    I just picked up EJS template and it just works. I am using Deno / typescript although I am just learning both. So far I am liking HTMX

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

    I See Your Django Course At Traverey Media , It Was Great Experience Bro, Thanks For Making That Course.❤

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

    Greetings from Greece Dennis! Nice to see you back again! Happy new Year and please don't leave us again!

  • @GOTHICforLIFE1
    @GOTHICforLIFE1 หลายเดือนก่อน +6

    Template engines will never disappear. You're talking very much in the area of web development. But Jinja is very prominently in the networking world, and Go's template engine is still gonna stay in Kubernetes. Both are used more in the area of configuration, but that said it's still nice to use HTMX over JS any day of the week.

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

      Yea you are right, I’m definitely referring more to the web dev world.

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

    when we see frequently contents like in this way, motivate us

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

      👊

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

    thank dennis. I am glad that I'm getting notifications from you again :)

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

      ☺️

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

    EJS is back, baby! 🎉

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

      💪

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

    What is the difference between HTMX and Alpine? I see that in Laravel projects they are mostly using Alpine.

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

      Alpine is a Js framework use it for toggle interactivity htmx is for sending http requests without page refresh and Laravel mostly uses Livewire

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

    Java script by itself is a fulstack language it troubles me to learn python for backend only to end up learning java script which can do back and front end.
    If htmx has no community at all then they have me, at least me and the developer 😅

    • @maximofernandez196
      @maximofernandez196 6 วันที่ผ่านมา

      You should give htmx a try. Then you can learn any language (not hard at all) and use a framework (or, if it's golang, you don't need any) for the backend, and just use htmx for anything complex on the frontend. Templates really do their job.
      I don't think it has no community. as far as I know, there's a discord. And even then, the documentation is really good, cause it even covers common htmx patterns and such (funnily enough, you can literally do them on your own without ever reading those patterns, they just come naturally).

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

    Imo, the main problem with template engines is the lack of static type checking during dev and the ability to build components: JSX/TSX (server side) and Golang/Templ are great choices. What about other options ?

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

      You can most certainly build components with a template engine. I do this all the time.

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

    Ok, I'll give up the secret for you here - it's FastHTML - you can tank me later :) Happy new year!

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

    Django + HTMX course loading?

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

      Yes

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

    React : Are trying to take my job HTMX ?

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

    Awesome spas are too tedious

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

      Both have their place :)

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

    To much expensive

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

      How?

  • @BeattapeFactory
    @BeattapeFactory หลายเดือนก่อน +6

    IMO You are desecrating a corpse, Dennis. Templating engines are a thing of the past. One of the most powerful features of frontend JS frameworks is state management. htmx is OK for SMALL personal PROJECTS, but it wont allow you to do all sorts of things you can do with proper frontend frameworks. You'll end up writing JS anyway, and in the end it'll turn into an ugly hot-fix spaghetti code mess. The Django project should ditch the templating engine entirely and focus on its API, making it as JS friendly as possible. I would advise newbies from the start not to bother with the templating engine, forms etc and just use DRF or Ninja.

    • @rodrigo2112-
      @rodrigo2112- หลายเดือนก่อน +13

      It depends. If you want to build web systems to last (think Wikipedia) they should be true hypermedia based to be future proof. In 20 years all these React pages will be as dead as those Flash pages from 1998.

    • @carsongross8543
      @carsongross8543 หลายเดือนก่อน +7

      nah, hypermedia and using hypermedia as the engine of application state scales better than SPAs for many, maybe most, web applications

    • @slawikus1982
      @slawikus1982 หลายเดือนก่อน +9

      Totally disagree - this is the worst advice one can give to beginners

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

      Low iq take

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

      both have their place in the toolkit of a web developer IMO. i think we shouldnt so easily dismiss something if a lot of people like it. because there probably are reasons which you didnt consider or which you dont prioritize in your own work.