View Full Version : Using Extjs MVC in the frontend

11 Feb 2013, 12:37 PM
Hi there,

I've been a big fan of BackboneJS (and still am) until I discover Extjs4 in my new Job. I can only tip my hat for what it can do! Now my question is whether it is possible (or recommanded) to use Extjs in the frontOffice without using its components. I only want to take advantage of both the MVC architecture that it offers and the module loader feature. With backbone, I use AMD and requireJs for module loading and it's a pain and very hard to generate production build.
I'm wondering also if Extjs will have a JavaScript routing engine in the next version.

Your advice will be very appreciated,
Thank You.

13 Feb 2013, 7:29 AM
You don't want to use the components so your page is just html/css/js (maybe other frameworks?) and you want to use MVC (I guess controller part)?

13 Feb 2013, 7:48 AM
Yes exactly, I want only to use its MVC Architecture like backbone does. What classes I have to include to acheive that?


13 Feb 2013, 8:05 AM
Then I think loading Ext JS is overkill for what you want.

13 Feb 2013, 8:25 AM
Yes and no, it doesn't bother me at all to include the full package in the fronend.. but it's like a massive motor in a tiny, lightweight car...