]> Dogcows Code - chaz/talk-introduction-to-psgi/blob - notes.txt
fix up for presentation
[chaz/talk-introduction-to-psgi] / notes.txt
1
2 - High-level what is PSGI:
3 - Interface between web app and web server.
4 - a specification (not code)
5
6 - Why care about understanding PSGI when you can just use a high-level language.
7
8 - Alternatives: CGI, mod_perl, FCGI, SCGI, WSGI (Python), JSGI (JS), Rack (Ruby), ISAPI (IIS)
9
10 - Describe how CGI, mod_perl, and FCGI work.
11
12 PSGI is easy. RFC 3875 (CGI 1.1) is 36 pages.
13 The PSGI spec is shorter and much more consumable.
14
15 Overview of HTTP?
16
17 Implementations:
18 - Plack
19 - Alternatives: Paste (Python),
20 - Rack-compliant: Rack (Ruby), Clack (Common Lisp)
21
22 Benefits of PSGI:
23 - Web frameworks only need to target PSGI.
24 - Easy to write tests because requests and responses are data, not necessarily bytestreams.
25
26 - What frameworks support PSGI?
27 - [Catalyst](http://www.catalystframework.org/)
28 - [Mojolicious](http://mojolicious.org/)
29 - [Dancer](http://perldancer.org/)
30 - [CGI::Ex](https://github.com/chazmcgarvey/CGI-Ex/tree/psgi-2)
31
32 - What handlers does plack support?
33
34 - What types of things should be written as middleware?
35
This page took 0.033915 seconds and 4 git commands to generate.