-- Bradley Holt <[EMAIL PROTECTED]> wrote
(on Wednesday, 21 May 2008, 03:49 PM -0400):
> We probably will not be switching to Dojo (but I'll be looking into it for
> sure), even with it being available as part of ZF. We currently use jQuery.
> Part of the benefit of using jQuery is that a CSS designer can learn how to
> use
> it. This is because they can take the same concept of applying style using CSS
> selectors but instead add behavior using CSS selectors (leveraging the skills
> they already have and not burdening a developer with the work). Sure, for
> full-on RIAs ZF + Dojo will probably be the best option. But with jQuery our
> designers can do a lot of the JavaScript work - I'm not going to ask a
> designer
> to learn Dojo as it seems a lot more complicated (I haven't used Dojo, just
> read through some of the documentation).
Actually, in many cases, using Dojo is as simple or simpler than what
you've just stated regarding jquery. ;-)
For instance, want to make a date chooser?
<input type="text" name="foo" dojoType="dijit.form.DateTextBox" />
If you want to modify based on CSS selectors, you can leverage
dojo.query():
dojo.query('#foo li a').style("text-decoration: none; color: #F00;");
Dojo has come a long way in the past year, and many things have become
trivial to perform. It's definitely worth looking into.
But, again, just because we're going to partner with Dojo does not mean
ZF users need to use Dojo. If you're comfortable with a JS library
already, ZF will continue to accomodate it. :-)
> My point being that I would find jQuery + ZF integration useful because
> switching to Dojo probably doesn't make sense for us.
Exactly. And perhaps that will lead to you or others contributing jQuery
integration in the future. :-)
> On Wed, May 21, 2008 at 3:35 PM, Rob Allen <[EMAIL PROTECTED]> wrote:
>
>
> On 21 May 2008, at 20:15, Pádraic Brady wrote:
>
>
> It's really great news! And once the Dojo implementation is in place
> as
> a template it's an open field for someone to step up and do something
> similar for the lighter libraries like jQuery.
>
>
>
> I wonder if this will actually happen long term?
>
> I think you can essentially assume that most other JS/Ajax libraries won't
> be used with ZF by the majority of developers once the new Zend-Dojo stuff
> is released. There just won't be the same level of documentation, mailing
> list or irc help on how to do stuff compared to using Dojo.
>
> Even if the relevant components are written for another JS library, to
> adopt them you have to decide if they will be keep up with the official
> Zend-Dojo components over the years that follow. Who will maintain them
> and
> update them through ZF 2.0, 3.0 etc? This is the bit that would worry me
> about adopting something other than Dojo for use with ZF over the long
> term.
>
>
> I'm planning on telling my developers at work that we need to migrate to
> Dojo over the next 6 months. I had a look at the Dojo docs and at first
> glance they don't look as comprehensive as we've been used to, but I'm
> sure
> we'll manage.
>
>
> Regards,
>
> Rob...
>
>
>
>
> --
> Bradley Holt
> [EMAIL PROTECTED]
>
--
Matthew Weier O'Phinney
Software Architect | [EMAIL PROTECTED]
Zend - The PHP Company | http://www.zend.com/