views:

232

answers:

4

I'm struggling to find out which PHP-Frameworks does the best job when it comes to integrate with jQuery as Frontend-Framework. Zend seems to work best with Dojo, CakePHP with Prototype, but my favorite one JQuery seems nowhere to be supported out of the box.

For example CakePHP has a pagination helper, but it works only with Prototype and the one integrated in Zend Framework uses Dojo :( But my goal is not to mix multiple JS-Frameworks within the same project.

Can anyone give me a hint? Thanks a lot in advance

A: 

I do not know what the best web framework with jQuery Integration is, but Zend Framework has an optional component ZendX_JQuery that provides a number of helpers for jQuery usage similar to what they offer for Dojo.

Gordon
A: 

I'm not sure about best framework, but I like Yii framework (jQuery: This is integrated in Yii as the foundational JavaScript framework):

Yii -- a high-performance component-based PHP framework best for developing large-scale Web applications. Yii comes with a full stack of features, including MVC, DAO/ActiveRecord, I18N/L10N, caching, jQuery-based AJAX support, authentication and role-based access control, scaffolding, input validation, widgets, events, theming, Web services, and so on. Written in strict OOP, Yii is easy to use and is extremely flexible and extensible.

Pavel Morshenyuk
+1  A: 

If you are good in JS and jQuery there is no matter what is the Framework underneath. I am using jQuery with CakePHP from very long time and there are no complains.

About the pagination with jQuery see this. Of course the article is a little bit old and now this cold be achieved with live(), but important here is prove of concept.

Nik
+1  A: 

I use codeigniter and it's very easy to use jquery with it. I suggest CI, in my opinion it is the best framework.

KoKo