2009-12-15 blosxom.psgi http://github.com/tokuhirom/blosxom.psgi/blob/master/blosxom.psgiid:cho45 ããããã£ã¦ã blosxom clone ã¤ããä¼ã®ãã¤ã psgi ã§ãã£ã¦ã¿ãã http://coderepos.org/share/wiki/BlosxomClonesããã¯ãç´ç²ã« psgi ã§ãã£ã¦ã¦ãplack ã¯é¢ä¿ãªãã§ããPerl5.10 ã«ä¾åãã¦ã¾ããã¤ãã£ã¦ãã©ã¤ãã©ãªã¯ãã®ã¸ããã¡ã¢ãªæ¶è²»éããããªããã®ãã¡ã¤ã³ã§ã¤ãã£ã¦ã¾ãã use autodie; use Path::Class qw/dir/; use Text::MicroTemplate::File; use Time::Piece; ãææ³ã Path::Class 㯠->openr ã« PerlI
http://github.com/spiritloose/mod_psgi PSGI ãå®è£ ããApache2ã¢ã¸ã¥ã¼ã«ã % make && make installã§ã¤ã³ã¹ãã¼ã«ã§ãã¦ã LoadModule psgi_module modules/mod_psgi.so <Location /psgi> SetHandler psgi PSGIApp /path/to/app.psgi </Location> ã§åãã ãã¼ã£ã¨æ¸ããã®ã§ã¾ã ã¾ã ã®é¨åãå¤ãã¨ã¯ããããã©ãä¸éãå®è£ ã§ããã¨æãã Plack::Test::Suite ã使ã£ããã¹ããæ¸ããã http://github.com/spiritloose/mod_psgi/blob/master/t/suite.t mod_perlã®ããã«Apacheã®æ©è½ãæä¾ããå¿ è¦ã¯ãªããã¢ããªã±ã¼ã·ã§ã³ã¸ã¯envã渡ãã° ã
Superglue interface between perl web application frameworks and web servers, just like Perl is the duct tape of the internet. PSGI is an interface between Perl web applications and web servers, and Plack is a Perl module and toolkit that contains PSGI middleware, helpers and adapters to web servers. PSGI and Plack are inspired by Python's WSGI and Ruby's Rack. Documentation PSGI specification Freq
Indeed, adding RAW_PATH_INFO could be a good idea, I also think that changing the PATH_INFO meaning could be worse than living with that bug. "So adding RAW_PATH_INFO, or REQUEST_URI which is currently not in the spec, to be undecoded might make more sense." Probably a bad idea to duplicate that kind of information in the environment. I don't understand what's the big deal about specifying PATH_IN
ãã¼ãã¨æã£ã¦ãæ¸ãããGitHub - kazuho/p5-http-parser-xs: a fast http parser BLURB ã¯ã PSGI ã®ãªã¯ã¨ã¹ããªãã¸ã§ã¯ããè¿ã é«é åæ httpd, éåæ httpd ã®ã©ã¡ããå®è£ ããéã«ã使ç¨å¯è½ POST ã³ã³ãã³ãã®ãã³ããªã³ã°ã¯ãèªå㧠ãã£ãããã¡ã¤ã«ã«å ¥ããããããããè¦ä»¶ããããããã¼ã¹ä½æ¥ã¯çºçããªãã®ã§ Perl ã§ããã¾ãé ããªããªããã ã¦ãªæãã§ãã以ä¸ãã³ããã¼ã¯ã $ ./http-parser-vs-xs-benchmark.pl Rate HTTP::Parser HTTP::Parser::XS HTTP::Parser 2978/s -- -95% HTTP::Parser::XS 54348/s 1725% --ãã³ããã¼ã¯ã«ä½¿ã£ãã³ã¼ãã¯ã以ä¸ã®ã¨ããã #! /usr/bin/
bulknews.typepad.com Tatsuhiko Miyagawa's blog to discuss mostly tech and nerdy stuff. Tons of progress just on my flight, or while I'm here. Last night I went to the office where Yappo and tokuhirom work, to hack and brainstorm on Plack :) Specs Now we've got the first spec draft out. It's mostly a clone of Rack specification, and lots of FAQ document inspired by Python's WSGI. It still misses th
bulknews.typepad.com Tatsuhiko Miyagawa's blog to discuss mostly tech and nerdy stuff. tokuhirom and I have been hacking on reference implementations and test suite for implementors. We added Mojo and AnyEvent based implementations to see how the Input and Error stream and response body API work with asynchronous callback based implementations (Note that these .txt files are notes for discussions,
ã¯ã¦ãªã°ã«ã¼ãã®çµäºæ¥ã2020å¹´1æ31æ¥(é)ã«æ±ºå®ãã¾ãã 以ä¸ã®ã¨ã³ããªã®éããä»å¹´æ«ãç®å¦ã«ã¯ã¦ãªã°ã«ã¼ããçµäºäºå®ã§ããæ¨ããç¥ãããã¦ããã¾ããã 2019å¹´æ«ãç®å¦ã«ãã¯ã¦ãªã°ã«ã¼ãã®æä¾ãçµäºããäºå®ã§ã - ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãã®ãã³ãæ£å¼ã«çµäºæ¥ã決å®ãããã¾ããã®ã§ã以ä¸ã®éãã確èªãã ããã çµäºæ¥: 2020å¹´1æ31æ¥(é) ã¨ã¯ã¹ãã¼ãå¸æç³è«æé:2020å¹´1æ31æ¥(é) çµäºæ¥ä»¥éã¯ãã¯ã¦ãªã°ã«ã¼ãã®é²è¦§ããã³æ稿ã¯è¡ãã¾ãããæ¥è¨ã®ã¨ã¯ã¹ãã¼ããå¿ è¦ãªæ¹ã¯ä»¥ä¸ã®è¨äºã«ãããã£ã¦æç¶ãããã¦ãã ããã ã¯ã¦ãªã°ã«ã¼ãã«æ稿ãããæ¥è¨ãã¼ã¿ã®ã¨ã¯ã¹ãã¼ãã«ã¤ã㦠- ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãå©ç¨ã®ã¿ãªãã¾ã«ã¯ãè¿·æãããããããã¾ãããã©ãããããããé¡ããããã¾ãã 2020-06-25 è¿½è¨ ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ã®ã¨ã¯ã¹ãã¼ããã¼ã¿ã¯2020å¹´2æ28
ã¯ã¦ãªã°ã«ã¼ãã®çµäºæ¥ã2020å¹´1æ31æ¥(é)ã«æ±ºå®ãã¾ãã 以ä¸ã®ã¨ã³ããªã®éããä»å¹´æ«ãç®å¦ã«ã¯ã¦ãªã°ã«ã¼ããçµäºäºå®ã§ããæ¨ããç¥ãããã¦ããã¾ããã 2019å¹´æ«ãç®å¦ã«ãã¯ã¦ãªã°ã«ã¼ãã®æä¾ãçµäºããäºå®ã§ã - ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãã®ãã³ãæ£å¼ã«çµäºæ¥ã決å®ãããã¾ããã®ã§ã以ä¸ã®éãã確èªãã ããã çµäºæ¥: 2020å¹´1æ31æ¥(é) ã¨ã¯ã¹ãã¼ãå¸æç³è«æé:2020å¹´1æ31æ¥(é) çµäºæ¥ä»¥éã¯ãã¯ã¦ãªã°ã«ã¼ãã®é²è¦§ããã³æ稿ã¯è¡ãã¾ãããæ¥è¨ã®ã¨ã¯ã¹ãã¼ããå¿ è¦ãªæ¹ã¯ä»¥ä¸ã®è¨äºã«ãããã£ã¦æç¶ãããã¦ãã ããã ã¯ã¦ãªã°ã«ã¼ãã«æ稿ãããæ¥è¨ãã¼ã¿ã®ã¨ã¯ã¹ãã¼ãã«ã¤ã㦠- ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãå©ç¨ã®ã¿ãªãã¾ã«ã¯ãè¿·æãããããããã¾ãããã©ãããããããé¡ããããã¾ãã 2020-06-25 è¿½è¨ ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ã®ã¨ã¯ã¹ãã¼ããã¼ã¿ã¯2020å¹´2æ28
HTTP::Engineã¨PSGI - HTTP::Engine is died? HTTP::Engine ã¯å ã ã»å種Webãµã¼ãã«ä¾åããå¦çãWAFæ¯ã«åæ£ãã¦ãã®ãã¾ã¨ãããï¼ ã»Request/Responseãå ±éåãããï¼ ã¨ããæããã¹ã¿ã¼ãããããã¸ã§ã¯ããªè¨³ã§ãããä»åPSGIãå§ã¾ãäºã«ãã£ã¦å段ã®é¨åãPSGIã«å§è²ãã¦ãReq/Resã®å ±éåã¯ä»ã¾ã§éãããã¾ããã¨è¨ã話ã ä»åã®PSGIã¯ãHTTP::Engineã®Interfaceã®ã¬ã¤ã¤ã¨Req/Resã®ã¬ã¤ã¤ã絡ã¿ä»ãã¦ã¦è¯ãç¡ããã§ãè¯ãæãã«åé¢ããããããã¨ããæããå§ã¾ã£ãæãã çµå±ã¯PSGIã¯ä»æ§ãªã®ã§ããããå®è£ ããã®ã¯HTTP::Engineã®å é¨ã«ãªãããããã¯Rackçãªç©ãå¤ã«ä½ã£ã¦ãããã¨ããäºã«ãªããã©(å¾è ã®æ¹å)ãHTTP::Engineã®å é¨ã§PSGIã¨æ¢åã®Reque
bulknews.typepad.com Tatsuhiko Miyagawa's blog to discuss mostly tech and nerdy stuff. Info: if you come from Google and want to know what PSGI and Plack are: take a look at our PSGI/Plack project web page that has links to PSGI spec and FAQ, and then Plack git repo for the actual code. HTTP::Engine is the best thing that happened in the Perl web application development land lately. It's a port of
2009-09-04 Perlçwsgiè¨ç»ã«ã¤ãã¦ã®ã¡ã¢ psgi braindump ãªã«ãã miyagawa ãããä¸å¿ã«ãã¼ãµã¼ãµã¨åãã¯ããã¦ãã¿ãããªã®ã§ãèªåãªãã®ã¡ã¢ãä»ã® HE ã¯ããªã¯ã¨ã¹ããããã¼ã¿ããã¿ããé¨åããHE::Interface::*ã«ã²ãã¥ãã¦ããããã®ã¨ãMoose/Roleå¨ããã¦ãã³ã¼ãããããããã£ã¦ããã¾ã£ãããã£ã¦ãå ¸åç㪠Moose å¨ã¨ãããããããªããä»å¾ãMoose ã«ã¨ãããã人ãä¸åº¦ã¯ãã¡ããã§ããã姿ãä½ç¾ãã¦ãããã§ãAnyEvent ã¨ãéåæDBã¨ãã¤ããã¨ãã«ããã©ãããã¨ããã¨ã¾ã HE ã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ã¨ããæ°ã«ãããªããªã£ãã¨ãã¨ãã«ãå ¨é¨ã¤ãããªããã¨ãããã©ãããã¨ãã ããã³ã¼ããè¤éããã¦ãèªãã®ãããã©ãããã¨ãã¾ããããããããªãã¨ããã£ã¦ãWSGI ã¿ããã«æ確ã«ããªã¯ã¨ã¹ããªãã¸ã§ã¯ãããã¨ã
id:miyagawa ãããä¸å¿ã¨ãã¦ãPerl ç WSGI ãã¤ãããã¨ã«ãªãã¾ãããç¾å¨ãä»®ã®ååã¨ã㦠PSGI ã¨ãªã¥ãããã¦ãã¾ããPSGI ã¨æ¸ãã¦ã©ããã©ã¹ã¨ã§ãèªãã¨ããã§ããããPSGI ã¯ä»æ§ã§ããå®è£ ã¯ã¨ããªãã¾ããããç¹å®ã®å®è£ ãæèããä»æ§ã«ã¯ãªãã¾ãããè°è«ã®åå°ã¨ãã¦ã®ã¤ã³ããªã¡ã³ãã¼ã·ã§ã³ã¯ä½æããã¾ããããããå®éã«ã¤ããå¿ è¦ã¯ããã¾ãããä»æ§ã¯ Rack/WSGI ã®ä»æ§ããã¼ã¹ã«çå®ããã¾ããã»ã¼ã³ãã¼&ãã¼ã¹ãã§ãããä¸é¨ã Perl ãããæ¹å¤ãã¾ãããã¨ãã°ãRuby ã§ã¯ã¤ãã¬ã¼ã¿ã主æµã§ãããPerl ã§ã¯ä¸»æµã§ã¯ãªããè¨èªã®æ©è½ã§ã¯ãªãã®ã§ãã¤ãã¬ã¼ã¿ãã¤ãã£ã¦ããé¨åã¯ä»ã®æ¹æ³ãã¤ããããã«è¦å®ããã¾ããHTTP::Engine ã§ããã¨ãHTTP::Engine::ResponseWriter, HTTP::Engine::Inte
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}