Plack 代码和结构分析-Plack::Builder[译]

Part 1 – An Overview Part 2 – plackup Architecture Part 3 – PSGI Application Architecture Part 4 – Plack::Builder Plack::Builder 为中间件的开发提供了特定领域语言 domain specific language (DSL) 的风格. 它看起来就象: use Plack::Builder; my $app1 = sub { ... }; my $app2 = sub { ... }; builder { enable "Deflater"; enable "Session", store => "File"; enable "Debug", […]

文章来源:

Author:扶 凯
link:http://www.php-oa.com/2015/02/17/read-plack-4.html