aboutsummaryrefslogtreecommitdiff
path: root/content/docs/programming-resources/web-development/backend/template-engines
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2023-01-30 20:14:24 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2023-01-30 20:14:24 +0530
commitae3b27daf9400e6b65708f2b5f38e04c1664d8fc (patch)
treed43b9af230ad6d261b516bc54100896c1df70e34 /content/docs/programming-resources/web-development/backend/template-engines
parented0acef173ae46ff7b8689b896a2913149b7da4e (diff)
changed programming resources path, added more pages
Diffstat (limited to 'content/docs/programming-resources/web-development/backend/template-engines')
-rw-r--r--content/docs/programming-resources/web-development/backend/template-engines/_index.md8
-rw-r--r--content/docs/programming-resources/web-development/backend/template-engines/ejs.md9
-rw-r--r--content/docs/programming-resources/web-development/backend/template-engines/gin.md11
3 files changed, 28 insertions, 0 deletions
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: <https://github.com/MikunoNaka/vidhublog>