PHP
çæ§ããã«ã¡ã¯ï¼ FuelPHP Advent Calendar 2011 17æ¥ç®ã§ããæ¨æ¥ã¯ @madmamor ããã® ãFuelPHPã®coreã¯ã©ã¹ãæ¡å¼µãã¦ã¿ãã ãã§ãããæ¬æ¥ã®ãé¡ã¯ãoil console ï¼ PHP Interactiveæ¹ã使ã£ã¦ ããã¥ã¢ã«ã®ä¾æã³ããã§ããããªã¡ã½ããã試ãã¦ã¿ããâ¦
çæ§ããã«ã¡ã¯ï¼ FuelPHP Advent Calendar 2011 12æ¥ç® ã¯ç§ @mataga ãæ å½ãã¾ãã æ¨æ¥ã¯ @madmamor ããã® ãFuelPHPã§Facebookã¢ããªãä½ã£ã¦ã¿ãããå®è£ ç·¨ã ãã§ãããæ¬æ¥ã®ãé¡ã¯ãå®é¨ããã½ã¼ã¹ãModulesã«éãè¾¼ãã¢ã¸ã¥ã¼ã«åå²ãã¦ã¿ãããâ¦
ã¿ãªãã¾ãä¹ ãã¶ãã§ããä»æ¥ã¯ä»æµè¡ãï¼ã®FuelPHP( http://fuelphp.com/ )ã«ã¤ãã¦èª¿ã¹ã¦ã¿ã¾ãã ãã¼ãã³ã°ã«ã¹ãã¤ã¹ã®ããããã¬ã¼ã ã¯ã¼ã¯ã§ãã çºç«è£ ç½®ãããçæã¨ããªãã®ã¸ã§ã¼ã¯ããã¸ã§ãã¼ï¼HAHAHAã ï¼ä»æµè¡ãã¨ãããå¾2å¹´ä½ãããæµè¡â¦
çæ§ããã«ã¡ã¯ããä¹ ãã¶ãã§ãã ä»æ¥ã¯è¡¨é¡ã®å°ãã¿ãï¼CodeIgniterã®å¦ç¿ã¨ã¯å¼ã¹ãªãã®ã§ã¿ã¤ãã«ããå¤ãã¾ããï¼ çç¶ä»¥ä¸ã®ãã°ã¬ãã¼ãã®å 容ãCodeIgniter2.0ã® system/libraries/Session.phpã§ãç´ã£ã¦ãªããããªã®ã§ã俺俺修æ£ã³ã¼ããè²¼ãä»ãâ¦
Sample Code (may be buggy) Time line (about this code): http://twitter.com/mataga/status/17738228243 http://twitter.com/mataga/status/17738331964 http://twitter.com/mataga/status/17738497243 http://twitter.com/mataga/status/17738815125 httâ¦
ããã«ã¡ã¯ãä»æ¥ã¯PHP tagsãã¡ã¤ã«çæã®ã¨ã¤ãªã¢ã¹ãè²¼ã£ã¦ããã¾ãã ä»æ´ãªæãã¯ãããã©ãã³ããå¨ã·ãªã¼ãºã¯è³ªããéã§åè² ã ~/.bashrcã«ã§ã追è¨ãããç°å¢æºåã¨ãã¯ãããã¹ãã alias mktags='ctags -a -R --langmap=PHP:.php.inc --php-types=â¦
çæ§ããã«ã¡ã¯ï¼ ãã ãã ã¤ã¶ããã¦ããããã£ããããã°ã®æ´æ°ãæ¢ã¾ã£ã¦ãã¾ã£ãdix3(mataga)ã§ãã ææãã§ãç¶ç¶ãããã¨ã大åã ã¨æããä»åããè¶ ææããã¼ã¸ã§ã³ã§åéãã¾ãã ãããããã¨ã§ææããããªãã¨ã³ããªã¼ãæ¸ãæ°ã«ãªããããããªâ¦
ããã«ã¡ã¯ï¼ä»æ¥ã¯dBugãCodeIgniterä¸ã§ä½¿ããã©ããã¼ãä½ã£ã¦ã¿ãã 以å ã®ã¨ã³ããªã¼ http://d.hatena.ne.jp/dix3/20081121/1227195464 ï¼PEAR :: Var_Dumpã使ã£ã¦ãããã¡ã¤ã©ã«var_dumpæ å ±ãæ´å½¢ãã¦åã俺俺ãã«ããä½ã ï¼ã§ãæ¢ã«è¦ãç®ã綺éºâ¦
This post is a reply to the shinokada's question. Creating an object from a class in Codeigniter - http://stackoverflow.com/questions/1513685/creating-an-object-from-a-class-in-codeigniter/ CodeIgniter study 14 (In Japanese text) - http://â¦
ããã«ã¡ã¯ï¼ ãã¾ã«æ´æ°ããªãã¨å¯ããã®ã§ã¡ããã£ã¨æ´æ°ã ä»CodeIgniterç³»ã§èå³ã®ãããã¨ã®ãªã³ã¯ã ãè²¼ã£ã¦ããã¾ãã ãªã³ã¯ãªã© CodeIgniter - Taco Class Examples http://findmeonthe.net/TACONITE/ CodeIgniterä¸ã§jqueryã使ãæ¹æ³ã®ä¸ã¤ãhttpâ¦
ããã«ã¡ã¯ï¼ä»æ¥ã¯ä»¥åã®ã¨ã³ããªã¼http://d.hatena.ne.jp/dix3/20081013/1223862786 - ï¼ CodeIgniterã®å¦ç¿ 21 - æ¨æºã®Validationæ©è½ãæ¡å¼µããJavascriptã¨phpã®ä¸¡æ¹ã§ããªãã¼ã·ã§ã³ãã§ãã¯ãã¦ã¿ã(ClientServer Validation ã®æ¹é ï¼ ï¼ ã§ä¿ºä¿ºæ¹é â¦
ããã«ã¡ã¯ï¼ Jobboardæ¡ä»¶ãå¾ãã«å»¶ã³ã¦ï¼ã¨ãããä»ã®æ¨ªå ¥ãæ¡ä»¶ãå ã«ãããªãã¦ã¯ãªããªãã¦ï¼ããã£ã¡ã®æ¹ã¯ã¡ãããé²ãã¦ãã¾ãã ä»æ¥ã¯ci-cmsã®ã¢ã¸ã¥ã¼ã«æ§é ãç°¡åã«æ¸ããã¨æãã¾ããã³ãããã¦å¾ã¯ãµã¯ãµã¯ã¢ã¸ã¥ã¼ã«ä½ã£ã¦ããã¾ã£ãããã â¦
ããã«ã¡ã¯ï¼ ä»æ¥ã¯HMVCã¢ã¸ã¥ã¼ã«æ¡å¼µã©ã¤ãã©ãªã®ãã¼ã¸ã§ã³ãã¢ãããã¦ã¿ãã ããæè¿ã®ã¨ã³ããªã¼ã§ãci-cmsããã¼ã¹ã«ããããéæ¹é ãã¦å¼ã£ã¦ãããã¨ãã¦ããä¸ç°ã twitterã«ãæç´ãæ¸ãããã©ãMatchBoxã®ã¢ã¸ã¥ã¼ã«æ¡å¼µã£ã¦åä½ã1.5åã2åâ¦
ããã«ã¡ã¯ ãçãªã®ã«ä½æ ãä»äºããã¦ãã¾ããï¼ä»äºãªã®ãéã³ãªã®ãï¼ ä»æ¥ã¯Jobboardã®ç»é¢æ§æã¨ããããã©ãã¤ã¡ã¼ã¸ãæ¸ãã¦ã¿ã¾ããï¼å®ç©ã¨ã¯å¤ããå¯è½æ§å¤§ï¼ ã¨ããããé°å²æ°ã ãã§ãåºãã¦ã¿ãªãäºã«ã¯ã ä¾ãä»äºã§ãå ¨ãããæ°ãèµ·ããªãã»â¦
ããã«ã¡ã¯ï¼ä»æ¥ã¯CI-CMSã®è¯ãç¹ã»æªãç¹ï¼å¾®å¦ãªç¹ï¼ãæãã¦ããã¾ãã ååã¨ã³ããªã¼ã®ç»é¢ãã³ãã®ãã¾ãã®å 容ã¨ãã¾ãå¤ãããªãããã ããããã¼ã¹ã«éæ¹é ãã¦ã使ããã¢ããåºæ¥ãããªï¼ ã¨ããè¦ç¹ã§ä»¥ä¸ããããææ³ãã°ã è¯ãç¹ï¼è¯ãç¹1ï¼â¦
ããã«ã¡ã¯ï¼ä»æ¥ã¯ååã®Jobboardã¨ã³ããªã¼ã®ç´ æã¨ãã¦é¸ãã ãAnother Codeigniter CMS (http://code.google.com/p/ci-cms/) ãæ¨æºç¶æ ã§è»½ãåããã¦ã¿ã¾ãã軽ãã¨ããå²ã«å»¶ã ã¨é·ãã§ããã ãã®ä¸é£ã¨ã³ããªã¼ã ãæä½ããªããå¾®å¦ã«ä¸å¯§åã§ãã¤â¦
ï¼2010/08/26 追è¨ï¼ OAuth対å¿ãã¦ãªãã¦ãã¼ã·ãã¯èªè¨¼ã®ã¾ã¾ãªã®ã§ãä»ã¨ãªã£ã¦ã¯åèã«ãªãã¾ããã ï¼2010/08/26 追è¨çµããï¼ï¼ä»¥ä¸åæï¼ ããã«ã¡ã¯ï¼ä»æ¥ã¯ Twitter API CodeIgniter Library - http://www.haughin.com/code/twitter/ ã使ã£ã¦ãCodâ¦
ããã«ã¡ã¯ï¼ããã°æ´æ°ã復活ããããã«å°ããã¤æ¸ãã¦ããã¾ãã ããã¾ã§ã®CodeIgniterã®å¦ç¿ ã¨ã³ããªã¼ã¨ã¯ã ã¡ãã£ã¨è¶£åãå¤ããã¨æãã¾ãã®ã§ãäºæ¿ãã ãããï¼ã½ã¼ã¹ã®è¨è¿°ããããæ¦å¿µçãªãã®ãå¤ããªãäºæãï¼ jobboard ã CodeIgniterã«çµâ¦
ãã®ããã°ãæ°åããå ¥ããã«æ´æ°ãã¦ãããããã«å°ãã¿ã ä¸ãã¿å¤§ãã¿ã¯æéãè¦ã¦ã¾ãããã¾ãã twitterã®ãã©ãã¼å 追ã£ã¦ãããããªã®ããã£ããå ãµã¤ãã¯ãã¡ã http://code.google.com/p/codeigniter-1-7-1-quick-reference-cheatsheet/ããªã³ãâ¦
ããã«ã¡ã¯ããä¹ ãã¶ãã£ããä»æ¥ã¯Lightwindow(ThickBoxã¿ãããªã®ï¼ãCodeIgniterä¸ã§ä½¿ã£ã¦ã¿ããå ãã¿ã¯ http://codeigniter.com/wiki/Lightwindow_with_CI/ ã§ããã»ã¼å ãã¿ã«å¾ãã°åããã ãã©ãå®éã«ä½¿ã£ã¦ã¿ãã¹ããã²ãããå®é¨åããã®ã¿ã â¦
ä»æ¥ã¯ååãµããã¾ãéããè¦ä»¶ãå§ç¸®ãããæä½éå¿ è¦ãªãã¨ä»¥å¤ã¯å¾ãã«åãã ã¦ã¼ã¶ã¼ãæ±ãã¦ããä¸çªéè¦ãªäºãã¼ãããªãããã«ããã ãã®ã¨ã³ããªã¼ã¯è³å ã®æ¨¡æ¬ããã¸ã§ã¯ãã ããäºç®ã¯é¢ä¿ãªããã å®éã¯åæ¹ã許容ã§ããäºç®ã»æéã¨ã®å ¼ãåâ¦
ã¿ãªããããã«ã¡ã¯ï¼ä»æ¥ã¯åååºãè¦ä»¶ãã¡ãã£ã¨ãµããã¾ãã¦ã¿ããã¨ã«ããã ï¼æ¬¡åã¯ãµããã¾ãéããè¦ä»¶ãå§ç¸®ããäºå®ï¼ ï¼ååï¼ http://d.hatena.ne.jp/dix3/20090311 ï¼ åååºãè¦ä»¶è³å ä¼è°ï¼åç®ã®å 容ã¯ä»¥ä¸ã®éããA-1-1ï¼è¦ä»¶ã®æ´ãåºãï¼â¦
ä»æ¥ã¯å°ãããã¿ã æ°åã»ã©ã¯ã¾ã£ãã®ã§ãä¸å¿ã¡ã¢ã è¦ãã¯ããªã®ã«å¿ãã¦ããã£ããããã¯ä¿ºã ããããããªããã©ã ããã©ã«ãã®æåãå¤ãã£ã¦ããã CodeIgniter1.7.1ã®changelog - http://codeigniter.com/user_guide/changelog.html ãè¦ã¦ããã°ãâ¦
ä½æ¥æ¥å ±ç®¡çã£ã¦ã©ããªæ©è½ãä½ãã°ããããªï¼ã¾ãã¯ä¿ºèªèº«ã«è³ªåãã¦è¦ä»¶ãæ´ãåºããã¨ã«ããã ï¼ååï¼http://d.hatena.ne.jp/dix3/20090310 ï¼ èªå·±ã¤ã³ã¿ãã¥ã¼åæï¼é ä¸åï¼ã¨ã¦ãå°ããªçµç¹ãã¤ã¡ã¼ã¸ãã¦ãããï¼ã¨ããå¶ä½ä¼ç¤¾ï¼ 大ããçµç¹ã ã¨â¦
ããã«ã¡ã¯ï¼ æ¸ããã¿ã«å®å ¨ã«è©°ã¾ã£ãã®ã§ãä»æ¥ãããã®ããã°ç¨ã«ãããã¼ãä½æ¥æ¥å ±ç®¡çããã°ã©ã ã§ãä½ãå§ãããã¨ã«ããã å¿ããã®ã§é²æã¯å°ããã¤ã éä¸ã§æ¾ç½®ã¯ããªãäºå®ãªã®ã§æ°é·ã«çºãã¦ãã ããã åæãåèã½ã¼ã¹ï¼ç§»æ¤ï¼ãªã©ã¯ä»ã®æ®µâ¦
ããã«ã¡ã¯ãããããæ¥ã§ãããåã«ãããããæ¥ã¯æ¥ãã®ã§ããããï¼ä»æ¥ã¯ CodeIgniterä¸ã§Zend_Registryã使ã£ã¦ã¿ããã¨ã«ãããï¼éå»ã®ã¨ã³ããªã¼ã§æ¢ã«Zend Frameworkã¯ä½¿ããç¶æ ã«ãã¦ããã®ã§ã使ããããã«ããã¾ã§ã®èª¬æã¯çç¥ã詳ããã¯ãã£ã¡â¦
ä»æ¥ã¯ããããã¦ããçããªã¨ã³ããªã¼ã ãã®ååãã linodeã®fremontã®VPS(Linode360)ã«ã ãã®ããã åºã Zend Server ãçªã£è¾¼ãã§ã¿ãããã§ãã®ä¸ã«ãã®åä½ã£ã ã¤ãã¼ã®ç»åæ¤ç´¢apiã¨å½¢æ ç´ è§£æapiã®ç»åæ¤ç´¢ãéã³ã¢ããªãã®ãã¦ã¿ãã ã¡ãªã¿ã«Coâ¦
ä»æ¥ã¯ç»é¢ãã³ãã®ã¿ã®ã¨ã³ããªã¼ãéå»ã«Freak Authã®èªè¨¼ã«ã¤ãã¦ã¨ã³ããªã¼ãæ¸ãã¦æ¾ç½®ãã¦ãããã©ã ãããã使ãã«ããã¨ããããã£ãã®ã§ã(routeã¨ãç¶æ¿ã¨ã1.7対å¿ã¨ãï¼ä»æ´ãªããDX Auth ã®æ¹ã試ãã¦ã¿ãã DX Auth - http://dexcell.shinsenâ¦
æ¥æ¬ã®CodeIgniterã®ã¡ã¼ãªã³ã°ãªã¹ãï¼http://lists.sourceforge.jp/mailman/listinfo/codeigniter-usersï¼ ãèªãã§ããããVersion 1.7.1ãåºãã¨ã®ãã¨ããã§ããã¼ã¸ãã¦ã¿ãã 以ä¸ä¿ºã¡ã¢ ï¼WinMergeã§ç®è¦ç¢ºèªãï¼ã¾ã 軽ãããåä½ç¢ºèªãã¦ãªããããâ¦
ããã«ã¡ã¯ãæè¿å¿ããï¼ç¹ã«æ°ããæ¸ããã¿ããªãã®ã§æ¾ç½®æ°å³ã®ããã°ã§ããä»æ¥ã¯ http://d.hatena.ne.jp/rsky/20070918/1190041651 ããã®æã® php_qr-0.3.1ï¼è¦ã³ã³ãã¤ã«ï¼ã使ã£ã¦ãPECLçµç±ã§QRã³ã¼ããç°¡åã«çæã»è¡¨ç¤ºãããã«ããä½ã£ã¦ã¿ããï¼â¦