From ae3b27daf9400e6b65708f2b5f38e04c1664d8fc Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Mon, 30 Jan 2023 20:14:24 +0530 Subject: changed programming resources path, added more pages --- .../web-development/backend/template-engines/_index.md | 8 ++++++++ .../web-development/backend/template-engines/ejs.md | 9 +++++++++ .../web-development/backend/template-engines/gin.md | 11 +++++++++++ 3 files changed, 28 insertions(+) create mode 100644 content/docs/programming-resources/web-development/backend/template-engines/_index.md create mode 100644 content/docs/programming-resources/web-development/backend/template-engines/ejs.md create mode 100644 content/docs/programming-resources/web-development/backend/template-engines/gin.md (limited to 'content/docs/programming-resources/web-development/backend/template-engines') diff --git a/content/docs/programming-resources/web-development/backend/template-engines/_index.md b/content/docs/programming-resources/web-development/backend/template-engines/_index.md new file mode 100644 index 0000000..4b320db --- /dev/null +++ b/content/docs/programming-resources/web-development/backend/template-engines/_index.md @@ -0,0 +1,8 @@ +--- +title: Template Engines +description: Used to build server-side rendered websites +weight: 2 +--- + +A template engine lets you define HTML templates for your web application and populates the dynamic data on runtime. +It's good for websites where most of the content remains static. For example, blogs, etc diff --git a/content/docs/programming-resources/web-development/backend/template-engines/ejs.md b/content/docs/programming-resources/web-development/backend/template-engines/ejs.md new file mode 100644 index 0000000..5172791 --- /dev/null +++ b/content/docs/programming-resources/web-development/backend/template-engines/ejs.md @@ -0,0 +1,9 @@ +--- +title: ejs +description: Template engine for Node.js +weight: 2 +--- + +ejs is a very easy to use and flexible template engine for Node.js. I love it because you can start writing ejs within minutes! + +- Building a blog with ejs: [Video by Web Dev Simplified](https://www.youtube.com/watch?v=1NrHkjlWVhM) diff --git a/content/docs/programming-resources/web-development/backend/template-engines/gin.md b/content/docs/programming-resources/web-development/backend/template-engines/gin.md new file mode 100644 index 0000000..7ed28c5 --- /dev/null +++ b/content/docs/programming-resources/web-development/backend/template-engines/gin.md @@ -0,0 +1,11 @@ +--- +title: Gin +description: Gin framework for GoLang has a template engine +weight: 1 +--- + +The Gin HTTP framework comes with a template engine that is very easy to use. + +- Documentation: [Official Documentation](https://gin-gonic.com/docs/examples/html-rendering/) + +You can checkout my dropped project (sadly) which is a blog website that is rendered with Gin: -- cgit v1.2.3