naoya.dyndns.org is currently offline. Please try again later. Questions about our services? Learn more at Dyn.com.
id:naoyaã®æè¡çºè¡¨(10æ15æ¥ã®æè¡åå¼·ä¼ - ã¯ã¦ãªæè¡çºè¡¨ä¼æ¥è¨ - æ©è½å¤æ´ããç¥ãããªã©)ã ãããèãã¦ãCatalysté¢ç½ããã¨ãããã¨ã«æ°ã¥ãã¦è§¦ã£ã¦ã¿ã¦ãã¾ãã ã¤ã³ã¹ãã¼ã«ã¨ç°¡åãªåä½ Perl ã® MVC ãã¬ã¼ã ã¯ã¼ã¯ Catalyst ã«å ¥éãã¦ã¿ã : NDO::Weblogãä¸éãèªãã°åããã¨æãã¾ãã ç§ã®ç°å¢ã 㨠sudo perl -MCPAN -e 'install Class::DBI::mysql' ã追å ã§è¡ãå¿ è¦ãããã¾ããã ãä½æ³ Catalystã§ã¯ã©ãæ¸ãã®ãæ£ãããçãè¿·ãé¨åãå¤ã ããã¾ãã ãããã調ã¹ãçµæãããã ã¨æããã®ãç´¹ä»ãã¦ãããæ¨æºå(?)ã®ãããå°ã«ãªãã°ããããªã¨ã URLãããã³ã° Catalystã®URLãããã³ã°ã¯ã¨ã¦ãæè»ã§ãããããã種é¡ããã£ã¦ãã¾ãã¾ãï½ã ç´æ¥URLãæå® /foo/b
é¡å Catalyst::Manual::Cookbook - Catalystã§ãæçã 説æ ãããæããç¼ãã¦ãããããããã³ã¼ãï¼ ã¬ã·ã ãããã°ç»é¢ãå¼·å¶è¡¨ç¤ºãã endã¢ã¯ã·ã§ã³ã§die()ãå¼ã³åºãã¨ããªã¯ã¨ã¹ãã®æå¾ã«ãããã°ç»é¢ãå¼·å¶è¡¨ç¤ºããããã¨ãã§ãã¾ãã sub end : Private { my ( $self, $c ) = @_; die "forced debug"; } ãã¡ãã¡ãããæ¸ãããæ¶ãããããã®ãé¢åãªããendã¢ã¯ã·ã§ã³ã«ãããªæ¡ä»¶æãå ãããã¨ãã§ãã¾ãã sub end : Private { my ( $self, $c ) = @_; die "forced debug" if $c->req->params->{dump_info}; } ãããã¦ããã¨ããã¨ãã°ã¯ã¨ãªã¹ããªã³ã°ã«"&du
Jesse Sheidlowerããã®è¨±å¯ãå¾ã¦ã翻訳ãå ¬éãã¦ããã¾ãããªãããã®ç¿»è¨³ã¯ãunder same terms of Perl itselfã§ãé å¸å¯è½ã§ãã åæã¯ãã¡ã: Catalyst ç®æ¬¡ Jesse Sheidlower June 02, 2005 Web frameworks are an area of significant interest at the moment. Now that we've all learned the basics of web programming, we're ready to get the common stuff out of the way to concentrate on the task at hand; no one wants to spend time rewriting the same bits
é¡å ã¯ã¤ãã¯ï¼ãã¼ãã£ãªCatalystãã¥ã¼ããªã¢ã« æ¦è¦ Catalystã¯ã¦ã§ãã»ã¢ããªã±ã¼ã·ã§ã³ãæ§ç¯ããããã®ãã¬ã¼ã ã¯ã¼ã¯ã§ããï¼ï¼¶ï¼£ãã¶ã¤ã³ã»ãã¿ã¼ã³ã«ã®ã£ã¨ã£ã¦ããââãã£ã¨ç°¡åã«è¨ãã¨ã便å©ãªã¤ã³ãã©ãããããç¨æãã¦ãããã³ã¼ãã®ã¬ã¤ã¢ã¦ãã®ä»æ¹ãææ¡ããã¦ãããããã§ãæ°ããã¢ããªã±ã¼ã·ã§ã³ãæ§ç¯ããããä»äººã®ã³ã¼ããåå©ç¨ãããã¨ãããã¨ãã±ã£ã±ã¨ã§ããããã«ãªãã¾ãããã£ã¨ãã£ã¨ç°¡åã«è¨ãã¨ãCatalystã¯ã¦ã§ãã»ã¢ããªã±ã¼ã·ã§ã³ãæ¸ãã¨ããããããããããé¨åãããããé¢åè¦ã¦ãããéå ·ãªã®ã§ããã¿ãªããã¯æ¥½ããé¨åã ããã¦ããã°ããã®ã§ãï¼ ãã®ãã¥ã¼ããªã¢ã«ã®ãããã¯ãã¿ãªããã«Catalystã®ãã¨ãç¥ã£ã¦ããã£ã¦ããã¢ã¤ãã¯ã¤ãã¤ãã¨è¨ããã人ã«ãªã£ã¦ããããã¨ã§ãããã¶ãä¸æéãããã°ååã§ãããããããã®å ´åã®ã¤ãã¤ã¨ããã®ã¯ããæ¬ä½ã®
Catalystã¯ãPerlã®Webã¢ããªã±ã¼ã·ã§ã³ãã¬ã¼ã ã¯ã¼ã¯ã§ããåãPerlã®Webã¢ããªã±ã¼ã·ã§ã³ãã¬ã¼ã ã¯ã¼ã¯ãMaypoleã®å¾ç¶ã§ãRuby on RailsãStrutsã«ã¤ã³ã¹ãã¤ã¢ããã¦ä½ããããã®ã§ãã Maypoleã¯ãã¼ã¿ãã¼ã¹ã®CRUDï¼CreateãReadãUpdateãDeleteï¼ã«ç¦ç¹ãå½ã¦ããã¦ãã¾ããããCatalystã¯ãã£ã¨æ±ç¨çãªWebã¢ããªã±ã¼ã·ã§ã³ã®ããã«ä½ããã¾ãããããã¦ãRuby on RailsãStruts ã®è¯ãã¨ãåãããããæ´ç·´ãããWebã¢ããªã±ã¼ã·ã§ã³ãã¬ã¼ã ã¯ã¼ã¯ã«ãªã£ã¦ãã¾ãã Catalystã使ãã¨Webã¢ããªã±ã¼ã·ã§ã³ã«å¿ è¦ãªãã®ãã»ã¨ãã©å ¨ã¦æã«å ¥ããç°¡åãã¤ã¹ãã¼ãã«éçºã§ãã¾ãã Webãµã¼ãã¼ Catalystã¯ãCGIãmod_perlãmod_perl2ãlighttpdãFastCGIçã ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}