Python - Templates with Bottle Web App Framework

Опубликовано: 10 June 2026
на канале: Eli the Computer Guy
1,749
56

RSVP for Classes at - http://www.SiliconDojo.com

Support Classes at - https://donorbox.org/etcg
Find All Classes at - https://www.elithecomputerguy.com
LinkedIn at -   / eli-etherton-a15362211  

Code and Notes - https://github.com/SiliconDojo/Online...

We've had a number of classes that have shown you how to build web apps with Python and the Bottle Web App Framework. This should be the final one to explain how templates work.

Bottle uses a Template Engine called SimpleTemplate and we'll go over how templates are used in web app frameworks, why they are important, and how to write in a template language.

Templates are used as a reusable structure for web pages where variable values can be sent to them, and then the page will be dynamically created with these values. It creates a layer of abstraction to try to prevent hacking attacks against your platform. They use specific languages to write the pages that are different than Python or HTML.

The class will go over:

What Templates Are
How to Use Templates in Bottle
How this Corresponds to other Web App Frameworks
How to write in the Template Language
and more...