2012-01-01ãã1å¹´éã®è¨äºä¸è¦§
ã¤ãã³ãã®å 容ã¯åå è ã®åå å ±åãè²ã ã¨ããã£ã¦ããã®ã§ãç§ã¯ã¤ãã³ãã®è£å´ãç´¹ä»ãããã¨æãã¾ãã å»å¹´ã¾ã§ã¯Googleã°ã«ã¼ããã¼ã¹ã®MLã§è°è«ããã¦ãPHPMatsuriã®ãµã¤ãã¨Paypal決æ¸é£æºæ©è½ãèªåã§ç¨æãã¦ãã£ã¦ãã¾ããã ä»ã¾ã§ã®åé¡ç¹ã¨ãâ¦
å¥è¨äºãPHPMatsuriã®è£å´ãã¯ãã¡ã http://d.hatena.ne.jp/cakephper/20121229/1356760604 2012å¹´11æ3æ¥ã4æ¥ã«ããã¦PHPMatsuri2012ç¦å²¡ãéå¬ããã¾ããã http://www.phpmatsuri.net/2012/ 楽ããããªäººãã¡ æè¿ãã£ã¨å ¨ã¦ã®æ®ã¿ã¹ã¯ãçµãã£ãã®ã§ãâ¦
CakeAdvent2012ã®3æ¥ç®ãæ å½ãã¾ããããã·ã¥ã¿ã°ã¯ #cakeadvent2012æ¨æ¥ã¯fukayatsuããã®ãCakePHPã¨åã¨cakesãã§ããã cakesã¯ã¨ã³ã¸ãã¢åéä¸ã®ããã§ãï¼ RoRã«è¼ãããã¨ãé¢ç½ããã§ããã ã¯ããã« æè¿ã¯IPAã¨ããè¦ãã®ãã¼ã«ã大好ãã§ãããâ¦
findã³ãã³ãã§ä½æ¥ããå¤ããã¡ã¤ã«ãæ¢ãã¨ããã®ã¯ããããã¾ãããæ¥æ°ã§ã¯ãªãã¦æ¥ä»ãæå®ãã¦æ¤ç´¢ããæ¹æ³ find ./ -newerct '2012/11/6 0:0:0' -and ! -newerct '2012/11/10 0:0:0' ããã§11æ6æ¥ãã10æ¥ã¾ã§ã«ä½æããããã¡ã¤ã«ãæ¤ç´¢ã§ãã¾ãã â¦
ä»å¹´ãCakePHP Adventã«ã¬ã³ãã¼éå¬ï¼ http://www.adventar.org/calendars/40ããã·ã¥ã¿ã°ã¯ #cakeadvent2012 ã§ããã¿ã¯ä½ã§ãè¯ãã®ã§ãã¾ãã¯ç»é²ãã¦æ£åº§ããªããæ å½æ¥ãè¿ãã¾ãããï¼
Wordpressã¯ãµã¼ãã®URLãåºå®å¤ã§DBã®ä¸ã«æ ¼ç´ãã¦ããã®ã§ããã¨ãã°test.example.comã®wordpressãã¼ã¿ããstaging.example.comã«ã³ãã¼ãã¦ããã¾ãåããªããããã§ããã¼ã¿ããã³ããã¦URLãç½®æãã¦ã³ãã¼ãããæ軽ãªæ¹æ³ããã使ãã Wordpress1ã¨â¦
ã¾ã ã¾ã CakePHP3.0ã®ãªãªã¼ã¹ã«ã¯æéããããã¨æãã¾ããï¼ãã¶ããã¨1å¹´ãããï¼ãã ãã ãã¨3.0ã®å½¢ãè¦ãã¦ãã¾ãããCakePHP3ããã¯PHP5.4以ä¸ãå¿ é ã«ãªããããªã®ã§ããã¹ãã£ã³ã°ç°å¢ã«ããªãå·¦å³ããããã§ãããããã¤ã³ã¿ã¼ããããä»æ¥ãã¹ãâ¦
CakePHPã®Cookbook翻訳ã§ãgitã®å©ç¨æ¹æ³ã以åæ¸ãã¾ããã http://d.hatena.ne.jp/cakephper/20120709/1341808861ãã®æã¯ãæ¬å®¶ã®ææ°ã®ç¶æ ãrebaseã§åæ ãã¦ããèªåã®ãªãã¸ããªã®ãã©ã³ãã«pushããã¾ã§ã®æµããæ¸ãã¾ããã ãã®å¾ã¯ãgithubã®ãã¼â¦
æè¡è©è«ç¤¾ããããCakePHP2 å®è·µå ¥éããçºå£²ããã¾ããã http://gihyo.jp/book/2012/978-4-7741-5324-72012/9/29ã«çºå£²ãªã®ã«ããåã¯ãªãä»é ã¨ããæãã§ã¯ããã¾ããã宣ä¼ãããã¨æãã¾ãã ãããæåã¯å¨åº«åããå¿é ãã¦ãã¾ã宣ä¼ããªãã£ããã§â¦
æã¯ãsshã¨ftpãããããè¨å®ãã¦ãµã¼ã管çè ã¯sshãã°ã¤ã³ãã³ã³ãã³ãæ´æ°è ã¯ftpãã°ã¤ã³(chroot)ã¨ããæ§æããã¦ãã¾ããã æè¿ã®sshdã¯ãsftp + chrootã¨ããè¨å®ãå¯è½ãªã®ã§ãããã£ã¦ã¾ãããã¤ãè¨å®æ¹æ³ãå¿ããã®ã§ããã«ã¡ã¢ã ãã ãå¤ãSSâ¦
9/1,2ã¨ã¤ã®ãªã¹ã®ãã³ãã§ã¹ã¿ã¼ã§ CakeFest2012ã®ã«ã³ãã¡ã¬ã³ã¹ãéå¬ããã¾ãããä»å¹´ã¯å»å¹´ã¨åãå ´æã§ããã ä»å¹´ãçºè¡¨ããããã¨æã£ã¦ããã©ãè²ã ãªè¦å ã§åå ããªããã¨ã«ãã¦ããã®ä»£ãããã©ã¤ãé ä¿¡ãã±ããã2ä¸åãããã§è²·ã£ã¦å®¶ã§è¦ã¦ã¾â¦
CakePHP2.2ã«ãªã£ãã®ã§ã1.3, 2.0, 2.1, 2.2ã§æ¯è¼ãã¾ããã æ¯è¼ããã³ã¼ãã¯ãpostsãã¼ãã«ãbakeããã ãã®åç´ãªãã®ã§ãã https://github.com/ichikaway/CakePHP-PerformanceCheckSample ãã®ç»é¢ã®ããã«ããã¼ã¸ã³ã°å¦çãå ¥ã£ãindexã¢ã¯ã·ã§ã³â¦
AWSã§æ°ããã¤ã³ã¹ã¿ã³ã¹ãä½ã£ãéã«ãRootDevice(ESB)ã«30Gã»ã©å²ãå½ã¦ãã®ã§ããã AmazonLinuxãèªèãã¦ãã/dev/sda1(/dev/xvda1)ã®ãã£ã¹ã¯ãµã¤ãºã8Gããèªèãã¦ããªãã£ãã®ã§ãããã30Gã¾ã§åºããæ¹æ³ã ext4ã§ãã£ã¦ã¿ãã®ã§ããããã¶ãext2â¦
gitã使ãã¨ãã¯ãbashrcããbash_completionãèªã¿è¾¼ãã§ããã©ã³ãåã®è£å®ãªã©ãã§ããããã«ãã¦ããã®ã§ãããåããããªãã©ã³ãåãå¤ããªã£ããããã¨ãè£å®ã§ãã¤ã©ã¤ã©ããã¨ãããã£ã¦ã git pull origin hogeã¿ããã«ããæã«é¢åã ãªã¨æããã¨â¦
ãã®ããéçº ã¹ã¿ã¼ãã¢ããRubyä½è : å¤§å ´å¯§å,å¤§å ´å ä¸é,äºååµé¦æ,æ«»äºéçåºç社/ã¡ã¼ã«ã¼: æè¡è©è«ç¤¾çºå£²æ¥: 2012/07/31ã¡ãã£ã¢: åè¡æ¬ï¼ã½ããã«ãã¼ï¼è³¼å ¥: 3人 ã¯ãªãã¯: 140åãã®ååãå«ãããã° (15件) ãè¦ãRubyç¥ããªãã¦ã楽ããèªãâ¦
PHPã¯Copy on Writeã¨ããæ©è½ã«ãã£ã¦ãå¤æ°ãã³ãã¼ããã ãã§ã¯ãå®éã«ã¡ã¢ãªé åãã³ãã¼å確ä¿ããã¾ãããåãé åãåç §ããã ãã§ãã ã³ãã¼ããå¤æ°ã®å¤ãæ¸ãæããæã«åãã¦ã³ãã¼ãè¡ããã¾ãããã®æ©è½ãå¤æ°ã«ä»£å ¥ããå ´åãé¢æ°ã«æ¸¡ããå ´â¦
7/6,7ã«ç¦å²¡ã¨æ±äº¬ã§CakePHP2ç¨ã®CookBook翻訳ãè¡ãã¾ããã ç¦å²¡ã«ã¯9人ãæ±äº¬ãµãã©ã¤ãã«ã¯3人ãã¨ããå½¢ã§ä¸æ°ã«ç¿»è¨³ããããã¨ããä¼ç»ã çµæ 2æ¥ã§ã15ãã«ãªã¯ã¨ã¹ããéã£ã¦ãããã¾ã 翻訳éä¸ã®ãã¡ã¤ã«ã10åãããããã®ã§ããã®ãã¡ãããããâ¦
çºè¡¨è³æã§ã CakePHPææ°æ å ± PHPã«ã³ãã¡ã¬ã³ã¹é¢è¥¿2012 View more presentations from ichikaway èã人ãCakeç¥ããªã人ããããã¨ããåæã§ä½ã£ã¦ãã¾ã£ã¦ãæ¦è¦ãå¤ããªã£ã¦ãã¾ãã¾ãããä¼å ´ã«ããã»ã¼99%ã®äººãCake触ã£ããã¨ãã£ã¦ã8å²ãããã®â¦
PHPã«æ°ããªèå¼±æ§ãè¦ã¤ãã£ã¦ãCGIã¢ã¼ãã§åä½ããPHPã®å ´åã³ãã³ãã©ã¤ã³å¼æ°ãHTTPçµç±ã§æ¸¡ãã¦ãã¾ãããã-sãªãã·ã§ã³ã渡ãã¨PHPã®ã½ã¼ã¹ã³ã¼ãã丸è¦ãã«ãªãã¨ããã®ã話é¡ã«ãªã£ã¦ã¾ãã(-sãªãã·ã§ã³ã¯htmlã§ã·ã³ã¿ãã¯ã¹ãã¤ã©ã¤ãã¾ã§ãã¦ãâ¦
ãã2.2ã®è¶³é³ãèããã¦ãã¦ã¾ããã ãCakePHP 2.1.2 & 2.2.0-beta releasedã http://bakery.cakephp.org/articles/markstory/2012/04/30/cakephp_2_1_2_2_2_0-beta_releasedCakePHP2.2ã§ã¯ã2.0, 2.1ã¨APIäºæã®ãããã®ã¾ã¾ã¹ã ã¼ãºã«ç§»è¡ã§ãããã§ãâ¦
Firebaseã¨ããã®ã4/12ã«ãã¼ã³ããããããã§ãã http://www.firebase.com/ ããã¯å ¬éããã¦ããAPIã¨Javascriptã©ã¤ãã©ãªãå©ç¨ãã¦ãèªåã®ãµã¤ãã«ãªã¢ã«ã¿ã¤ã ã¹ãã¬ã¼ã¸ãæ軽ã«çµã¿è¾¼ããããã«ãªãã¾ããèªåã®Webç»é¢ã«å¿ è¦ãªJavascriptã©ã¤ãâ¦
å¶ç¶è¦ã¤ããmeteorã¨ããjsãã¬ã¼ã ã¯ã¼ã¯ããªãã ããããã â»æããããCometã®meteorã¨ã¯éãã¾ã ãã¢ãããªãè¦ã¦é©ããã®ããDBãæ´æ°ããã¨(ç´æ¥MongoDBã³ãã³ãã§Insertããã¨)å ¨ã¦ã®ã¦ã¼ã¶ç»é¢ã«èªåçã«åæ ã§ãããã¨ã ãããã³ã¼ãããã·ã¥ã¨â¦
CakePHPã®ã·ã§ã«ã§Htmlãã«ãã使ã£ã¦HtmlHelper::url()ãå¼ã³åºãã¦ãURLãåå¾ããæ¹æ³ã§ãã CakePHP1.3ããã¼ã¹ã«æ¸ãã¦ãã¾ãï¼CakePHP2ã®å ´åã¯App::uses()ã使ããªã©ããã°ãããã¨æãã¾ãï¼ã Hâ¦
ãã°ããã®éãç¦å²¡ã«ä½ã¿ã¾ããéã³ã«ãã¦ãã ããã æ1åã¯æ±äº¬ã«åºå¼µãã¾ãã4æã¯4/18-22ã®äºå®ã #cake_beer Cakeæ¬ CakePHPã®Viewãä¸å¿ã«æ¸ããæ¬ãçºå£²ããã¾ããï¼ Cake2ãæ±ã£ã¦ãã¦ãHtmlã³ã¼ãããã¨ä»äºããã¨ãã«ã¯å¿ é ã®æ¬ãããªããã¨ã ä¸â¦
CakePHPåå¼·ä¼ 2012æ¥ @æ±äº¬ ãã¤ã¶ããæ¥ã®Cakeç¥ãã 主å¬è &ã¡ã¤ã³ã»ãã·ã§ã³ã®çºè¡¨è ã ã£ãã®ã«ãã¤ã³ãã«ã¨ã³ã¶ã§æ¬ å¸ãã¾ããã å½æ¥ã¯@mon_satããã¨@hiromi2424ãããç§ã®çºè¡¨è³æãã¤ãã£ã¦å³èãã¬ã¼ã³ãã¦ããã¾ããããããã¨ããããã¾ããï¼çºâ¦
Cake1ç¨ã«ä½ã£ã¦ããXformãã«ãã¼ãCake2.0対å¿ãã¾ããã(CakePHP2.1.1ã§ãåé¡ãªãåãã¾ããï¼ https://github.com/ichikaway/xformHelper/tree/2.0â»ç¾å¨ãPHP5.2ã§ã¯ã¨ã©ã¼ãã§ã¾ãã®ã§ãPHP5.3以ä¸ãåä½æ¡ä»¶ã«ãªãã¾ã(2012/4/18) Xformãã«ãã¼ã¯ãâ¦
ããã¤ãã®ã¨ã¬ã¡ã³ããã¡ã¤ã«ãview/elements/foo/以ä¸ã«ãã£ã¦ããããDBã§æ´æ°ãããã¨ã«ãªãã¾ããã ctpã®å 容ãDBã®1ãã£ã¼ã«ãã«å ¥ãã¦ã表示㯠$this->element(foo/bar)ã®ä»£ããã« DBããåã£ã¦ãããã¼ã¿ãecho($foo['Model']['bar']);ããã°è¯ããâ¦
CakePHPã®ãã©ã°ã¤ã³ã§ãã使ããããªãã®ãã¾ã¨ããCakeplusãCakePHP2ã«å¯¾å¿ãã¾ããã @k1LoWãããå ¨ã¦ã®ä¿®æ£ããã¦ãããã®ã§ãã¼ã¸ããã ãããããã¨ããããã¾ãï¼2.0ãã©ã³ãããå©ç¨ãã ããã https://github.com/ichikaway/cakeplus/tree/2.0ãâ¦
CakePHP1ç³»ã§ã¯ã Model->query('select * from posts where id=?', array('hoge'));ã¿ããã«ãã¦æ¬ä¼¼ãã¤ã³ãã§ãã¾ããããCakePHP2ããã¯ä¸è¨ã®æ¹æ³ã§ããã¨Prepared Statementã§SQLãçºè¡ãã¦ããã¾ãã // in controller $result = $this->Post->getDatâ¦
CakePHP1ã®ã»ãã¥ãªãã£ã³ã³ãã¼ãã³ãã¯ãCSRF対çã¨ããã©ã¼ã æ¹ç«å¯¾çãã»ããã§ãããããä¾ãã°javascriptã§åçã«ãã©ã¼ã ãªã©ã追å ããã¨ãã§ãã¯ã«å¼ã£ãããã¾ããCakePHP2ããã¯ãCSRF対çã¨ãã©ã¼ã æ¹ç«å¯¾çããããããªãã·ã§ã³ã§OFFã«ã§ãã¾ãâ¦