Slide 9
Slide 9 text
• ʢதུʣ The process of wrapping the Pylons application in middleware results in a structure
conceptually similar to the layers in an onionʢλϚωΪʣ.
• ຊηογϣϯʹ͓͚ΔMiddlewareύλʔϯͱಉ͡
• WSGI Middleware HTTPαʔόͱWebΞϓϦέ
ʔγϣϯ/ϑϨʔϜϫʔΫͷதؒͷWSGIϨΠϠͰ࣮ݱ
• ͪͳΈʹɺHTTPαʔόͷϨΠϠͰWebΞϓϦέʔγϣϯ/
ϑϨʔϜϫʔΫͷϨΠϠͰMiddlewareύλʔϯ͋Δ
ʢ͋ͬͯΑ͍ʣ
9
net/http ύοέʔδʹ͓͚Δ Middleware ύλʔϯ
WSGI Middleware
https://docs.pylonsproject.org/projects/pylons-webframework/en/latest/concepts.html#wsgi-middleware