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

Python製Webフレームワークの設計と実装 / How to develop web application framework in Python

Python製Webフレームワークの設計と実装 / How to develop web application framework in Python

高専カンファレンスlol 発表資料 #kosenconf
PythonでWebアプリケーションフレームワークを作るための知識としてWSGIやWAFの構成要素について解説。最後に自作WAFのKobinについて紹介します。

MASASHI Shibata

April 27, 2016
Tweet

Other Decks in Programming

Transcript

  1. $ gunicorn -w 1 filename:app [2016-04-15 10:17:00 +0900] [1873] [INFO]

    Starting gunicorn 19.4.5 [2016-04-15 10:17:00 +0900] [1873] [INFO] Listening at: http://127.0.0.1:8000 (1873) [2016-04-15 10:17:00 +0900] [1873] [INFO] Using worker: sync [2016-04-15 10:17:00 +0900] [1878] [INFO] Booting worker with pid: 1878 WSGI SERVER Enable the use of any framework with any server.
  2. from kobin import Kobin app = Kobin() @app.route(‘^/$') def hello():

    return "Hello World!!" if __name__ == '__main__': app.run()