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 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.
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) …
@@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.
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.
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 :)
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.
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.
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?
@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?
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!
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.
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)?
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...
JTE looks like one of the best templating tools I’ve seen!
That's a really great tool. Much more "java-friendly" than anything I’ve ever seen.
Excellent! I'd like to see more JTE + HTMX! Ant talk a bit more about security and session management.
JTE and HTMX work just fine together!
Ooh finaly we get something beautiful like Blade of Laravel in the Java world
I'm loving it so far!
How many headaches we're to forget with this new template engine, definitively will use it on further projects.
Thank you for sharing, it was an awesome introduction!!!
Great video. I've never been a huge fan of Thymeleaf so I'm glad to see this as an option.
JTE looks nice something I want to start using! Keep everything Java related!
I am going to use it for my future projects. Great Dan
Very interesting. I started learning Thymeleaf with Wim Deblauwe's books but this looks even simpler.
JTE is modern. I am liking this.
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?
i have also one more question. why we use this kind of template engines? why not react or smth?
@@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.
@@NmMedina thanks
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) …
@@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.
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.
Looks interesting. Will definitely check it out!
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 :)
it has
JTE has layouts. Check out the documentation
@@DanVega I'll take a look, thanks!
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.
unit testing views ??
I was thinking the same.
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.
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?
I love this syntax.
@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?
Wow! Much more friendly than Thymeleaf! 😁
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!
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.
Thanks, its a good start point.
Thank you Dan!
Does it support master templates, and fragments?
Also, does it support JIT using GraalVM?
What I've read, it supports, but I'd like to see a tutorial about that.
Can you also do a review of Quarkus Renarde ? It has built in support for htmx.
Thanks for sharing ❤
Is it Razor for java?
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)?
Would be great if there where pre styled templates. Makes a lot of work to style those pages
Looks promising
Very interesting...
HI, how can i create a reusable complement ? Ah found it.Using @template
a simple question about initializr. Why aws dependencies isn't there anymore?
Hi Dan, please consider adding RSS feed to your newsletters. Thank you.
Hey, what's with the light themed IDE? I'd use a dark theme even under direct sunlight . 6:08
I do too when I’m coding but for presenting I find it easier to share.
@@DanVega Could you please share the theme and font you were using, looks very clean. Thanks for the video.
🚀
Does Spring Initializer also support JStachio?
Is it the best!!! same like Laravel's Blade templating engine.
How does it compare to something like a jsp?
I wouldn't use JSP unless you have to. If you're building a new application JSP shouldn't even be an option IMO
@@DanVegaI’m stuck in legacy app hell 😢
It's support htmx?
looks like velocity just a bit easier to set up.
Back to JSP?
My remark exactly
So from this very short intro, it is not unlike JSP??
Why is this giving me JSP and Struts vibes.
Thymeleaf was so confusing
i hope this one is better
I believe this new one have simpler syntax then Thymeleaf th: tags were verbose in my opinion
Feels like JSP
Next step is to generate PDF file with JTE instead of using Thymeleaf.
Toy Brooks
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...