Hello Bart,

i have already put together two proposal concerning jQuery support, one for a 
generic helper that takes care of loading jQuery from CDN or local path and 
takes care of a document ready (on load) execution stack.

http://framework.zend.com/wiki/display/ZFPROP/ZendX_JQuery_View_Helper_JQuery+-+Benjamin+Eberlei

then a jQuery UI proposal, which allows integration of some of the jQuery UI 
widgets as part of view helpers and form elements into your ZF app.

http://framework.zend.com/wiki/display/ZFPROP/ZendX_JQuery+UI+Widgets+Extension+-+Benjamin+Eberlei

personally i think, jQuery is frikking easy, so its probably good to just 
write the code yourself, but some of the helpers i put together really take 
some work from you and help you to build an application using jQuery fast. 
they also group all the jQuery code together so that you don't have little js 
snippets layign around your views everywhere.

you might want to have a look at:
www.beberlei.de/jquery/demo/
www.beberlei.de/jquery/demo/formdemo.php

which shows two examples of how the jQuery view helpers work.

any feedback is appreciated, although the components have reached final status 
and are finished and checked into zend framework extras incubator already:

http://framework.zend.com/svn/framework/extras/incubator/library/ZendX/

the documentation is also finished, if you want to get some hints at how it 
all works.

greetings,
Benjamin

On Tuesday 16 September 2008 11:33:57 Bart McLeod wrote:
> I have used jquery with Zend_Form, before Dojo was integrated and I
> still use jquery. I would welcome integration of jquery too. However, I
> must admit that I did not even try Dojo, because I found the interface
> intimidating, the way it is described in the online reference guide. I
> will try it though and then decide if I still want to use jquery. I do
> not like the idea of having two different Ajax libraries in use in one
> system and I do like the idea of out-of-the-box Ajax functionality. If I
> read through jquery documentation, I understand it immediately. I think
> it's idea of simplicity matches that of ZF, which cannot be said of the
> list of functions available in Dojo. But there's no use crying over
> spilled water, if any. Wil is right of course, if we like jquery that
> much, let's put together a decent proposal.
>
> Bart McLeod
>
> Wil Sinclair schreef:
> > There are lots of reasons that Zend chose to partner with the Dojo
> > Foundation. But we realize that some developers prefer other JavaScript
> > toolkits, and that's why we'd never force our users to work with any
> > particular toolkit. Zend has chosen Dojo to contribute out-of-the-box
> > AJAX functionality to Zend, while at the same time making it clear that
> > we will welcome contributions from the community to support other
> > toolkits. In fact, there are a couple of proposals for JQuery
> > integration that are pretty far along now:
> >
> > http://framework.zend.com/wiki/display/ZFPROP/ZendX_JQuery_View_Helper_J
> > Query+-+Benjamin+Eberlei
> > http://framework.zend.com/wiki/display/ZFPROP/ZendX_JQuery+UI+Widgets+Ex
> > tension+-+Benjamin+Eberlei
> >
> > If there is a JS Toolkit that you prefer to Dojo, I wholeheartedly and
> > sincerely recommend that you look in to creating your own proposal.
> >
> > ,Wil
> >
> >> -----Original Message-----
> >> From: zuhair.naqvi [mailto:[EMAIL PROTECTED]
> >> Sent: Monday, September 15, 2008 8:46 PM
> >> To: fw-general@lists.zend.com
> >> Subject: [fw-general] Why Dojo of All???
> >>
> >>
> >> Why dojo of all? Whats wrong with an MIT license? To be frank Dojo is
> >> the
> >> shittest JS framework i've ever worked with. Both its code and design
> >> philosophy are no match for competition like jQuery or Prototype.
> >>
> >> I've moved from Symfony to ZF and prefer ZF even over ROR and was very
> >> excited to hear about a client library integration but I am shocked to
> >> see
> >> Dojo instead of others which are miles ahead of it.
> >>
> >> Please explain...
> >> --
> >> View this message in context:
> >
> > http://www.nabble.com/Why-Dojo-of-All----
> >
> >> tp19504841p19504841.html
> >> Sent from the Zend Framework mailing list archive at Nabble.com.



-- 
Benjamin Eberlei
http://www.beberlei.de

Reply via email to