Results 1 to 3 of 3

Thread: Util functions

  1. #1
    Sencha Premium Member
    Join Date
    Mar 2012
    Location
    NYC, USA
    Posts
    62
    Answers
    1
    Vote Rating
    -1
      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 User arthurakay's Avatar
    Join Date
    Sep 2008
    Location
    Antioch, IL
    Posts
    1,516
    Answers
    99
    Vote Rating
    77
      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
    Answers
    1
    Vote Rating
    -1
      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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •