第35åPHPåå¼·ä¼ã«åå ãã¦ãã
æ¨æ¥ã®ä»æ¥ã§ããããPHPåå¼·ä¼ã«åå ãã¦ããã
ã第35回PHP勉強会 - events.php.gr.jpã
åå ç³ãè¾¼ã¿å¾ã«æµ·ã«è¡ããã¨ããèªããããã£ã¦æã£ã¦ããã®ã ããä»æ¥ã®å¤©æ°ã®è¯ããããã¦ãæµ·ã«è¡ããããªã¼ã¨ãæãã¤ã¤ä¼å ´ã¸åããã
CakePHP使ãã¯ããã人ã¸ã®ãã¯ããã¯éå ¬é
ï¼ç§ã¯ããã«ãã¦events.php.gr.jpãEthnaããCakePHPã«ããããããï¼
çºè¡¨è
ï¼haltãã (æ ªå¼ä¼ç¤¾RYUS)
çºè¡¨ã¯CakePHPã®è©±ã
èå³ããã£ãã®ã¯ãçµãã£ãå¾ã®ã½ãã£ã¨è©±ãã¦ããæ¥æ¬èªå¤æã«ã¤ãã¦ã®ããããã£ãããazikãã¨ããã®ã使ã£ã¦ãããããã
ããã¨ãï¼
http://hp.vector.co.jp/authors/VA002116/azik/azikindx.htm
ãã¨ã¯ã質çå¿çã§ãã£ããè¤æ°ã®SQLãæµããã¨ãã話ã«ã¤ãã¦ã
DBã«è¤æ°ã®ã¯ã¨ãªãæãã¦ãã¾ãã®ã£ã¦å®éã«ã¯ã©ããªãã ãããï¼Webãè¤æ°å°ã«ãªããããªå ´åãDBãµã¼ãå´ã«è² è·ãé«ããªã£ã¦ãã¾ãã®ã§ã¯ãªããã¨æã£ãã
MySQLã®å ´åãå¤ã«JOINããããã¯ãè¤æ°ã¯ã¨ãªãæããã»ããæ©ãã¨ãã話ãåºã¦ããã
PHPã§ããã¹ãé§åéçºã ã
çºè¡¨è ï¼kunitãã (æ ªå¼ä¼ç¤¾ãã£ã)
ä½åãåã«èããTDDï¼ãã¹ãé§ååéçºï¼ã«ã¤ãã¦ã
ã¾ããDocTestã«ã¤ãã¦ã
PHPããã§æ¸ããã¦ãããã¡ãã®è¨äºã®å·çè
ã§ãã
http://www.phppro.jp/school/test/
DocTestã§ãããªã¨æã£ãç¹ã
<?php // è²ã¥ã /** * 7æ¡ã®æ°åãã©ããããã§ãã¯ãã * * #test * <code> * #true(#f(1234567)); * #false(#f(123456)); * #false(#f(12345678)); * #false(#f(-123456)); * #false(#f(123.456)); * </code> * * @param integer $value ãã§ãã¯ãããæåå * @return boolean ãã§ãã¯çµæ * @access public */
assertTrueã¨ãã®è¨è¿°ãçãã¦ãããããããªãã
質çå¿çã§åºã¦ããããã©ã¤ãã¼ãã¡ã½ããã®ãã¹ãã«é¢ããåçã®ä¸ã§ãrunkitã使ã£ãããããã¨ãã話ãããã¾ããã
åå¨ãç¥ãã¾ããã§ããã
http://jp2.php.net/runkit
symfonyã§ã¢ãã¤ã«éçºãªãã¦ã©ãã§ããã
çºè¡¨è ï¼ãã©ããµãã (ã¢ã·ã¢ã«æ ªå¼ä¼ç¤¾)
æåã³ã¼ãé¢é£ã§ãSoftBankã®Shift_JISã®ä»¶ã¯ç¥ã£ã¦ããããDoCoMoãauã®ã¯ç¥ããªãã£ãã
- DoCoMo
- UTF-8ã§ã丸å²ã¿ã®1ãªã©ãè½ã¡ããã®ããã
- au
- SoftBank
- Shift_JISã§ã¯ãçµµæåãã¡ããã¨POSTãã¦ããªã端æ«ããã
auãSSLé åã§UTF-8ã使ããªãã®ã¯ãªãã§ã ããï¼
UstIRCã§è©±ãããããã¨ï¼ååã¯DoCoMoã®è©±ï¼
16:35
ãã³ã¢ã£ã¦ãUTF-8ãæ¨å¥¨ãã¦ãªãã£ãã£ãï¼
16:37æ¨å¥¨ãã©ããã¯ããããªããã©ãæåã³ã¼ãã¯Shift-JISããã³UTF-8ãç»åã¯GIFããã³JPEGã«å¯¾å¿ãã¦ãã¾ãããã¨ã¯æ¸ãã¦ããã¾ãã
16:37http://www.nttdocomo.co.jp/service/imode/make/content/xhtml/
16:37auãªãeucãã§ããã¯ãããã¶ãutf-8ã¨åãã§ãsslã¯ã¢ã¦ãã ãã©ã
16:38Shift_JISéæ¨å¥¨ã¯ãçµµæåã®å½¢å¼ã®è©±ã ã£ã http://www.nttdocomo.co.jp/service/imode/make/content/pictograph/howto/index.html
16:38auã®SSLã§ãend-endã§ãã°ããã®ããªï¼
16:40ãã¶ãauã¯æ§é ä¸ããã£ãªã¢ã®ãã£ã·ã¥ãµã¼ãã¼çµç±ããã®ã§ã¯ï¼
16:42link by linkãããªãã£ããç´ã§ããåããã¦ããã¨ããèªèã ã£ããã©èªèééãã¦ããã®ããª
16:43EZWebã®SSL http://www.au.kddi.com/ezfactory/tec/spec/ssl.html
16:45HDMLãããã¤ãã«ã¼ãã¨ãããï½
å¾ã§è©¦ãã¦ã¿ããã
ã¢ãã¤ã«åãã¯é ãçããç¹ã«ã»ãã·ã§ã³ã¨ãã
SSLããããããªãµã¤ãã§ã¡ããã¨ã»ãã·ã§ã³ä½¿ã£ã¦ããã¨ãããããã°ã話ãèãã¦ã¿ããã
使ããã¨ãã£ã¦ããããªåé¡ãããã®ã§ã
ãauのSSLでのCookieの挙動がおかしい - maru.cc@はてなã
ãau,SoftBankでSSLでCookieセッションを使用する場合の問題点 - maru.cc@はてなã
é£ã³å ¥ãLT1
Project Zeroã®ç´¹ä» part 2
çºè¡¨è
ï¼æ ¹æ¬ãã
PHPããJavaã®ã³ã¼ããå¼ã³åºãã¨ãã話ã
ãªããä¸çºãã¿ã¿ããã«æãããã©ãå®éã«ä½¿ããã®ã ãããï¼
é£ã³å ¥ãLT2
yandoãããçºè¡¨ã¨ããæãã ã£ãã®ã§ãããWindowsUpdateã«å
¥ã£ã¦ãã¾ã£ãã¨ã®ãã¨ã§ãé£ã³å
¥ãLTã§ããããã§ããªããªã£ã¦ãã¾ãã¾ããã
æ®å¿µã§ããããã£ã¨æ¬¡åèããã¨æãã¾ãã
æ親ä¼
1件ç®ã¯ããºã¡ã±ã¼ãããç¼èå±ãgusagiããããä»äºã§å¿ããä¸ããã¤ãã¦å¹¹äºããã¦ãã ããã¾ããã
ååã¯å
¬å¼ãµã¤ãç³»ã®ã話ã¨ããããã§ã¯æ¸ããªãè£è©±ã¨ãã§çãä¸ããã¾ãããå¾åã¯å¸ã移åãã¦ãé«æ¨ãããkunitããã®ã¨ããã§ãã¹ã話ãã
äºæ¬¡ä¼ã«ååã»ã©ã®äººãæµãã¦ããããæ°´ç£ã¸ã
kunitããã¨å¼ãç¶ããã¹ãã®è©±ãç±ãã£ãã§ãã
å人çã«ã¯ãåå¼·ä¼ã®æ¥½ããã¨ãã£ã¦æ親ä¼ã§æèã®é«ã人ãã¡ã¨è©±ããã¦åºæ¿ãåãããã¨ã大ããªå²åãå ãã¦ããã¨æã£ã¦ãã¾ããå½ããåã§ãããçºè¡¨æéä¸ã¯çºè¡¨è
ã®è©±ãèãæéãªã®ã§ãããçºè¡¨å´ã§ã¯ãªãã¦ããé¢ç½ã話ããã¦ããã人ã¯ãããããã¦ãã¨ããã人ãã©ããã£ã¦ããããä½ãèãã¦ããããèãã®ã¯æ¥½ããã§ãã
çºè¡¨ç¨ã¨ãã¦æ´çããæ
å ±ã ãã§ãªããä¼è©±ã®ä¸ã§åºã¦ãã話ãçã
ããããã£ã¦é¢ç½ãã§ãã
ã¨ãæ親ä¼ã«åºã¦å¸°ã£ã¦ãã¦ããã«å¯ã¡ãã£ãã®ã§ãããä¸æ¹ã帰ã£ã¦ãã¦ãããã£ããæãåããã¦ããhaltããã®ãããªæ¹ããããã¨ãã
ãCakePHPでdoctestできるようにした!(まだModelだけ) | この先生きのこるにはã
ãªãããæè¿é£²ãã§ã°ã£ãã§å®éã«æãåããæéãæ¸ã£ã¦ããã¿ããã§ãããã£ã¦ã©ããªãã ãããã¨åçãããã¨ãã
ãªã«ã¯ã¨ããã楽ããä¼ã§ããã