Monday, December 15, 2008

Using jQuery with Dojo?

Can someone come up with a really good reason for me not to use jQuery with Dojo?

Because the way I see it, jquery + jquery-ui is pretty fantastic, so throwing in dojo when I need something a bit more powerful (dojox.gfx anyone?) seems like it could be a good fit.

Dojo seems to keep their stuff locked tight in the "dojo" namespace, so I don't see any collisions happening, but I've given it just a glance.

5 comments:

dante hicks said...

There is nothing stopping you, as Dojo "plays nice" by keeping all functionality local or in dojo namespace, but there is a tremendous amount of overlap between the functionality provided in the jQuery core (jquery.js) and Base Dojo (dojo.js) so it is essentially wasted bytes. Though if you are only wanting to use dojox.gfx, Base Dojo is a trivial 26k addition to the gfx library.

Michael Hayden said...
This comment has been removed by the author.
Michael Hayden said...
This comment has been removed by the author.
Henry said...

Hi,

I was having the same idea for some time. Did you try it out? Did you face any problems?

Anonymous said...

Yeah, a developer work at https://savvycomsoftware.com/ tell me that we can use it together.