Upgrade to Pro — share decks privately, control downloads, hide ads and more …

[PyCon India 2021] Hey, Python-Web-Community! W...

Vibhu
September 19, 2021

[PyCon India 2021] Hey, Python-Web-Community! What's going on?

Django, Flask or FastAPI, ASGI-WSGI, asynchronous-synchronous, protocol or web server, workers or threads, gunicorn-uvicorn - What is going on!? What exactly are these? How do they come along together? Do I even need to know about them?

Developing back-ends for dynamic websites can be done in a lot of different ways, and fortunately, python has a great set of libraries and packages to help us with the implementation. The problem arises when we dive deep and are overwhelmed with the stuff we have at our disposal.

During this talk, we'll try to find answers to the above questions. We'll take a look at the high-level and core features of different parts and understand how they are kept compatible with each other to bring out a fantastic web ecosystem.

Vibhu

September 19, 2021
Tweet

More Decks by Vibhu

Other Decks in Technology

Transcript

  1. @vibhu4agarwal PyCon India 2021 👦 He/him 󰞼 Student 🐍 Pythonista

    🌐 Web Enthusiast Vibhu Agarwal (@vibhu4agarwal)
  2. @vibhu4agarwal PyCon India 2021 Common Gateway Interface (CGI) “An interface

    specification that enables web servers to execute an external program, typically to process user requests.” RFC 3875
  3. @vibhu4agarwal PyCon India 2021 The External Script - Template Engine

    - Routing - Database ORM - Data Serialization - Authorisation and Authentication - Logging
  4. @vibhu4agarwal PyCon India 2021 Web Server Gateway Interface “A standard

    interface between web servers and Python web applications or frameworks, to promote web application portability across a variety of web servers.” PEP 333(3)
  5. @vibhu4agarwal PyCon India 2021 Resources • RFC 3875 - Common

    Gateway Interface (CGI) • PEP 333(3) - WSGI • ASGI - asgi.readthedocs.io • Gunicorn Docs - docs.gunicorn.org • Uvicorn Docs - www.uvicorn.org • FastAPI Docs - fastapi.tiangolo.com/alternatives/ • … awesome documentation of all the projects which I mentioned