Class Notes:
Class Description:
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...
Comments