2007-01-01ãã1å¹´éã®è¨äºä¸è¦§
以åããåå ãã¦ã¿ããã¨æããªããããªããªãåå ã§ãã¦ããªãã£ãPHPåå¼·ä¼ã§ãããä»å¹´æå¾ã§åå ããã¦ããã ããã¨ãã§ãã¾ãããä»ã¾ã§ã«ãããã£ãåå¼·ä¼ã«åå ããã¦ããã ããã¨ãç¡ãã£ãã®ã§ãããã¨ã¦ãåºæ¿çã§åå ãã¦ããã£ãã¨æãã¾ãããâ¦
As the features for symfony 1.1 are quite finished now, it's time to move on and start the release process.To ease things, I've created 2 new branches. The /branches/1.1 hosts the upcoming 1.1 release and /doc/branches/1.1 hosts the 1.1 doâ¦
ãã§ã«äºç´ãå§ã¾ã£ã¦ãã¾ãããsymfonyæ¬ãããããã§ã¾ãã è¦ã¦ã®ã¨ããããªãããã³ã¢ã¹æ¬ã·ãªã¼ãºã§ãããä¾é ¼ãããç§ãå·çãã¾ããã PHPã®åæ©çãªè§£èª¬ã¯ãªãã§ãsymfonyã使ãããªãä¸ã§ç¥ã£ã¦ããããå 容ãã¾ã¨ãã¦ããã¾ãã åãã¦symfonyã触â¦
symfonyã«ããã¦iso-2022-jpã§ã¡ã¼ã«éä¿¡ããããã®åæãã©ã°ã¤ã³ãæ´æ°ãã¾ããã å 容ãã¤ã³ã¹ãã¼ã«ãã¢ããã°ã¬ã¼ãã¯ä»¥ä¸ã®ãã¼ã¸ãåç § http://develop.ddo.jp/new-tech/php/framework/symfony/plugin/jpmailpluginæ´æ°å 容ã¯setAltBodyã«å¯¾å¿ãã¦ãâ¦
PHPæ親ä¼ããã£ããããªããã¤ãåå ãã¦ã¿ããã¨æãã¤ã¤ãã¤ãæ°ã¥ãããé ããorz...
symfonyã¯ç¾å¨ã¯Propelãæ¨æºã®O/Rãããã¼ã¨ãã¦ä½¿ç¨ããããã«ãªã£ã¦ãããDoctrineã¨ããO/Rãããã¼ããã©ã°ã¤ã³ã¨ãã¦æä¾ããã¦ãã¾ããDoctrineã使ãã°ã¹ãã¼ãå®ç¾©ã1ã¤ã§ããã£ãã(Propelãªãschema.xmlã«å ãpropel.iniãå¿ è¦)ãè¤æ°ã®ã¹ãã¼ãâ¦
å人çã«symfonyãæ¨è¦ä¸ã§ãããCakePHP, EthnaãZend Frameworkãªã©æ¸ç±ãåºçããã2007å¹´ã¯ãã¬ã¼ã ã¯ã¼ã¯ããã身è¿ãªåå¨ã«ãªã£ãå¹´ã ãªãã¨æãã¦ãã¾ããããããã®ãã¬ã¼ã ã¯ã¼ã¯ã¯ããæå³ã§ã®"PHPããã"ãçããããã¬ã¼ã ã¯ã¼ã¯ãªã®ã§ãã©ããâ¦
ãã¶ã¤ãã¼ããã¨ä¸ç·ã«symfonyã§éçºãããã ãã©ãç°¡åã«èª¬æããããã§ã¾ã¨ãã¾ããçè³æã ãã¶ã¤ãã¼ããã®ããã®symfony åãã¦Smartyãå°å ¥ããã¨ãã®ãã¨ãèããã°ãã£ã½ã©æ·å± ã¯ä½ããã§ãªãï¼ã¨æãã®ã¯ç§ã ãï¼
symfonyãã¿ã°ã£ããæ¸ãã¦ã¾ãããç¾å¨ã©ã£ã·ãCakePHPã§éçºãã¦ãããã¾ããã©ã£ã¡ã使ãããããã§ã±ã¼ã¹ãã¤ã±ã¼ã¹ã§ããã
ãã®ãã¿ã«é¢ãã¦ã¯æ¤ç´¢ããã°ããããæ å ±ãããã¾ãã dozo dokuwiki.php ã®ä¸ã®äººã®è§£èª¬ãä¸çªããããããã®ã§ãããä¸é¨èª¤ããããã¾ããref:symfony JIS(ISO-2022-JP)ã¡ã¼ã«éä¿¡ããæ¹æ³(MVCãã¼ã¸ã§ã³) ãdozo dokuwiki.phpãgetPresentationForãå©â¦
èªèº«ã®ãã¼ãã«å ã§è¦ªåé¢ä¿(ããªã¼æ§é )ã表ç¾ããã¨ãã«ãããããã¨è¯ããã¨ãããµã³ãã«ã Managing Hierarchical Data in MySQL(dev.mysql.com)ã§ç´¹ä»ããã¦ãã¾ãã ããã§ããªã¼æ§é ãåå¾ããSQLã次ã®ããã«ç´¹ä»ããã¦ã¾ãã SELECT node.name, (COâ¦
ã¦ã§ãã¢ããªã±ã¼ã·ã§ã³ã®DBè¨è¨ãè¡ãã¨ãã«ãä½ããã¼ã«ã使ã£ã¦ãã¾ããï¼ ç§ã¯DB Designerã¨ãããã¼ã«ã使ããã¨ãå¤ãã§ãã ãã®ãã¼ã«ã«ã¤ãã¦ã¯DBDesigner 4 æ¥æ¬èªåãµã¤ãã§è©³ãã解説ããã¦ãã¾ãããæ¥æ¬èªåã®ããã±ã¼ã¸ãé å¸ããã¦ãã¾ãã®â¦
ãCakePHPã¯ãã¦ã³ãã¼ããããã¡ã¤ã«ãã¢ãããã¼ãããã ãã§åããããããããå°å ¥ã決ããã¨ãã話ãèãã¾ããã確ãã«ããã§ããããã¦ããsymfonyã§ãåããã¨ãã§ããããã¨ããã¨ãå°ç¨ãµã¼ãã¼ã§ãªãã¨é§ç®ãªãã§ããï¼ãã¨è¨ããã¾ããããããâ¦
symfonyã¯ã¢ããªã±ã¼ã·ã§ã³éçºã¨ãã¦ã¯åªãã¦ãã¾ããã§ããã¢ããªã±ã¼ã·ã§ã³ã§ã¯ãªããã¦ã§ããµã¤ãã®ä½æã¨ãªãã¨å¹çãæªããªãã¾ããããã¯ä»¥åid:brtRiver:20070921 ã§è©±é¡ã«ããã¨ããã§ããã¨ããã®æ©è½ããã©ã°ã¤ã³ã¨ãã¦ä½ã£ã¦ã¿ã¾ãããã¨ããã â¦
symfonyã®ã¢ããã³ã¸ã§ãã¬ã¼ã¿ã¯ã¨ã¦ã便å©ã§ããè¨å®ãã¡ã¤ã«ã§ãå¶å¾¡ã§ãããã³ã¼ããä¸æ¸ããããã¨ãã§ãããã¨æ £ããã¨é常ã«ä¾¿å©ã§ãããããã確èªç»é¢ã¨ããæ¦å¿µãæã¡åããã¦ããªãè¨è¨ã®ããã確èªç»é¢ãå¿ è¦ãªå ´åã¯ãã³ãã¬ã¼ããç¨æãã確èªâ¦
æ£ç´ããsymfony使ããªãã®ãä¸çªãããªãï¼ãã£ã¦å£°ãèãããããªã¿ã¤ãã«ã«ãªã£ã¦ãã¾ããããã ããããè½ã¡ã§ã¯ãªãããããããã¨ã¯æ¬¡ã®ã㨠symfonyã§éçºããã¢ããªã±ã¼ã·ã§ã³ã«éçãªãã¼ã¸ã追å ããã symfonyã®ã¬ã¤ã¢ã¦ãããã£ãã·ã¥ãã³ã³ãâ¦
ãªããã»ãã¨symfonyãã¿ã°ã£ãã§ããªãããè¸ããªããã ã¢ã¯ã·ã§ã³:ã¢ã¯ã·ã§ã³ã§ãã¦ã³ãã¼ãç¨ãããåºå ãã«ã:ãã¼ã·ã£ã«ãã³ã³ãã¼ãã³ãã®åºåçµæãå¤æ°ã«ã»ãããã Propel:ç»åãªã©ã®ãã¤ããªãã¼ã¿ããã¡ã¤ã«ããç´æ¥èªã¿è¾¼ã
ã©ãããã£ã³ãã¨ããããã¨ãããªã¼ãºãã¼ããã£ã³ããããæãæµ®ãã°ãªãã®ã§ããã(ããã¯ãã¦ãã)symfonyãéçºã»ã¡ã³ããã³ã¹ãã¦ããSensioãSymfonyCampã¨ããã¤ãã³ããéå¬ãããã®ã¨ãã«è¡ã£ãsymfonyã®ä»å¾ã«ã¤ãã¦ã®ãã¬ã¼ã³è³æãå ¬éããã¦ãâ¦
ãã¬ã¼ã ã¯ã¼ã¯ãå©ç¨ããä¸ã§é¢åãªã®ããã¡ã½ããåãå¿ãããããå ´åã§ãã symfonyãªã©ã§ã¯æ¬å®¶ã«APIããã¥ã¡ã³ããç¨æããã¦ãã¾ãã使ãåæã¯è¯ãã¨ã¯ããã¾ããã ãããããªãã¨ã使ãåæã®è¯ãAPIããã¥ã¡ã³ãæ¤ç´¢ãµã¤ããããã¾ããã http://â¦
ãã£ã±ãããã¸ã§ã¯ã管ç㯠Subversion + trac ã§ä¸èªç±ã¯ãªãã®ã§ããããããªã®ãããã§ããã ãµã¤ãã¡ãã¥ã¼ã®ã¬ã³ããã£ã¼ããã¯ãªãã¯ããã¨ï¼ç»é²ãããåé¡ããã¬ã³ããã£ã¼ãã«ãªã£ã¦è¡¨ç¤ºããã¦ãã¾ããã¬ã³ããã£ã¼ãã«ã¯ï¼ãåé¡ãã¨ããã¼ã¸ã§â¦
ã¨ãã話é¡ã§ããããCLIãæ°ãããªãã¹ãï¼ãã¨ã®ãã¨ãªã®ã§ã trunkããcoãããã®ã§symfonyã³ãã³ãã®ä¸è¦§ãåºãã¦ã¿ã¾ãããã¡ãªã¿ã« symfony-1.0.6ã®ã¿ã¹ã¯ä¸è¦§ã¯ä¸è¨ã®ã¨ãã available pake tasks: clear-cache > clear cached information clear-conâ¦
URL 㯠symfony ã½ãããç±³Yahoo!ã®ããã¯ãã¼ã¯ãã»ã¼ãã®ã¾ã¾ãã¼ã«ã©ã¤ãºãã¦ãããã«è¦ããã®ã§ããããã¯ããã symfony ãããªãã§ãããã ã»ãã¼ãå½ç¶ã®æµãã¨ããã°ããã¾ã§ã§ãããäºä¾ãå¢ããã®ã¯è¯ããã¨ã§ãã ã§ã確ãã«symfonyã£ã½ãã§ããâ¦
ã ããã§ãPropelã®ãã¼ã¸ã§ã³ã1.2.1ã«ãªã£ã¦ã¾ãã æéããªãã®ã§ç¢ºèªãã¦ã¾ããããåããªããã¨ããå ±åãããã¤ã¤ãã http://groups.google.com/group/symfony-devs/msg/32bf615f0e206e37 ã¢ããã°ã¬ã¼ãã®éã¯ãã¹ãç°å¢ã§è©¦ãã¦ããæ¬çªãéç¨ç°å¢â¦
symfonyã«ã¯ããã§ããã¨ããDefinitive Guideãããã¾ãããããã ã詳細ãªèª¬æã§ããæ§ããã¥ã¡ã³ãã®symfony bookã«ãããªããããªã³ã³ãã³ãããã£ãããã¾ã(ã·ã§ããã³ã°ã«ã¼ããã©ã°ã¤ã³ã®èª¬æã¨ãã)ãtracãããªãã¸ããªãã©ã¦ã¶ã§æ¢ãã°cookbookã®â¦
MySQLã§ã¯æåã³ã¼ããæå®ããããã«SET NAMES utf8 ã®ããã«æåã«ã¯ã¨ãªãæãããå ´åãããã¾ãã 以åã®symfonyã§ã¯ãã£ã«ã¿ã¼ãªã©ã§ã¯ã¨ãªã¼ãçºè¡ããã¦å¯¾å¿ãã¦ãã¾ããã ç¾å¨ã®ãã¼ã¸ã§ã³ã§ã¯ãã£ã«ã¿ã¼ãç¨ããªãã¦ãdatabases.ymlã§è¡ãã¾ãã â¦
ã§ãå®å¿ãã¦å¯ãããã¨æãããããã©ã³ã¹ã§ãã£ãPHPã®ã«ã³ãã¡ã¬ã³ã¹ã§ã®Fabienã®ãã¬ã¼ã³è³æãå ¬éããã¦ããã http://www.symfony-project.com/weblog/2007/03/19/php-quebec-conference.htmlå 容ã¯symfonyã®æ©è½èª¬æã£ã¦ã¨ããã§ãããããç¢å°ãè¶ â¦
ä½è¡ç³ã§ç®è¦ãã¦ç³åè£çµ¦ãã¦ããsymfony 1.0.1ããªãªã¼ã¹ããã¦ã¾ãã(è¦ç¬ã¨ããããã§ãåã³ç ãã«å ¥ãåã«ãã§ãã¯ãã¦ã¿ã¾ããã http://www.symfony-project.com/weblog/2007/03/19/symfony-1-0-1-released.html1.0ç³»ã®ãã©ã³ãã¯ãã°ãã£ã¯ã¹ã ãã§â¦
ãªãã¸ã§ã¯ããç ´æ£ãã¦ã php ãæ¶è²»ããã¡ã¢ãªã®éãããããå¢ãã¦ãæå¾ã¯ memory exausted ã§è½ã¡ãã¨ããç¾è±¡ã«æ©ãã§ããã®ã§ããã解決æ³ãçºè¦ç¥ã£ã¦ãããªãã¨éçºæã«ã¯ã¾ãããã§ãã ã¨ããããã§ãæ¬æ¥ã¯symfonyã®åé¡ç¹ã¡ã¢ã§ããã
symfony developersã«is_secureãcredentialsã®ãã°ãå ±åããã¦ãããææ°çã®trunkã§ä¿®æ£ããã¦ãã¾ãã çµæ§çãä¸å ·åãªã®ã§ãsecurity.ymlã§is_secureãå©ç¨ãã¦ããæ¹ã¯ç¢ºèªããã»ããããã§ãã ããã¦ãfixããããã¼ã¸ã§ã³ãsymfony1.0.1ã¨ãã¦ãªãªâ¦
symfonyã®URIã¯routing.ymlã§èªç±ã«è¨å®ã§ããã®ãã¦ãªã§ãããã¨ãã°ã http://domain/blogã¨ããå¼ã³åºã㯠default_index: url: /:module param: { action: index }ã¨ããã«ã¼ã«ãé©ç¨ããblogã¢ã¸ã¥ã¼ã«ã®indexã¢ã¯ã·ã§ã³ãå¼ã³åºããã¾ãããã ãããã®â¦