DEV Community

Discussion on: Are template engines still relevant in 2020?

Collapse
 
andrewbaisden profile image
Andrew Baisden

Yes they are still relevant but maybe not as popular now because of the rise of javascript frameworks like React, Vue and Angular. And people typically start by learning a front-end language and framework before they move into back-end. I use ejs if I am working with node and Jinja if I am working in a Python/Flask environment.

Collapse
 
rzeczuchy profile image
rzeczuchy

Thanks for the comment! I'm reading through some old discussions on this now, and it does seem like template engines have been at least partly superseded by frameworks.

Even so, I'm glad I took some time to learn Pug just out of curiosity. Popular or not, I still think template engines are kinda cool?

Collapse
 
andrewbaisden profile image
Andrew Baisden

Yes they remain cool you could avoid using a javascript framework all together if you wanted to. It's good for working on small projects or quickly testing out some back-end code without having to set up a whole front-end framework.