JTE: Spring Boot's New Templating Engine - Quick Start Guide

Поділитися
Вставка
  • Опубліковано 21 лис 2024

КОМЕНТАРІ • 71

  • @MehranGhamaty
    @MehranGhamaty Місяць тому +8

    JTE looks like one of the best templating tools I’ve seen!

  • @DBMizrahi
    @DBMizrahi Місяць тому +1

    That's a really great tool. Much more "java-friendly" than anything I’ve ever seen.

  • @zerocodercool
    @zerocodercool Місяць тому +13

    Excellent! I'd like to see more JTE + HTMX! Ant talk a bit more about security and session management.

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

      JTE and HTMX work just fine together!

  • @ngmehdi
    @ngmehdi 28 днів тому +2

    Ooh finaly we get something beautiful like Blade of Laravel in the Java world

    • @DanVega
      @DanVega  27 днів тому +1

      I'm loving it so far!

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

    How many headaches we're to forget with this new template engine, definitively will use it on further projects.

  • @FelipeFonseca-l2x
    @FelipeFonseca-l2x 26 днів тому

    Thank you for sharing, it was an awesome introduction!!!

  • @GreggBolinger
    @GreggBolinger Місяць тому +4

    Great video. I've never been a huge fan of Thymeleaf so I'm glad to see this as an option.

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

    JTE looks nice something I want to start using! Keep everything Java related!

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

    I am going to use it for my future projects. Great Dan

  • @rustinpeace7466
    @rustinpeace7466 Місяць тому +1

    Very interesting. I started learning Thymeleaf with Wim Deblauwe's books but this looks even simpler.

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

    JTE is modern. I am liking this.

  • @zaymaungmaungmyint8142
    @zaymaungmaungmyint8142 Місяць тому +8

    Hi Dan, could you explain more about the benefits of JTE over Thymeleaf templating engines?
    Because we've been using Thymeleaf in production for over 4 years. Should we change the templating engines or any use case for both?

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

      i have also one more question. why we use this kind of template engines? why not react or smth?

    • @NmMedina
      @NmMedina Місяць тому +3

      @@mertkaraman06 Depends, do you really need React or another JS library? If you add react on top of this, you will require a new set of skills that may be or not present in the team, also you will have to deal with more code, duplicating domain (front/back), adding more complexity to test both parts of the app, and a large etc. even if you are a small-dedicated java team why adding a new tech? There are many reasons why some projects don't do this. At the end, it's translated to money and time.

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

      @@NmMedina thanks

    • @Agagh
      @Agagh Місяць тому +1

      From what I’v read it’s faster since it’s compiled in .class (you can pre compile during build in dev environment) ,it’s type safe , more secure (against injections , xss, etc) …

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

      @@mertkaraman06 JTE or Template Engine are server side (Back End) templates. But React is client side (Front End) template. This means someone can hack your website or see your codes easily if you have client side template. Server side templates are more safety and protect your datas or you can use some codes easily if you want to hide something from clients.

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

    Thank you for the video. It's really great. Would it be possible to have a new one about JTE and Tailwind, please? I'm trying to adapt your previous Tailwind tutorial for Thymeleaf and this one together but for the love of me I can't get the Tailwind styles to show with the new JTE template. Thanks again.

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

    Looks interesting. Will definitely check it out!

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

    Thanks, Dan. The one item that stops me from going forward with JTE is the lack of layouts, thymeleaf has thymeleaf layouts that work like struts, layouts allow you to have a constant layout and bring in elements from other thymeleaf pages. Once this is in JTE I'll look a bit deeper. It will be nice to have a more official template engine if Spring will be maintaining it :)

  • @petritoivari
    @petritoivari Місяць тому +1

    JSP & ASP were the first things that came to my mind after seeing this. Next one was: is there a way to write unit test on this 🤔 Needs some study this thing.

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

    I'm excited about this new feature. But what turns me off is the need to keep adding @param to use the attributes from controller to jte. Imagine as the application might grow complex I can't imagine adding long list @param attribute atop.

  • @YounasPA-d8r
    @YounasPA-d8r Місяць тому

    Thanks for introducing JTE.
    Iam wondering about the relevance of server rendered pages in current tech world. We can choose independent FE frameworks to work with. Isnt it the better option?

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

    I love this syntax.

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

    @DanVega
    Thank you very much for the excellent video.
    I have a scenario where I would like to directly use the TemplateEngine.render to a StringOutput as I might use the JTE templates for generating some Java (or some other language) files content.
    Do you think JTE would be appropriate for this?

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

    Wow! Much more friendly than Thymeleaf! 😁

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

    In Thymeleaf you can create a form using a for loop. Would like to see a demo using jte. Also a demo of uploading and downloading CSV. Probably just being lazy, but it would resolve my last queries about using jte. Internationalisation can wait for now!

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

    I half believe because only advantages is not the full picture, it's not complete, it's not impartial. We are developers not salesman.
    Thanks by the video, thanks by the news.

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

    Thanks, its a good start point.

  • @khalildureidy
    @khalildureidy Місяць тому +1

    Thank you Dan!
    Does it support master templates, and fragments?
    Also, does it support JIT using GraalVM?

    • @007arek
      @007arek Місяць тому +1

      What I've read, it supports, but I'd like to see a tutorial about that.

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

    Can you also do a review of Quarkus Renarde ? It has built in support for htmx.

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

    Thanks for sharing ❤

  • @maximshaptala1177
    @maximshaptala1177 Місяць тому +1

    Is it Razor for java?

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

    Hi Dan. Thank you for this content.
    I tried to run the packed jar of the sample here and faced issue with JTE not founding the pre-compiled templates. By the way, what is the setup to do in order to run this as a self contained application (java -jar app.jar)?

  • @Nico-ly7lh
    @Nico-ly7lh Місяць тому

    Would be great if there where pre styled templates. Makes a lot of work to style those pages

  • @joachimdietl6737
    @joachimdietl6737 Місяць тому +1

    Looks promising

  • @dumildespaulofernando1242
    @dumildespaulofernando1242 Місяць тому +1

    Very interesting...

  • @sadiulhakim7814
    @sadiulhakim7814 Місяць тому +1

    HI, how can i create a reusable complement ? Ah found it.Using @template

  • @Anderson-bz7fm
    @Anderson-bz7fm Місяць тому

    a simple question about initializr. Why aws dependencies isn't there anymore?

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

    Hi Dan, please consider adding RSS feed to your newsletters. Thank you.

  • @sajibprime3
    @sajibprime3 Місяць тому +1

    Hey, what's with the light themed IDE? I'd use a dark theme even under direct sunlight . 6:08

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

      I do too when I’m coding but for presenting I find it easier to share.

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

      @@DanVega Could you please share the theme and font you were using, looks very clean. Thanks for the video.

  • @tschuehly
    @tschuehly Місяць тому +1

    🚀

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

    Does Spring Initializer also support JStachio?

  • @ShuvoInDeutschland-h8h
    @ShuvoInDeutschland-h8h Місяць тому

    Is it the best!!! same like Laravel's Blade templating engine.

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

    How does it compare to something like a jsp?

    • @DanVega
      @DanVega  Місяць тому +3

      I wouldn't use JSP unless you have to. If you're building a new application JSP shouldn't even be an option IMO

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

      @@DanVegaI’m stuck in legacy app hell 😢

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

    It's support htmx?

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

    looks like velocity just a bit easier to set up.

  • @ArtFanRamm
    @ArtFanRamm Місяць тому +1

    Back to JSP?

    • @Agagh
      @Agagh Місяць тому +1

      My remark exactly

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

    So from this very short intro, it is not unlike JSP??

  • @amardeep.sahota
    @amardeep.sahota Місяць тому

    Why is this giving me JSP and Struts vibes.

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

    Thymeleaf was so confusing
    i hope this one is better

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

      I believe this new one have simpler syntax then Thymeleaf th: tags were verbose in my opinion

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

    Feels like JSP

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

    Next step is to generate PDF file with JTE instead of using Thymeleaf.

  • @MaryGomez-u9q
    @MaryGomez-u9q Місяць тому

    Toy Brooks

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

    Seems completely bare bones as an intro. theres nothing that hooks you to use it. Or am i missing something? Whats the point of this lib? Why would anyone choose this over, vue or react...