
In part 2 of the Bottle web framework course, learn to enforce authorization in web requests and customize responses for access denial and not found cases.
Explore using decorators to handle get and post requests in a Bottle web framework, return 200 responses, and compare different approaches to interacting with a web page.
showing how changing the configuration automatically loads the class to pick up the changes in the Bottle web framework.
Explore how to expose files and force the browser to download a chosen file from the current directory by matching filenames.
Welcome,
Bottle is a fast, simple and lightweight WSGI micro web-framework for Python. It is distributed as a single file module and has no dependencies other than the Python Standard Library.
Routing: Requests to function-call mapping with support for clean and dynamic URLs.
Templates: Fast and pythonic built-in template engine and support for mako, jinja2 and cheetah templates.
Utilities: Convenient access to form data, file uploads, cookies, headers and other HTTP-related metadata.
Server: Built-in HTTP development server and support for paste, bjoern, gae, cherrypy or any other WSGI capable HTTP server.
Bottle is a versatile web framework which is used by small and big companies to create API-s and other web services that provide functionality to their infrastructure. In this course we will go through the whole documentation and I will show you what can and cannot be done with the Bottle Web Framework. Starting from the fundations, we will cover basic building blocks, then build on those for more advanced control flow, and data structures. Finally by the end of this course you will be able to use the framework to build blazing fast API-s and web applications which can serve you well and easy to maintain.
Happy Coding!
Cheers,
Daniel