最近PSGIについて勉強しはじめた。でも日本語でPSGI/Plackを解説しているサイトとかを見て思っているのですけれど、解説がちょっと変ではないかなぁと。 PSGIはCGIやFastCGIやmod_perlを抽象化するために用いられるものではないので、Plackを使うとCGIやFastCG... 続きを読む
メモ, perl+webTatsumakiを触ってみたいなあと思ったらなんかPSGI/Plackの迷路に入ってしまい、つぶやいてたらid:miyagawaさんが色々教えて下さったので、せっかくなのでまとめておきます。教えてもらってない自分で調べたことも書いてるので、間違ってたらごめ... 続きを読む
plackを使ってみたの巻 PSGIだPlackだって某IRCチャンネルでお祭りをやっている最中金策に走っていたので、まださわっていなかったのですが、とりあえず練習でさわってみました。 http://github.com/lestrrat/GitPlack 結論からまず言います:WAFを作りたいんじ... 続きを読む
bulknews.typepad.com Tatsuhiko Miyagawa's blog to discuss mostly tech and nerdy stuff. In the last couple of days Yuval and I have been endlessly discussing what the asynchronous response API would look like in PSGI applications. And that was... 続きを読む
spiritlooseさんがPSGIなapacheモジュールを書いてくれたのでWindowsにポーティングしてみた。 mod_psgi を実装してみた - spiritlooseのはてなダイアリー PSGI を実装したApache2モジュール。 http://d.hatena.ne.jp/spiritloose/20091002/1254467284 ちょっと... 続きを読む
Loading... Flash Player 9 (or above) is needed to view presentations. We have detected that you do not have it on your computer. To install it, go here. Intro to PSGI and Plack - Presentation Transcript PSGI and Plack Tatsuhiko Miyagawa PSGI ... 続きを読む
Tatsuhiko Miyagawa / Plack-0.9000 - search.cpan.org Some yak have been shaved and bikeshed was done, and now Plack and PSGI are uploaded to CPAN! Some server backends like AnyEvent, FCGI::EV, Coro, Danga::Socket, ReverseHTTP and ServerSimple ... 続きを読む
【注意】2009年10月15日現在の情報です。mod_psgi を試してみたのでメモしておきます。Ubuntu 9.04 x86_64Apache/2.2.11 (Ubuntu)Perl v5.10.0 built for x86_64-linux-gnu-thread-multi $ git clone git://github.com/spiritloose/mod_psgi.git $ cd mod_psgi ... 続きを読む
天然パーマの Erogeek「ゆーすけべー / yusukebe」の日記です 最近は Perl の話題が多くなっています はぁはぁ 元ネタがmattnさんがsinatraで作ったものかつ、 さらにmiyagawaさんにコアな部分を教えてもらったということで、 お二人に敬意を示しつつ紹介。 Big... 続きを読む
http://github.com/spiritloose/mod_psgiPSGIを実装したApache2モジュール。 % make && make install でインストールできて、 LoadModule psgi_module modules/mod_psgi.so /psgi> SetHandler psgi PSGIApp /path/to/app.psgi で動く。 がーっと書いたのでまだ... 続きを読む
PSGI is a specification of interface protocol between Perl web applications and web servers, inspired by Python's WSGI and Ruby's Rack. Plack is a Perl module and namespace to contain set of reference PSGI server implementations, middleware a... 続きを読む
Perl Web Server Gateway Interface 仕様に馴染んでみようと、CGI スクリプトから PSGI でコード・リファレンスを呼び出す CGI::Joint を試しに作ってみました。run クラスメソッドにコード・リファレンスを渡します。run メソッドは標準入力、標準エラー出力、... 続きを読む
Posted by nene2001 at 18:56 / Tag(Edit): perl PSGI / 0 Comments: Post / View / 0 TrackBack / Google Maps YAPCで覚えたPSGIを勉強してみた。 CPANからCatalyst、githubからPlack、Catalyst::Engine::PSGIをインストールして、 # catalyst.pl PSGITest # c... 続きを読む
bulknews.typepad.com Tatsuhiko Miyagawa's blog to discuss mostly tech and nerdy stuff. start_response = outYesterday I asked if we should support optional start_response like Python's WSGI, and Yuval came in on this blog comment as well as #h... 続きを読む
PSGI/Plack勉強会を開きました(ひとりで)。資料はGitHubにあげてあります。いろいろまとめ書き足りてないのですが、自分的には納得したので満足してしまいました。http://github.com/kentaro/psgi-example以下にもコピペ。PSGI/Plackとは? PSGI = Perl Web Ser... 続きを読む
bulknews.typepad.com Tatsuhiko Miyagawa's blog to discuss mostly tech and nerdy stuff. I've merged all the feedbacks and things we noticed during the Plack implementations back to the main PSGI spec and updated it. It has lots of answers to t... 続きを読む
んー、と思って、書いた。kazuho’s p5-http-parser-xs at master - GitHubBLURB は、PSGI のリクエストオブジェクトを返す 高速 同期 httpd, 非同期 httpd のどちらを実装する際にも使用可能 POST コンテンツのハンドリングはご自分で いったんファイルに入れ... 続きを読む
bulknews.typepad.com Tatsuhiko Miyagawa's blog to discuss mostly tech and nerdy stuff. Lots of commits: Yappo made a native PSGI engine for nginx: this is amazing CGI.pm is now patched to support PSGI. the API is a little wacky: forces you to... 続きを読む
PSGI今は時間取れないのでポインタだけ。BlogPSGI - Perl WSGI - bulknews.typepad.comPSGI 計画についてのおしらせ。for Japanese Perl Mongers - TokuLog 改めB日記PSGIまとめ - Angelos in Action - angelosグループ Googleグループ:psgi-plack Googleグルー... 続きを読む