Code Archive Skip to content Google About Google Privacy Terms
http://github.com/spiritloose/Schenker åã« Ruby ã® Sinatra ã触ã£ã¦ã¿ã¦ãããªã¨ããã£ãã®ã§æè¿ä½ãå§ããã ã²ã¨ã¨ããæ©è½ã¯ããã£ã¦ããã®ã§å ¬éãã¦ã¿ãã HTTP::Engine + HTTP::Engine::Middleware + HTTPx::Dispatcher + Sinatra風ã¤ã³ã¿ã¼ãã§ã¼ã¹ ã¿ãããªæãã®ãã¬ã¼ã ã¯ã¼ã¯ãã£ã¦ãããDSLã # myapp.pl #!/usr/bin/env perl package MyApp; use Schenker; get '/' => sub { 'Hello, world!'; }; get '/hello/:name' => sub { my $args = shift; "Hello, $args->{name}!"; }; 㧠`./myapp.pl` ããã¨å
ãã«ã¹ã¿ãã¯ãã¦ãªã®Railsãããã¾ã§å¿ è¦ãªãããã¨ãERBã§ã´ãªã´ãªãã¡ã³ãã¯ã»ã¼ããã£ã±ãRailsã§ããªã©ã¨ãé½ã¯ã¾ãã®ã¼ããããããã¦ã¼ãããRubyã®Webãã¬ã¼ã ã¯ã¼ã¯ã¯ä»ã«ããããã©ãã軽ãã¦ãããã ãPHPã使ããããªãã ããªãã ã ãããªæ©ã¾ããã解æ¶ãã¦ããããã¬ã¼ã ã¯ã¼ã¯ãçºè¦ãã¦ãã¾ãã¾ããããSinatraãã§ãããã¾ããããã¤ã¯ã軽ããã ã Sinatra ãµã¤ãã®ããããã¼ã¸ã«æ¸ããã¦ããã³ã¼ãããããããµã¯ãµã¯æããããåºãã¦ããã¦ãã¾ãã require 'rubygems' require 'sinatra' get '/hi' do "Hello World!" end 説æèªã¾ãªãã¦ã解ãããããã æ¥æ¬èªã®è§£èª¬ã¹ã©ã¤ããããã¾ãããã解ã解説ã¼ã å ¬å¼ãµã¤ãã®READMEãèªãã°ãã ãããOKã Sinatra: README ãã©ã¡ã¼ã¿ãåå¾ã
GT Nitro: Car Game Drag Raceã¯ãå ¸åçãªã«ã¼ã²ã¼ã ã§ã¯ããã¾ãããããã¯ã¹ãã¼ãããã¯ã¼ãã¹ãã«å ¨éã®ã«ã¼ã¬ã¼ã¹ã²ã¼ã ã§ãããã¬ã¼ãã¯å¿ãã¦ãããã¯ãã©ãã°ã¬ã¼ã¹ããã¤ãã¼ï¼å¤å ¸çãªã¯ã©ã·ãã¯ããæªæ¥çãªãã¼ã¹ãã¾ã§ãæãã¯ã¼ã«ã§éãè»ã¨ã«ã¼ã¬ã¼ã¹ã§ãã¾ããã¹ãã£ãã¯ã·ããããã¹ã¿ã¼ããããããè³¢ã使ã£ã¦ç«¶äºãæã¡ç ´ãå¿ è¦ãããã¾ãããã®ã«ã¼ã¬ã¼ã¹ã²ã¼ã ã¯ãã®ãªã¢ã«ãªç©çå¦ã¨ç´ æ´ãããã°ã©ãã£ãã¯ã¹ã§ããªãã®å¿ãççºããã¾ããããã¾ã§ãã¬ã¤ãããã¨ã®ãªããããªãã®ã§ãã GT Nitroã¯ããªãã¬ãã¯ã¹ã¨ã¿ã¤ãã³ã°ã試ãã«ã¼ã¬ã¼ã¹ã²ã¼ã ã§ããæ£ããç¬éã«ã®ã¢ãã·ããããã¬ã¹ãæãåãè¸ãå¿ è¦ãããã¾ããã¾ãã大ç©ãã¡ã¨ç«¶ãã¤ã¤ãè»ã®ãã¥ã¼ãã³ã°ã¨ã¢ããã°ã¬ã¼ããè¡ããªããã°ãªãã¾ãããä¸çä¸ã§æé«ã®ãã©ã¤ãã¼ã¨è»ã¨ã«ã¼ã¬ã¼ã¹ã«æããã¨ã«ãªãããã©ãã°ã¬ã¼ã¹ã®çå
GT Nitro: Car Game Drag Raceã¯ãå ¸åçãªã«ã¼ã²ã¼ã ã§ã¯ããã¾ãããããã¯ã¹ãã¼ãããã¯ã¼ãã¹ãã«å ¨éã®ã«ã¼ã¬ã¼ã¹ã²ã¼ã ã§ãããã¬ã¼ãã¯å¿ãã¦ãããã¯ãã©ãã°ã¬ã¼ã¹ããã¤ãã¼ï¼å¤å ¸çãªã¯ã©ã·ãã¯ããæªæ¥çãªãã¼ã¹ãã¾ã§ãæãã¯ã¼ã«ã§éãè»ã¨ã«ã¼ã¬ã¼ã¹ã§ãã¾ããã¹ãã£ãã¯ã·ããããã¹ã¿ã¼ããããããè³¢ã使ã£ã¦ç«¶äºãæã¡ç ´ãå¿ è¦ãããã¾ãããã®ã«ã¼ã¬ã¼ã¹ã²ã¼ã ã¯ãã®ãªã¢ã«ãªç©çå¦ã¨ç´ æ´ãããã°ã©ãã£ãã¯ã¹ã§ããªãã®å¿ãççºããã¾ããããã¾ã§ãã¬ã¤ãããã¨ã®ãªããããªãã®ã§ãã GT Nitroã¯ããªãã¬ãã¯ã¹ã¨ã¿ã¤ãã³ã°ã試ãã«ã¼ã¬ã¼ã¹ã²ã¼ã ã§ããæ£ããç¬éã«ã®ã¢ãã·ããããã¬ã¹ãæãåãè¸ãå¿ è¦ãããã¾ããã¾ãã大ç©ãã¡ã¨ç«¶ãã¤ã¤ãè»ã®ãã¥ã¼ãã³ã°ã¨ã¢ããã°ã¬ã¼ããè¡ããªããã°ãªãã¾ãããä¸çä¸ã§æé«ã®ãã©ã¤ãã¼ã¨è»ã¨ã«ã¼ã¬ã¼ã¹ã«æããã¨ã«ãªãããã©ãã°ã¬ã¼ã¹ã®çå
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}