The Sinatra Book has moved
å æ¥ç»å ´ããGoogle Waveãæªç¥æ°ã®é¨åãå¤ããã©ã®ãããªçºå±ããã¦ãããåãããªããããããããããããæè¡ã ãç¹ã«æ¢åã®Webãµã¤ããWave対å¿ã«ããæã®ãªã¢ã«ã¿ã¤ã ã§ã®ã³ã©ãã¬ã¼ã·ã§ã³ã¨è¨ãã®ã¯é常ã«é åçã ã ãã¡ã¤ã«æ§æã¯ãã®ããã«ãªã£ã¦ãã ã ããã®ãããªæ©è½ãç¾å¨ã®Webãµã¤ããæ¡å¼µãã¦è¿½å ããã®ã¯æå¤ã¨å¤§å¤ããç¥ããªããççµåã«ããã°ãå¾ã ã®ã¡ã³ããã³ã¹ã楽ããã ããããªæã«ä½¿ããããªã®ãWave Robot Sinatra Templateã ã ä»åç´¹ä»ããããªã¼ã¦ã§ã¢ã¯Wave Robot Sinatra TemplateãWave対å¿ã®ãããããä½ãéã«ä½¿ãããã³ãã¬ã¼ãã ãã½ã¼ã¹ã³ã¼ãã¯å ¬éããã¦ããããã©ã¤ã»ã³ã¹ã¯æè¨ããã¦ããªãã£ãã®ã§ã注æããã ãããã Wave Robot Sinatra Templateã®é åã¯Wave対å¿ã®ãããããä½ãéã«æ
YAPC::Asia 2008 㧠Michael Schwern ã¯ãSEO ã«æå¹ãªç¬èªãã¡ã¤ã³ãåã£ã¦ããã£ã¨ Perl åå¿è ãéã¾ãããã nice 㪠Perl ã®æ å ±ãéãããµã¤ããä½ãï¼ãã¨ãã£ãããã§ããããã¦ãPerl-users.jp - æ¥æ¬ã®Perlã¦ã¼ã¶ã®ããã®ãããµã¤ãããã§ãã¾ããã ãã㯠Arc ãåãã§ã¯ãªãã®ãï¼ ããæã£ã¦ arc-users.jp ãã¡ã¤ã³ãåããããã« arc-users.jp ãéå§ãã¾ããå®å ¨ã« perl-users.jp ã«ã¤ã³ã¹ãã¤ã¢ããã¦ãã¾ããæ¬å½ã«ãããã¨ããããã¾ãããã¼ãã©ã³ã§ãã ããªã·ã¼çãªç© ã¨ããããããã©ã¼ã©ã ã§æ å ±äº¤æãæ¥æ¬èªã§èªãåãã ãã®ãµã¤ãã®æ³å®ããå©ç¨è 層ã¯ãè¶ åå¿è ããè¶ ä¸ç´è ã¾ã§ã ãã¨ãã° Paul Graham ãããããªãè¨èªä»æ§ãå¤æ´ããã¨ãã¦ãããã£ããåå¿è 層ã«ãªã¼ããã
ããã·ã¥ã¨é åã®åç §ãå ¥ã交ãã£ããããªè¤éãªãã¼ã¿æ§é ã®ãå ¨value ãåçã«å å·¥ãããã£ãã®ã§æ¬¡ã®æ§ã«ãã¦ã¿ã¾ããã (ä¸ç¥) ãã§ã«ä¼¼ãã¢ã¸ã¥ã¼ã«ãããæ°ãæ¿ãããã¦ãã¾ãï¼ ãåç¥ã§ããããã²æãã¦ãã ããã¾ãã [perl] è¤éãªãã¼ã¿æ§é ã®value ãä¸æ°ã«æ¸ãæããæ¹æ³ - harupiyoã®æ¥è¨ ã¨ãããã¨ã§Data::Visitor::Callbackããºããªããã«ããããã®ãããªãããªã¼ã¨ã use strict; use warnings; use Data::Dumper; use Data::Visitor::Callback; my $rh_testdata = { 'a' => 1, 'b' => { 'aa' => 1, 'ab' => [ 1, 2, 3, \ 'test', 5 ], 'ac' => 3, }, 'c' => 3, 'd' => 4
Data::Model ã£ã¦ãã ORM ã¿ããã® CPAN ã«ãããã ããã¼ãã循ç°åç §ããããã¨ãã¿ã¼ã«ãªããããªãã§ãããªã«äººã®ç®ãæ°ã«ããã®ã ããã¨ããã¸ã¬ã¹ã æ©éã§ãã Data::Model ã£ã¦ãã O/Rãããã¼ çãªç©ã CPAN ã«ããã¾ããã Data::Model http://github.com/yappo/p5-Data-Model/tree/master å æ¥ã¯ MVC ã¢ãã«ã§è¨ãæã® Model ãä¸æ¬ã§ã¾ããªããã¤ããã§å®è£ ãã¦ãã¾ããããã¸ãã¯å¦çã¯æ®éã® Perl ã®ã¯ã©ã¹ã§æ¸ãã¡ãã£ãæ¹ãæ½°ããèãããã主ã«ã¹ãã¬ã¼ã¸ã Perl ã®ãªãã¸ã§ã¯ãã«ãããã³ã°ãã ORM çãªä½¿ãæ¹ã主æµã¨ãªã£ã¦ãã¾ãã ããã¦ã Data::Model ã®å¤ãã®å®è£ ãè¨è¨ãªã©ã¯ Data::ObjectDriver ãåèã«ãã¦éçºãã¾ããã ä»ã«ãå¾è¿°ãã¦
æè¿ãEC2ã¨ãGAEã¨ããç°¡åWebãããã¤ãµã¼ãã¹ãæµè¡ãã§ãããããããç¡æã§ç°¡åã«ä½¿ããRubyã®ãµã¼ãã¹ãåºãããã§ããããããHerokuï¼ãã¼ãªã¼ã¯ã¨èªããããï¼ãç¡æã§ä½¿ããç°å¢ã¯ã容é5MBã¨å°ãªãã§ãããå人ã§ç°¡åãªãµã¼ãã¹ãããã ããªãååãã¨æãã¾ããSSLã使ããã¿ããã§ãã®ã§ã Herokuã§å®¹éã»æ§è½ä»¥å¤ã§é¸ã¹ããµã¼ãã¹ã¯ãããªæãã 詳ãããã¨ã¯åèãªã³ã¯å ã«ãä»»ãããã¨ãã¦ãã¡ãã£ãã試ãã¦ã¿ã¾ããã å¿ è¦ãªç°å¢ æä½éã以ä¸ãå¿ è¦ã§ãã Herokuã¢ã«ã¦ã³ã Git SSHéµ gemã§ä»¥ä¸ãå ¥ãã¦ããã¾ãããã $ sudo gem install heroku sinatra æé 1. é©å½ã«ãã£ã¬ã¯ããªãåã£ã¦ã以ä¸ã®ãã¡ã¤ã«ãä½ãã¾ãã myhello.rb require 'rubygems' require 'sinatra' get '/
ããã¯ä½ï¼ ,cã§é¸æè¡(orç¾å¨è¡)ã®ã³ã¡ã³ãã¢ã¦ãããã°ã«ããvimã¹ã¯ãªããã§ã 2009/6/11è¿½è¨ åºæ¬çã«ãNERD_commenterã®ä¸ä½äºæã§ã vimscriptã®ç·´ç¿ç¨ã«æ¸ãããã®ã§ãããã®ã§ãæ¶ããã«æ®ãã¦ããã¾ãããNERD_commenterã®ä½¿ç¨ãæ¨å¥¨ãã¾ã 使ãæ¹ ãããªå ´åã«ãä¸ã®2è¡ãé¸æãã¦ã,c 㧠123 456 ãããªé¢¨ã«ã³ã¡ã³ãã¢ã¦ãããã¾ã(ä¾ã¯rubyã®å ´å) # 123 # 456 ããä¸åº¦ã,cãæ¼ãã°ãã³ã¡ã³ãã解é¤ããã¾ã NERD_commenterã¨ã©ãéãã®ï¼ è¡ã³ã¡ã³ãããã°ã«ãã¾ã(NERD_commenterã¯/* */) 2009/6/11追è¨ï¼NERD_commenterãè¡ã³ã¡ã³ã対å¿ãã¦ã¾ããâ¦ã ãã¨ãããã©ã«ãã§NERD_commenterããµãã¼ããã¦ãªããã¡ã¤ã«ã¿ã¤ãã主ã«æ±ã£ã¦ã¾ã (ä»ã®ã¨ãããpr
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}