21. Zend_Queue ã»ZF1.9ã«ã¦è¿½å ãããã³ã³ãã¼ãã³ãã ã¯ã©ã¤ã¢ã³ãã»ã©ããã¼çãªã¯ã©ã¹ (ããèªä½ã«ã¸ã§ããã¥ã¼ã·ã¹ãã ã share/php/Zend/Queue |-- Adapter åãã£ã¦ã訳ã§ã¯ãªã) | |-- Abstract.php | |-- Activemq.php ã»ZFãããå種ã¢ããã¿ã¼ãç¨æããã¦ãã AdapterAbstract.php | |-- | |-- AdapterInterface.php ã»Array(主ã«ãããã°ç¨) | |-- Apachemq.php ã»Zend_Db | |-- Array.php ã»Memcacheq | |-- Db | | |-- Message.php ã»Apache ActiveMQ | | |-- Queue.php - Zend_Queue_Stompãä½¿ç¨ | | |-- mysql
æãç«ã£ããZF åã話ããã®ã¯ããæãç«ã£ããZFãã¨ããé¡ç®ã§ãã¤ã¾ãããã£ã¨æ°è»½ã«ZendFramework ã使ãããã¨ããå 容ã®ãã®ãæè¿ãCakePHP ã使ã£ã¦ã¿ã¦ããªãCakePHP ã¯äººæ°ããã£ã¦ZendFramework ã¯äººæ°ããªãã®ããåãªãã«ããã£ãæ°ãããã®ã§ããã®è¾ºããã¾ã¨ãã¤ã¤ãããããZendFramework ã使ãæ°ã«ãªãã«ã¯ã©ãããã°ãããã¨ãããããªãã¨ãã¾ã¨ãã¦ã¿ãã ã¹ã©ã¤ãã¯ãã¡ãã æãç«ã£ããZF ã¹ã©ã¤ãã ãè¦ã¦ããã¾ãä¼ãããªãå 容ãªã®ã§ããã®è¾ºã¯ã容赦ãã ãããè¦ç´ããã¨ãCakePHP ã®ããã«ããç¨åº¦è¦ç´ã§ç¸ããã¤ãã¦ãããã«ãããããã¡ã¤ã«ã¬ã¤ã¢ã¦ããããã¤ã§ãgithub ããæã«å ¥ããããããã«ãã¦ããã°ãããï¼ã¨ãããã®ã ãã®github ã®URLã¯ãã¡ãã junichiro's zf-starter at mast
ãZendFrameworkåå¼·ä¼@Tokyoãã§ãZend Framework ã§ã¯ãããæºå¸¯ãµã¤ããã¨ããé¡ç®ã§çºè¡¨ãã¦ãã¾ããã è³æãç½®ãã¦ããã¾ãã®ã§ãããã£ãããèªã¿ãã ããã ZFã§ã¯ãããæºå¸¯ãµã¤ã (PDF) åå¼·ä¼ã® URL ã¯ãã¡ã http://events.php.gr.jp/events/show/72
ç±³Zend Technologiesã¯2æ18æ¥ãå社åã®ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¼ãZend Serverããçºè¡¨ããã¼ã¿çãå ¬éãããããã·ã§ã³ã¯ãªãã£ã«ã«ãªPHPã¢ããªã±ã¼ã·ã§ã³ãéç¨ã»ç®¡çã§ããã¨ãããWindowsãLinuxãMacã«å¯¾å¿ãå社Webãµã¤ãããç¡æã§ãã¦ã³ãã¼ãã§ããã Zend Serverã¯ãä¿¡é ¼æ§ãæ§è½ãå®å ¨ãªã©ã®è¦æ±ãé«ãPHPã¢ããªã±ã¼ã·ã§ã³ãåãããµã¼ãã¼ã½ããã¦ã§ã¢ã ApacheãPHPãZend FramworkãPHP Optimizerã®è¨å®ãé«éã«è¡ããã¤ãã£ãã¤ã³ã¹ãã¼ã©ãPHPã¢ããªã±ã¼ã·ã§ã³è¨å®ã®ããã®ç®¡çãã¼ã«ãæã¤ã主è¦ãã¼ã¿ãã¼ã¹ã¨å®¹æã«æ¥ç¶ã§ããã»ããJavaã³ãã¯ã¿ãç¨æããã PHPãã¤ãã³ã¼ããã£ãã·ã¥ã¨ãã«ãã¼ã¸ãã£ãã·ã¥ãå©ç¨ãã¦ãã¢ããªã±ã¼ã·ã§ã³ã«å¤æ´ãå ãããã¨ãªãæ§è½ãå¼·åã§ããã¨ãããPHPã¹ã¯ãªããå®è¡ã®é
æ¦è¦ â Simplate 㯠PHP ã®æ¡å¼µã¢ã¸ã¥ã¼ã«ã¨ãã¦åä½ããé«éãªãã³ãã¬ã¼ãã¨ã³ã¸ã³ã§ã Smarty ã¨åããããªè¨æ³ã使ãã¾ãã Zend Framework ã®ããã¥ã¢ã«ã«ãSmarty ãã©ãããã¦ä½¿ã Zend_View_Smarty ã¯ã©ã¹ ã®ç°¡åãªä¾ãè¼ã£ã¦ããã®ã§ã ãããåèã« Simplate ããã³ãã¬ã¼ãã¨ã³ã¸ã³ã«ä½¿ããããã«ãã¦ã¿ã¾ããã æ¨æºã® Zend_View ã§ã¯ã <?php echo $this->escape($this->foo) ?> ã®ããã«ãã¥ã¼ã¹ã¯ãªããã«æ¸ããªããã°ãªãã¾ãããããã®ã³ã³ãã¼ãã³ãã使ãã°ã {$foo} ã®ããã«ç°¡æ½ã«æ¸ããã¨ãã§ãã¾ã *1ã â² ã¤ã³ã¹ãã¼ã« â ã¢ã¼ã«ã¤ãããã¦ã³ãã¼ããã include_path ã®éã£ããã£ã¬ã¯ããªã§å±éãã¦ä¸ããã ï¼sample/library ã®ãããªåã¢ã
Generated on Thu Sep 4 16:44:38 2008 for ZendFramework Doxygen by 1.5.5
cakeã¨ãsymfonyã«ã¯ç»é¢ä¸ã«SQLãã°ã¿ãããªã®ã表示ããã¦ããããzfã«ã欲ããã ã¨æã£ã¦ãã¤ãã®ãä½ã£ãã svn co http://svn.coderepos.org/share/lang/php/ZendFramework_ext/library/Ex/View/Helper/ShowSQL.php 使ãæ¹ã bootstrapã§ãview helperã®ãã£ã¬ã¯ããªãæå®ããã $view = new Zend_View(); $view->addHelperPath(self::$root . '/library/Ex/View/Helper', 'Ex_View_Helper'); ã§ãviewã®ä¸ã§ < ?php echo $this->showSQL() ?> ã£ã¦ããã¨ã ãããªãã¤ã表示ãããã helperå ã® $this->_db = Zend_Db
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}