The document discusses various technologies for real-time web applications including PSGI, Plack, AnyEvent, AnyMQ, server-push technologies like Comet, WebSockets, and the Web::Hippie and Web::Hippie::Pipe modules. It provides code examples of using AnyEvent and POE for asynchronous programming, AnyMQ for publishing messages to different message queues, and Web::Hippie::Pipe for abstracting persis
So here is my first attempt to try this new awesome WebSocket technology. And since Mojolicious is already compatible I couldn't wait to long. David Davis has very good examples (http://github.com/xantus/mojo-websocket-examples) and they helped me to start very quickly. Thanks to him we already have flash policy server written in mojolicious. I just copied that into my repository. All the Flash fi
Mojoliciousããã¥ã¡ã³ãæ¥æ¬èªè¨³ããã¸ã§ã¯ã Mojoliciousã®ããã¥ã¡ã³ããæ¥æ¬èªã«ç¿»è¨³ããããã¸ã§ã¯ãã§ãã ããããã¼ã¸ãã¼ã¸ä¸è¦§ã¡ã³ãã¼ç·¨é å±¥æ´ Mojolicious::Lite æçµæ´æ°ï¼ID:6/4HuNkQWg 2010å¹´07æ22æ¥(æ¨) 00:47:31 åå Mojolicious::Lite - å°ããªWebãã¬ã¼ã ã¯ã¼ã¯ 使ãæ¹ # Using Mojolicious::Lite will enable "strict" and "warnings" use Mojolicious::Lite; # Route with placeholder get '/:foo' => sub { my $self = shift; my $foo = $self->param('foo'); $self->render_text("Hello fro
SQLite便å©ï¼ SQLite3ã«ãããREGEXPæ¼ç®å - anon_193ã®æ¥è¨ SQLite ã§ã¯ãload_extension é¢æ°ãç¨ãã¦ãå¤é¨ã®æ¡å¼µã¢ã¸ã¥ã¼ã«ããã¼ããããã¨ãåºæ¥ããæ¡å¼µã¢ã¸ã¥ã¼ã«ã¯ãããã°ã¦ã¼ã¶é¢æ°ã©ã¤ãã©ãªã§ãSQLite3 ODBC Driver ã«ã¯æ¨æºã§ BLOBäºæ¬¡å ãããã³ã°æ¡å¼µ(sqlite3_mod_blobtoxy.dll)ãå¤é¨ãã¼ã¿åè¾¼ã»åºåæ¡å¼µ(sqlite3_mod_impexp.dll)ãå ¨ææ¤ç´¢æ¡å¼µ(sqlite3_mod_fts3.dll) ãä»å±ãã¦ããããããã¨åæ§ã«ãã¦ãæ£è¦è¡¨ç¾ãããã³ã°ãè¡ã regexp ã¦ã¼ã¶é¢æ°ãæã¤æ¡å¼µã¢ã¸ã¥ã¼ã«ãå¶ä½ãããã¼ãããã°ããç®å½ã¦ã® REGEXP æ¼ç®åã使ããããã ã http://d.hatena.ne.jp/anon_193/20090114/1231935112 sq
ã©ããªã·ã¹ãã ã«ããã¦ããªã³ã©ã¤ã³ç³»ã®å¦çã°ããã§ã¯ãªããããå¦çç³»ã®ããã°ã©ã ã¨ãããã®ãåå¨ãã¾ããåã®å ´åãã¦ã¼ã¶ã«è¦ããªãé¨åã®ããã°ã©ã ãå ¨ä½ã®ï¼ï¼ï¼ ãå ãã¦ããããããã¾ããã ãããå¦çã¯å¤§éã®ãã¼ã¿ãå¦çããå ´åãå¤ãã®ãç¹å¾´ã®ãã¡ã®ã²ã¨ã¤ãããããã®å¦çãæ³å®æéå ã«çµãããªãã¨ãã©ããã®ã·ã¹ãã ã®ããã«ã·ã¹ãã å ¨ä½ã«å½±é¿ãåºã¦ãã¾ãã·ã¹ãã ãã¦ã³ãªãã¦ææªã®ç¶æ ã«ãªããã¨ãããã¾ããããã«èµ·å ãã¦ãããã®çªãæããªãã¦å¹ãããã¨ããªãè¨èãçã¿åºããããããã ããï½ ãã¦è©±ãæ»ãã¦ãã·ã¹ãã ãéç¨ãã¦ããã¨ãã¼ã¿éã¯å½ç¶å³è©ä¸ããã§å¢ãã¦ããã¾ãããã£ã¦ãããå¦çãå½æã®æ³å®ãããæéããããããã«ãªã£ã¦ããããã§ãã åãä½ã£ã¦ããããå¦çã®å¤ãã¯æååå¦çãè¨ç®å¦çãå¤ãã§ãããªã³ã©ã¤ã³ç³»ã®è¨èªã¨åãã perl ã§è¨è¿°ãã¦ãããã®ãé常ã«å¤ãããã§ãããDevel
WindowsXPã§ã¯æ¨æºè£ åã§ãZIPã§ã®å§ç¸®/解åæ©è½ãããã¾ãã・・・ã Perlã§ãæ¨æºã¢ã¸ã¥ã¼ã«ï¼Archiveï¼ã§ãZIPã§ã®å§ç¸®/解åæ©è½ãããã¾ãã ç°¡åãªãµã³ãã«ãçµãã§è¦ã¾ããã®ã§ãä½ãã®æ©ä¼ã«åèã«ãªãã°å¹¸ãã§ãã âZIPå§ç¸®ãµã³ãã«ï¼zip.plï¼ use strict; use warnings; use Archive::Zip; my $zip_file = 'file.zip'; my $zip = Archive::Zip->new(); $zip->addFile('data/file.txt'); $zip->addFile('data/file2.txt'); $zip->addTree('aaa', 'aaa'); $zip->addTree('bbb', 'ccc'); $zip->addTree('./a/b/c', 'd'); $zip->
perlã§ãã¼ã¢ã³ãä½æãããã¨ã«ãªããããªã®ã§ã 調ã¹ã¦ã¿ãã¨ã次ã®url㧠Proc::Daemon ãç´¹ä»ããã¦ããã®ã§ã試ãã«æ¸ãã¦ã¿ã¾ããã http://perltips.twinkle.cc/perl/daemon.php http://perltips.twinkle.cc/server/linux_daemon_startup_init_d.php ã¨ãããããåä½ãã¦ãããã©ãã©ããªã®ããª? #!/usr/local/bin/perl use strict; use utf8; use FindBin; use File::Spec; use lib File::Spec->catdir($FindBin::Bin, '../lib'); use Proc::Daemon; use Sing::DBI; use Sing::Model::User; use Data::
Perl ã§ãã¹ã¯ãªããããã¼ã¢ã³åããã®ã¯ãããªã«é£ãããªãã Proc::Daemon ã¨ããã¢ã¸ã¥ã¼ã«ã使ãã°ç°¡åã«ã§ãã ã®ã ããããã«ã¯å°ããªãã¬ã¼ã ã¯ã¼ã¯ã«æ²¿ã£ã¦ã¹ã¯ãªãããæ¸ããã°ãªããªãã次ã®ãµã³ãã«ã«ç©ºã®ãã¬ã¼ã ã¯ã¼ã¯ã示ããã®ã§ãæ¢åã®ã¹ã¯ãªãããããå ´åã«ã¯ããã«æ²¿ã£ã¦èªåã®ã¹ã¯ãªãããå°ã æ¹é ããã°ãããåºæ¬çã«ã¯ action ãµãã«ã¼ãã³ã«ãã¸ãã¯ãæ¸ãã°ããããã«ãªã£ã¦ããã 使ç¨ããã¢ã¸ã¥ã¼ã« use Proc::Daemon; #/usr/bin/perl -w use Proc::Daemon; our $DAEMON        = 1;     # ãã¼ã¢ã³ã«ãããï¼: 1(ãªã³) / 0 (ãªã) our $SLEEP_INTERVAL = 60;    # ã¹ãªã¼ãã®ééï¼ç§ï¼ &init; &run; sub action { # ãã
ååã§perlã§æ¸ããå¦çãAmazon Elastic MapReduceï¼ç¥ç§°ã¯ãªãã ãï¼ã«é£ãããã®ãã§ããã®ã§ã 次ã¯CPANã¢ã¸ã¥ã¼ã«ã使ãããã ã¨ããã¨ãã«ãã£ã±ã便å©ãªã®ãlocal::libã ã¨ããããç´ ã®debianã«ä¸è¬ã¦ã¼ã¶ã¼ãä½ã£ã¦ããã§local:libã使ã£ã¦~/perl5ã«å¿ è¦ãªCPANã¢ã¸ã¥ã¼ã«ãéããã ãããjarã«ã¾ã¨ãã âjar cvf perl5.jar -C perl5 .â ãããS3ã«ã¢ãããã¼ãã å ·ä½çã«ã¯App::Hacheroã¨ãããã°éè¨ã¢ããªã±ã¼ã·ã§ã³ãåããããã£ãã®ã§ããããå ¥ã£ã¦ãã mapper.yml, reducer.ymlã®åè¨å®ãã¡ã¤ã«ãS3ã«ã¢ãããã¼ãã 以ä¸ã®ããã«é©å®pathãéãã¦ãã£ã¦å®è¡ã [danjou@sylvia] $ ./elastic-mapreduce --create \ - st
http://docs.amazonwebservices.com/ElasticMapReduce/latest/GettingStartedGuide/ ãèªãã¨Amazon Paymentã«èªå°ããããã©ã¢ã¡ãªã«å½å åããªã®ã§ä½¿ããªãã£ã½ãã http://kzk9.net/blog/2009/04/reviewing_amazon_elastic_map_reduce.html ãèªãã ã https://console.aws.amazon.com/ ãã触ããã¨ã®ãã¨ã§ãæ¢åã®æ±ºæ¸ã«åç®ã§ããã #!/usr/bin/perl # mapper.pl use strict; use warnings; while (<>) { my ($uri) = ($_ =~ /"(?:GET|POST|HEAD) ([\S]+?) HTTP/); print "$uri\n"; } #!
æ¬é£è¼ã§ã¯ã第ä¸ç·ã®Perlããã«ã¼ãåæ¿ããã§å·çãã¦ããã¾ããè¨å¿µãã¹ã第1åã¯ãWEB+DB PRESSæ¬èªã§ã¯Vol.2ããå·çãã¦ãããé·ããé£è¼ãæ å½ãã¦ããå®®å·é彦ããã§ãã ã¯ããã« Perlã§Webéçºãããããã®ãã¬ã¼ã ã¯ã¼ã¯ã¯ç¾è±ç¹ä¹±ã人æ°ãéãã¦ãã¾ããæ¬ç¨¿ã§ã¯ããããã®ãã¬ã¼ã ã¯ã¼ã¯ãå ±éãã¦å©ç¨ããããã®ã¤ã³ã¿ãã§ã¼ã¹ä»æ§ã§ããPSGIã¨ããã®ã¨ã³ã¸ã³ã¨ãã¦ã®å®è£ ã§ããPlackãç´¹ä»ãã¾ãã PSGIã«è³ãé Perlã¨Webã¢ããªã±ã¼ã·ã§ã³éçºã®è¦ªåæ§ Perlã¯ãã¤ã³ã¿ã¼ãããã®ã°ã«ã¼ï¼ç³ï¼ã®ãï¼è¨èªãã¨ãè¨ãããCGIã«ããéçºãã¡ã¤ã³ã ã£ã1990年代ãããWebã¢ããªã±ã¼ã·ã§ã³éçºã«æãé¢ããã®ããããã°ã©ãã³ã°è¨èªã®ä¸ã¤ã¨è¨ã£ã¦ããã§ãããã2000年代ã«å ¥ã£ã¦ããRuby on RailsãPHPãªã©ã®ä»è¨èªããã®å½±é¿ãåãå ¥ããªãããWebéçº
ã¯ã¦ãªã°ã«ã¼ãã®çµäºæ¥ã2020å¹´1æ31æ¥(é)ã«æ±ºå®ãã¾ãã 以ä¸ã®ã¨ã³ããªã®éããä»å¹´æ«ãç®å¦ã«ã¯ã¦ãªã°ã«ã¼ããçµäºäºå®ã§ããæ¨ããç¥ãããã¦ããã¾ããã 2019å¹´æ«ãç®å¦ã«ãã¯ã¦ãªã°ã«ã¼ãã®æä¾ãçµäºããäºå®ã§ã - ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãã®ãã³ãæ£å¼ã«çµäºæ¥ã決å®ãããã¾ããã®ã§ã以ä¸ã®éãã確èªãã ããã çµäºæ¥: 2020å¹´1æ31æ¥(é) ã¨ã¯ã¹ãã¼ãå¸æç³è«æé:2020å¹´1æ31æ¥(é) çµäºæ¥ä»¥éã¯ãã¯ã¦ãªã°ã«ã¼ãã®é²è¦§ããã³æ稿ã¯è¡ãã¾ãããæ¥è¨ã®ã¨ã¯ã¹ãã¼ããå¿ è¦ãªæ¹ã¯ä»¥ä¸ã®è¨äºã«ãããã£ã¦æç¶ãããã¦ãã ããã ã¯ã¦ãªã°ã«ã¼ãã«æ稿ãããæ¥è¨ãã¼ã¿ã®ã¨ã¯ã¹ãã¼ãã«ã¤ã㦠- ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãå©ç¨ã®ã¿ãªãã¾ã«ã¯ãè¿·æãããããããã¾ãããã©ãããããããé¡ããããã¾ãã 2020-06-25 è¿½è¨ ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ã®ã¨ã¯ã¹ãã¼ããã¼ã¿ã¯2020å¹´2æ28
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}