问题
In Zend_Framework there is ZendX_JQuery and Zend_Dojo. I don't know which one is better and which one is easier to use if I have not much knowledge of JQuery or Dojo? I can spend time learning JQuery or Dojo, but I don't know which one is better choice for Zend Framework and why.
Thanks
回答1:
None of theme. Mixing PHP code and Javascript code is a bad idea. http://zend-framework-community.634137.n4.nabble.com/Discontinuing-Maintenance-of-ZendX-JQuery-Suggest-drop-for-2-0-td3221855.html
回答2:
I'm a Dojo enthusiast and I've found Zend_Dojo to be useful (it's the reason I picked Zend in the first place). As people have mentioned I keep the javascript and PHP separate, but it makes getting the environment set up quick and easy.
来源:https://stackoverflow.com/questions/4882373/zendx-jquery-or-zend-dojo