web frameworks - taoualiw/My-Knowledge-Base GitHub Wiki

Web Frameworks

Broadly speaking, a web framework consists of a set of libraries and a main handler within which you can build custom code to implement a web application (i.e. an interactive web site). Most web frameworks include patterns and utilities to accomplish at least the following:

  • URL Routing
    • Matches an incoming HTTP request to a particular piece of Python code to be invoked
  • Request and Response Objects
    • Encapsulates the information received from or sent to a user’s browser
  • Template Engine
    • Allows for separating Python code implementing an application’s logic from the HTML (or other) output that it produces
  • Development Web Server
    • Runs an HTTP server on development machines to enable rapid development; often automatically reloads server-side code when files are updated

Examples :

References:

⚠️ **GitHub.com Fallback** ⚠️