1. #1
    Sencha User
    Join Date
    Feb 2013
    Location
    Canada
    Posts
    3
    Answers
    1
    Vote Rating
    0
    v1r is on a distinguished road

      0  

    Default Answered: Using Extjs MVC in the frontend

    Answered: Using Extjs MVC in the frontend


    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.

  2. 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...

  3. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,522
    Answers
    3447
    Vote Rating
    814
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    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)?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  4. #3
    Sencha User
    Join Date
    Feb 2013
    Location
    Canada
    Posts
    3
    Answers
    1
    Vote Rating
    0
    v1r is on a distinguished road

      0  

    Default


    Yes exactly, I want only to use its MVC Architecture like backbone does. What classes I have to include to acheive that?

    Thanks.

  5. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,522
    Answers
    3447
    Vote Rating
    814
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Then I think loading Ext JS is overkill for what you want.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  6. #5
    Sencha User
    Join Date
    Feb 2013
    Location
    Canada
    Posts
    3
    Answers
    1
    Vote Rating
    0
    v1r is on a distinguished road

      0  

    Default


    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...

Thread Participants: 1

Tags for this Thread