1. #1
    Sencha Premium Member
    Join Date
    Mar 2012
    Location
    NYC, USA
    Posts
    62
    Vote Rating
    -1
    Answers
    1
    bkcharan is an unknown quantity at this point

      0  

    Default Answered: Util functions

    What's the right approach to create and maintain Util functions for my application? I was thinking to add the function in app.js and reference as "app.Util". Not sure if this is the best way to do it. Any thoughts/suggestions will be much appreciated. Thanks

  2. I would make a specific utility class (separate file) and require that in your app via the Ext.Loader. I've done that about a million times on various projects.

  3. #2
    Sencha - Tools Team arthurakay's Avatar
    Join Date
    Sep 2008
    Location
    Antioch, IL
    Posts
    1,425
    Vote Rating
    64
    Answers
    65
    arthurakay is just really nice arthurakay is just really nice arthurakay is just really nice arthurakay is just really nice arthurakay is just really nice

      0  

    Default

    I would make a specific utility class (separate file) and require that in your app via the Ext.Loader. I've done that about a million times on various projects.

  4. #3
    Sencha Premium Member
    Join Date
    Mar 2012
    Location
    NYC, USA
    Posts
    62
    Vote Rating
    -1
    Answers
    1
    bkcharan is an unknown quantity at this point

      0  

    Default

    OK that makes sense. I am glad I checked. Thanks and appreciate much!

    Quote Originally Posted by arthurakay View Post
    I would make a specific utility class (separate file) and require that in your app via the Ext.Loader. I've done that about a million times on various projects.

Thread Participants: 1