2006-02-01ãã1ã¶æéã®è¨äºä¸è¦§
ãã¡ãã¡hiddenãã£ã¼ã«ããæ¸ãã®ã¯é¢åã ããé ç®åãééããå¯è½æ§ãããã®ã§Smartyã®pluginãä½ã£ã¦ã¿ãããããMoony 0.8.1ã§è¿½å äºå®ã使ãæ¹ã¯ãããªæã: {moony_token xhtml=true}ãã³ãã¬ã¼ãã®formå ã«ä¸è¨ã®ããã«è¨è¿°ããã¨ã以ä¸ã®ããã«å±éâ¦
ãã©ã³ã¶ã¯ã·ã§ã³ãã¼ã¯ã³ã®çæï¼ãã§ãã¯æ©è½ãå®è£ ãã¦ã¿ãããã®æ©è½ã¯Moony 0.8.1ã§è¿½å ãããäºå®ãMoony_Tokenã¨ããã¯ã©ã¹ãæ°ãã«è¿½å ãã¡ã½ããã2ã¤ç¨æããã generate(&$session, &$response) ã»ãã·ã§ã³ãéå§ããã¦ããå ´å ã©ã³ãã ãªæååâ¦
Moony 0.8.0ããªãªã¼ã¹ãã¾ããã2件ã®ãã°ä¿®æ£ãå«ã¿ã¾ããã¾ããã¯ã©ã¹æ§é ã0.7.xããå¤æ´ã«ãªã£ã¦ããã®ã§æ³¨æãã¦ãã ããããã¦ã³ãã¼ãã¯SourceForge.jpããã©ããã å¤æ´ç¹ã¯ä»¥ä¸ã®ã¨ãã: Moony_DB::rollbackãMoony_DB::commitã®åã¡ã½ãããå®è¡â¦
Moony 0.8.0ããMoony_Downloaderã¯ã©ã¹ã追å ããäºå®ã§ããæ示çã«å¼ã³åºãã¦ä½¿ç¨ãããã¨ã¯æ³å®ãã¦ãã¾ãããMoony_Controllerã®å é¨ã§ä½¿ç¨ããã¾ãã ãã¡ã¤ã«ããã¦ã³ãã¼ãããããå ´åã¯: <a href="/index.php/download">ãã¦ã³ãã¼ã</a>ä¸è¨ã®ãããªãªã³ã¯ãããå ´åã class Downloâ¦
Moony 0.8.0ããMoony_Uploaderã¯ã©ã¹ã追å ããäºå®ã§ãã使ç¨ä¾ã¯: <form action="/index.php/upload" enctype="multipart/form-data" method="POST"> <input type="file" name="userfile" /> <input type="submit" value="send" /> </form>ä¸è¨ã®ãããªãã©ã¼ã ãããå ´åã class UploadAction extends Moony_Action { function execute($request, $responsâ¦
http://base.alpslab.jp/ã使ã£ã¦ã¿ãã ããã便å©ã ã
å°ãåãããFirefoxã®ããã©ã«ããã©ã³ããArisakaã«æå®ãClearTypeãæå¹ã«ããã¨ãªããªãè¦ãããæãã§æ°ã«å ¥ã£ã¦ãããã¡ãªã¿ã«ãè¦ã¥ããã¨æãããClearType Tunerã使ãã¨æåã®ç·ã®å¤ªãã調æ´ã§ããã
å人çã«ãã³ãã¬ã¼ãã¨ã³ã¸ã³ã«æå¾ ããã®ã¯ä»¥ä¸ã®ç¹: ãã³ãã¬ã¼ãå ã®å¤æ°ã«å²ãå½ã¦ãå¤ã表示ãããã㨠æ¡ä»¶åå²ãè¨è¿°ããããã®å¶å¾¡æ§é ãæã£ã¦ããã㨠繰ãè¿ãå¦çï¼ã«ã¼ãï¼ãè¨è¿°ããããã®å¶å¾¡æ§é ãæã£ã¦ããã㨠ä»ã®ãã³ãã¬ã¼ããã¡ã¤ã«â¦
以ä¸ã®ãããªæ§é ã®å¤æ´ãèãã¦ãã¾ã: Moony_Contextã®å»æ¢ Moony_Sessionã®ã¤ã³ã¹ã¿ã³ã¹ã¯Moony_Requestãä¿æ getSession/setSessionã¡ã½ãããå®è£ PATH_INFOãåå¾ããã¢ã¯ã»ãµãMoony_Requestã«ç§»å getPathInfo/setPathInfoã¡ã½ãããå®è£ Moony_Resâ¦
Windowsä¸ã®lighttpdã§CGIã¨ãã¦PHPãåä½ãããå ´åãPATH_INFOããã¾ãåå¾ã§ããªãï¼æ¨æ¥ã®è¨äºï¼ã調ã¹ã¦ã¿ãã¨ããããã$_SERVERã«PATH_INFOã¨ãããã¼ãåå¨ããªãããã ãREQUEST_URIã¨SCRIPT_NAMEã¯åå¨ããã®ã§ãããããã®å·®åãåãã°PATH_INFOâ¦
Moony 0.7.2ããªãªã¼ã¹ãã¾ããã1件ã®ãã°ä¿®æ£ãå«ã¿ã¾ãããã¦ã³ãã¼ãã¯SourceForge.jpããã©ããã å¤æ´ç¹ã¯ä»¥ä¸ã®éã: ãã³ãã¬ã¼ããã¡ã¤ã«ãè¦ã¤ãããªãå ´åãhttpã®ã¹ãã¼ã¿ã¹ã§500ã§ã¯ãªã404ãè¿ãããã«ä¿®æ£ï¼ãã°ä¿®æ£ï¼ Moony_Viewã«ã¡ã½ããaâ¦
http://b.astronote.jp/log/eid62.htmlãåèã«lighttpdãWindowsã«ã¤ã³ã¹ãã¼ã«ãåç´ãªPHPãªãåãã®ã ããã©ãPATH_INFOãåå¾ã§ããªããFastCGIã§åä½ããå ´åã¯è¨å®ããã°åå¾ã§ããããã ããåãªãCGIã¨ãã¦åä½ãããå ´åã¯åå¾ã§ããªã模æ§ãWindowâ¦
ãã£ã±ãDBã¢ã¯ã»ã¹ç¨ã®ã©ã¤ãã©ãªããªãã¨ä¸ä¾¿ãªã®ã§ãç°¡æçãªã¯ã©ã¹ãä½ããã¨ã«ã 次ã®Moonyã®ãªãªã¼ã¹ã«å«ããäºå®ãã¯ã©ã¹åã¯Moony_DBã å é¨ã§PEAR::DBãå©ç¨ ãã¬ã¼ã¹ãã«ãã¼ãå«ãSQLãå®è¡å¯è½ ç°¡åãªãã©ã³ã¶ã¯ã·ã§ã³å¶å¾¡ãå¯è½ æ¤ç´¢ã¡ã½ãããâ¦
feedã®è³¼èªã«ã¯Bloglinesã使ã£ã¦ããã®ã ããã©ããµã¨æãã¤ãã¦Feedpathã®ã¢ã«ã¦ã³ããä½ã£ã¦ã¿ãã以ä¸ææ³: ç»é²æã«ã¨ã©ã¼çºçï¼ã¡ã¼ã«éä¿¡ã¨ã©ã¼ãããã3åç®ã§ç»é²æåï¼ ã¨ã©ã¼ã®åå ãæ¸ãã¦ããªãã®ã§ä½ã®ãã¨ããçµå±ãããã feedåç §ç»é¢ãJavâ¦
mb_convert_variablesã£ã¦ããé¢æ°ããããã¨ãç¥ã£ãã渡ããå¤æ°ï¼é åãå«ãï¼ã®æåã¨ã³ã³ã¼ãã£ã³ã°ã®å¤æããã¦ãããã 使ãæ¹ã¯: mb_convert_variables('UTF-8', 'EUC-JP', &$src);åç §æ¸¡ãã§å¤æãããå¤æ°ãåç §æ¸¡ãã§å¼æ°ã«è¨å®ãããä»ã¾ã§ã¯ãâ¦
BorlandãIDEäºæ¥ã売å´ããäºå®ããããããããã°åãã¦ä½¿ã£ãJavaã®IDEã¯JBuilderã ã£ããªãâ¦ã¨ãæãã¤ã¤ã便å©ã ã£ããã©ããããªãã«åä½ã¯éãã£ããä»ã§ã¯Eclipseããªãã¨Javaã®ã³ã¼ãã£ã³ã°ãªãã¦ã§ããªããããããªãããããããªæªããããªã
ãã¥ã¼ããªã¢ã«ãæ¸ããã¨æã£ããã ãã©ããã¼ã¸ã§ã³ãå¤ããã¨æå¹ã§ãªããªã£ã¦ãã¾ãè¨è¿°ãå¤ãå«ã¾ãã¦ãã¾ãå¯è½æ§ããããã¨ã«æ°ã¥ãããå®æçã«ä¿®æ£ãå ãããããããã¯ã¢ã¼ã«ã¤ãã¨ãã¦åãã¼ã¸ã§ã³ç¨ã®ãã¥ã¼ããªã¢ã«ãæ®ãã¦ããããããããæ¸â¦
Moonyãåä½ãããããã«ã¯ãããã³ãã³ã³ããã¼ã©ãå¿ è¦ã§ããããã³ãã³ã³ããã¼ã©ã«ã¯3ã¤ã®å½¹å²ãããã¾ãã PATH_INFOãåãåãã㨠Moonyãèµ·åããããã®è¨å®ãè¡ãã㨠Moonyã®ã¤ã³ã¹ã¿ã³ã¹ãçæããèµ·åãããã㨠ä¾ãã°ãããã³ãã³ã³ããã¼ã©ãâ¦
Moony 0.7.1ããªãªã¼ã¹ãã¾ããããã°Fixã¨ã»ãã®å°ãæ©è½è¿½å ã§ãã ãã¦ã³ãã¼ãã¯SourceForge.jpããã©ãããå¤æ´ç¹ã¯: Moonyã¯ã©ã¹ã§ã¨ã³ã³ã¼ãã£ã³ã°ã«é¢ããä½è¨ãªå¦çãè¡ã£ã¦ããã®ãé¤å»ï¼ãã°ä¿®æ£ï¼ Moony_Config.phpã«ããªã¯ã¨ã¹ããã©ã¡ã¼ã¿ã®ã¨â¦
Moony 0.7.0ããªãªã¼ã¹ãã¾ããã ä»åã®ãã¼ã¸ã§ã³ããPEARããã±ã¼ã¸å½¢å¼ã§ã®ãªãªã¼ã¹ã¨ãªãã¾ããã¤ã³ã¹ãã¼ã«ããéã $ pear install /path/to/Moony-0.7.0.tar.gzã¨ããã°PEARã®ãã£ã¬ã¯ããªã«ã¤ã³ã¹ãã¼ã«ããã¾ãããã¦ã³ãã¼ãã¯SourceForge.jpã®ãâ¦
念ã®å ¥ã£ããªãã¤ã¬ã¯ãã®æ¹æ³ã以ä¸ã®ãã¼ã¸ã«è¨è¼ããã¦ããã確ãã«ããã¾ã§ããã°å®ç§ã ããã http://www.zend.com/tips/tips.php?id=246&single=1 function forceRedirect($url,$die=true) { if (!headers_sent()) { ob_end_clean(); header("Locationâ¦
Moony_ViewããSmartyãæä½ããã¡ã½ããã«ã¤ãã¦èãã¦ããããçªç¶ãã®ãããé¢åã«ãªã£ããã¡ã½ããåã¨ããæ©è½ã®åæ¨é¸æã¨ãèãã¦ããã¨ããããªããããã§Moony_ViewãSmartyã®ãµãã¯ã©ã¹ã¨ãã¦å®è£ ãå¤æ´ãã¦ã¿ãããµãã¯ã©ã¹ãªã®ã§ãè¤éãªæ©è½ãâ¦
MoonyãPEARã®ããã±ã¼ã¸ã«ãã¦ã¿ããã¹ãã ã¾ããPEAR::PEAR_PackageFileManagerãå©ç¨ãã¦package.xmlãä½æããã ã¾ã alphaãã¼ã¸ã§ã³ã®1.6.0a6ãã¤ã³ã¹ãã¼ã«ã $ pear config-set preferred-state alpha $ pear install --alldeps PEAR/PEAR_PackageFâ¦