5

I am trying to find examples of how to wrap ExtJs and ExtJs 'modules' up for use with a javascript dependency framework such as RequireJS or LAB.

I am working with a large ExtJs based project and there are many separate module files which are just bulk included everywhere and it is getting a little out of control.

Has anyone used an existing depenency management framework with ExtJs? (I know ExtJs 4 may include something similar, but I am fixed on using ExtJs 3)

blong
  • 2,815
  • 8
  • 44
  • 110
David
  • 8,340
  • 7
  • 49
  • 71
  • It would be really nice to see a build (using [Grunt](http://gruntjs.com/)) with Ext JS 3.x and RequireJS – blong Mar 12 '13 at 21:57
  • This might help anyone working toward such a solution: http://stackoverflow.com/a/12340092/320399 – blong Apr 09 '13 at 19:20

2 Answers2

0

I wrote my own dependency utility (well my boss wrote it as a method for another framework we are building, and I just ported it to ExtJS) as a mixin where you can just define what your dependencies are, and include events for when they are loaded.

Splynx
  • 823
  • 2
  • 8
  • 20
0

Using Grunt https://github.com/mattgoldspink/grunt-sencha-dependencies

Sencha Cmd now does it automatically as well - unfortunately it considers ExtJS4.1 as legacy, let alone 3.

greg.arnott
  • 1,622
  • 17
  • 16