# Pug

Pug is a JavaScript template engine that compiles Pug templates into functions or client-side JavaScript and renders HTML.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## From express and pug to HTML

DevFeed: [From express and pug to HTML](<https://devfeed.tech/articles/from-express-and-pug-to-html-27291.md>)

Original publisher: [Read original article](<https://blog.pchudzik.com/201801/express-pug/>)

Published: 2018-01-23T00:00:00Z

Content type: article

Language: en

Sources: [Paweł Chudzik](<https://devfeed.tech/sources/pawe-chudzik.md>)

Topics: [Express](<https://devfeed.tech/topics/express.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>), [Pug](<https://devfeed.tech/topics/pug.md>), [HTML](<https://devfeed.tech/topics/html.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [web applications](<https://devfeed.tech/topics/web-applications.md>)

Tags: [backend](<https://devfeed.tech/tags/backend.md>), [express](<https://devfeed.tech/tags/express.md>), [html](<https://devfeed.tech/tags/html.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [web-applications](<https://devfeed.tech/tags/web-applications.md>)

### AI overview

The article explains the author's choice of Node.js, Express.js, and pug.js to generate HTML on the server for a web-based user interface. It contrasts this approach with Angular, React, Java, Groovy, Ruby, and Python, emphasizing the author's preference for JavaScript across the server and browser and for a lower-effort solution.

### Source excerpt

While working on private stuff I've encountered a moment when I was in need to create a web-based user interface for the application I've been developing lately. In this post, I'm going to briefly describe why I've decided to use Node.js for generating HTML on the server side and how I've taken advantage of the javascript on the server side and in the browser. Read more