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

Responder: a Familiar HTTP Service Framework

Responder: a Familiar HTTP Service Framework

I will take you on a brief your of my new web framework, Responder, and show you the improvements it has over established frameworks, like Flask.

Kenneth Reitz

February 09, 2019
Tweet

More Decks by Kenneth Reitz

Other Decks in Programming

Transcript

  1. Hi.

  2. github.com/kennethreitz • Requests • Responder • Maya • Records •

    Tablib • httpbin.org • Python-Guide.org • SayThanks.io • 'Import This' Podcast • Em Keyboard • Certifi • Autoenv
  3. Pipenv is the porcelain I always wanted to build for

    pip. It fits my brain and mostly replaces virtualenvwrapper and manual pip calls for me. Use it. — Jannis Leidel (former pip maintainer)
  4. Requests is the perfect example how beautiful an API can

    be with the right level of abstraction. — Armin Roncher (Flask, etc)
  5. 1999: Zope + Plone. - Established Python early-on as a

    serious contender for web development, used heavily in government. - Python 1.5.2 was released in 1999. - Other community tools, like buildout.
  6. 2005: Django. - Sort of a response to Ruby on

    Rails. - A serious web development framework. - Originally built for a small newspaper in Kansas, it excels greatly at content-driven applications. - Makes a lot of decisions for you (architecture, etc). - Was the de-facto web framework for Python for a long time.
  7. 2006: Pylons. - Took the energy of Zope + Plone.

    - A serious contender to Django. - Allowed you to build things with a more component-oriented architecture than Django.
  8. Flask. - Everyone’s favorite framework. - Started out as an

    April Fool’s joke (denied). - “a single file” - Directly inspired by Ruby’s Sinatra. - Grew on popularity due to user-friendliness. - Simple API presented; rarely need to reference the documentation when using it.
  9. Responder Intentions… - Include Requests as a standard HTTP client.

    - Base the Request/Response objects very similar to Requests’ own objects. - See if anyone is interested (they seem to be). - Take ourselves seriously. - Make “the world’s best web framework”.