
Explore the Balto framework for web apps, build a hello world app with routes, views, and templates, and learn to pass data to templates.
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.
Create a wiki page route that reads request data, handles page and section specifics, and uses default values when queries are missing, showing how inputs affect output.
showing how changing the configuration automatically loads the class to pick up the changes in the Bottle web framework.
Create a Bottle web app to query an inventory database of devices, filter by criteria, and render templates to display results.
Explore how to expose files and force the browser to download a chosen file from the current directory by matching filenames.
implement a file upload flow in a Bottle web app with an upload form and extension checks. list uploads, load files from the upload folder, and view them in the browser.
Learn to implement a cookie-based page view counter in the Python Bottle framework, using a count route that reads cookies, increments, and displays the per-user page load.
Explore flexible, customizable actions for routes using decorators and specifications, handle undefined routes, and express actions through a form or a spreadsheet.
Explore how to implement login-based access and session handling in a Bottle web app, including authentication flows and response logic. Understand how cookies and sequential steps control user interaction.
Explore how cookies affect authentication and access control, revealing risks of weak keys and signed cookies. Learn to verify integrity with secrets and hashing.
Learn the proper way to run a bottle web framework app in production, using a base setup to serve requests efficiently and improve performance.
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