View Full Version : Using jQuery and Ext Core together

24 May 2009, 8:57 AM
I have a web app that depends on jQuery (or YUI) for some functionality. I've been using the adapter. Now I'm wondering if I can use Ext Js 3 with Ext Core 3, leave off the adapter, but still include the jQuery file to run that other functionality.

Will there be conflicts if I run both jQuery and Ext Core 3 (without the jQuery adapter)?


24 May 2009, 4:04 PM
Nope, shouldn't be any conflicts.

24 May 2009, 8:04 PM
out of curiosity - why?

25 May 2009, 12:29 AM
The web framework I am using uses jQuery (or YUI) to run a garbage collection program and has numerous built in methods for use with Comet. I want to use Ext JS for interface components. The framework will inject a script tag to the GC code that requires jQuery. For the interface, I'm happy to go with all Ext JS.

Does that answer your question?

27 May 2009, 9:01 AM
Ext JS and Ext Core are not the same :)

27 May 2009, 9:26 AM
I guess my response can be simplified to this:

Is Core 3 a subset of JS 3? If I use Ext JS 3 -- with or without the jQuery adapter -- will I get all the benefits of Core 3?

27 May 2009, 9:28 AM
Ext Core is the 'base library' for Ext JS 3 :)

does that make things clearer?

27 May 2009, 3:12 PM
Um, no. The question is:

If I use Ext JS 3 -- with or without the jQuery adapter -- will I get all the benefits of Core 3?

The Ext JS site really needs to make this relationship clear.

If I include ext-base and ext-all (v. 3), do I get the core? Or do I need to include ext-core, too?

If I include jquery, the jquery adapter, and ext-all (v. 3), do I get the core?

None of this is obvious from the Ext JS site.

That said, I read the first six chapters of your book over the last couple of days, and it's very good (other than needing some editing). The explanations are simple and straightforward, and I'm having no problem understanding how to do things. I am looking forward to the next chapters. Hope 7 will be ready soon. I need to use trees on a project I'm working on.

20 Jun 2009, 7:13 PM
just use Ext JS v3 (already including Ext Core), you may use the jQuery adapter, as long as that jQuery version meeting your requirements.