Zend FrameworkにRequire.jsを含める最良の方法は何ですか? Zend フレームワークで js ファイルを呼び出す現在の方法は次のとおりです。
<?php echo $this->jQuery()->setLocalPath($this->path('js/jquery/jquery-1.7.1.min.js'))
->enable()
->setUiLocalPath($this->path('js/jquery/jquery-ui-1.8.16.custom.min.js'))
->uiEnable()
->addStylesheet($this->path('css/jquery/jquery-ui-1.8.16.custom.css'));
echo $this->headScript()->appendFile($this->path('js/jquery.tipTip.js'))
->appendFile($this->path('js/customScripts/facebook.js'))
->appendFile($this->path('js/facebook/jquery.facebook.multifriend.select.js'))
->appendFile($this->path('js/customScripts/logindialog.js'))
->appendFile($this->path('js/customScripts/globalFunctions.js'))
->appendFile($this->path('js/kendo.web.min.js'))
->appendFile($this->path('js/customScripts/fancyAlert.js'))
->appendFile($this->path('js/inc/jquery.mousewheel.min.js'))
->appendFile($this->path('js/pagination-jq.js'))
->appendFile($this->path('js/jquery.tools.min.js'))
->appendFile($this->path('js/fancybox/jquery.fancybox-1.3.4.pack.js'))
->appendFile($this->path('js/jq-history/scripts/jquery.history.min.js'));
?>