diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2023-01-30 02:18:52 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2023-01-30 02:18:52 +0530 |
commit | ed0acef173ae46ff7b8689b896a2913149b7da4e (patch) | |
tree | ef71f8b6e592359d4f2faaf0516a7df6fa218cbc /content/docs/resources-to-learn-programming/web-development/backend/template-engines | |
parent | a6da178e0bf5271c6224e1ca48e7ce9e79fd821c (diff) |
added a 'knowledge base'
Diffstat (limited to 'content/docs/resources-to-learn-programming/web-development/backend/template-engines')
3 files changed, 28 insertions, 0 deletions
diff --git a/content/docs/resources-to-learn-programming/web-development/backend/template-engines/_index.md b/content/docs/resources-to-learn-programming/web-development/backend/template-engines/_index.md new file mode 100644 index 0000000..4b320db --- /dev/null +++ b/content/docs/resources-to-learn-programming/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/resources-to-learn-programming/web-development/backend/template-engines/ejs.md b/content/docs/resources-to-learn-programming/web-development/backend/template-engines/ejs.md new file mode 100644 index 0000000..5172791 --- /dev/null +++ b/content/docs/resources-to-learn-programming/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/resources-to-learn-programming/web-development/backend/template-engines/gin.md b/content/docs/resources-to-learn-programming/web-development/backend/template-engines/gin.md new file mode 100644 index 0000000..7ed28c5 --- /dev/null +++ b/content/docs/resources-to-learn-programming/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> |