An Introduction to Server-Side Template Injections with Flask

The idea of a web application template is basically what it sounds like. Imagine it is around the holidays and you are writing letters to 20+ relatives. Having to write 20+ letters to each relative eventually becomes a little tedious. Your letters may end up becoming something like this:

Dear {relative name},

I hope you are doing well. Happy holidays.

Best regards,

{your name}

Web applications use a very similar approach. When a home page displays the friendly “Hello, {your name}”, it is retrieving data from the server and presenting it onto a template. An example can be seen from my school’s learning management system…

Read Full Blog

Shares

Written by:

Leave a comment