I am starting a new project using the PHP Zend framework.
Now that jquery is fairly mature, is dojo no longer needed?
I do not mean for this to be an opinion question. A valid answer could be that they both still are viable.
Thanks!
Depends on your needs. If all you need is XHR and DOM manipulation, you can probably pick any well-known library out there. But if you're looking for stuff beyond that, Dojo gives it to you. jQuery...doesn't, really (at least not without looking around for plugins, and then you're getting into YMMV territory).
Whenever anyone asks something like this I always point them to Rebecca Murphey's excellent blog post pointing out what kinds of things jQuery doesn't really consider:
http://rmurphey.com/blog/2010/08/09/on-jquery-large-applications/
Some examples of things Dojo gives you that jQuery doesn't OOTB:
dojo.declare
)dijit
, with more in dojox
)dojox.grid
)dojo.hash
since 1.4)