1. #311
    Sencha Premium Member
    Join Date
    Aug 2009
    Location
    Glasgow, Scotland, UK
    Posts
    61
    Vote Rating
    0
    swarm is on a distinguished road

      0  

    Default


    I'm getting a bit frustrated about the speed my JSON requests are handled.
    I'm getting an average of 1 sec per request to the server. This is too much in my opinion.

    Is this because of Ext.Direct ASP.net or is this a common problem with every Ext.Direct?
    It's happening because all the calls you were making individually might have been averaging say 200ms and each item would display data as it was loaded. By combining your requests you need to wait until the slowest one is complete before getting anything back.

    Try altering the enableBuffer config option in your remoting api. You can set it to send more calls with fewer items in it. This will split up the slower requests (because of a slow stored procedure or whatever).

    You could also consider sending the slowest requests individually so that the perceived performance isn't lowered. Because data is loading a user will still think everything is running smoothly...

    I'm going to deploy my application tonight on my server and see if the speed changes , maybe it's because I'm working with the development server.
    You should see a performance enhancement. I personally always find deployed apps are much quicker - they're not in debug mode and running on an server designed for the job etc...
    SwarmOnline.com - Web & Mobile App Development and Consultancy

    Check out our book Ext JS 4 Web Application Development Cookbook

    @andrewmduncan
    @SwarmOnline

  2. #312
    Sencha User
    Join Date
    Feb 2011
    Location
    Belgium
    Posts
    28
    Vote Rating
    0
    Cloetn is on a distinguished road

      0  

    Default


    Thanks for the fast reply ,

    Quote Originally Posted by swarm View Post
    It's happening because all the calls you were making individually might have been averaging say 200ms and each item would display data as it was loaded. By combining your requests you need to wait until the slowest one is complete before getting anything back.
    It's not that. Even with 1 single call , nothing else it takes atleast 1 second.

    Quote Originally Posted by swarm View Post
    Try altering the enableBuffer config option in your remoting api. You can set it to send more calls with fewer items in it. This will split up the slower requests (because of a slow stored procedure or whatever).
    How do I do this exactly?

  3. #313
    Sencha Premium Member
    Join Date
    Aug 2009
    Location
    Glasgow, Scotland, UK
    Posts
    61
    Vote Rating
    0
    swarm is on a distinguished road

      0  

    Default


    Quote Originally Posted by Cloetn View Post
    Thanks for the fast reply ,
    It's not that. Even with 1 single call , nothing else it takes atleast 1 second.
    Does this include images? It could be something to do with your pc's configuration. I actually wrote an article about it here: http://www.swarmonline.com/2011/01/s...ver-windows-7/



    Quote Originally Posted by Cloetn View Post
    How do I do this exactly?
    Add this provider instead of the one provided in the example:

    PHP Code:
        Ext.Direct.addProvider({
            
    typeExt.app.REMOTING_API.type,
            
    urlExt.app.REMOTING_API.url,
            
    actionsExt.app.REMOTING_API.actions,
            
    enableBuffer//or whatever value you want.
        
    }); 
    SwarmOnline.com - Web & Mobile App Development and Consultancy

    Check out our book Ext JS 4 Web Application Development Cookbook

    @andrewmduncan
    @SwarmOnline

  4. #314
    Sencha User
    Join Date
    Feb 2011
    Location
    Belgium
    Posts
    28
    Vote Rating
    0
    Cloetn is on a distinguished road

      0  

    Default


    Quote Originally Posted by swarm View Post
    Does this include images? It could be something to do with your pc's configuration. I actually wrote an article about it here: http://www.swarmonline.com/2011/01/s...ver-windows-7/
    Oh my god!
    You are so awesome! Thanks for this solution. This is a HUGE difference.
    Check it out !:


  5. #315
    Sencha Premium Member
    Join Date
    Aug 2009
    Location
    Glasgow, Scotland, UK
    Posts
    61
    Vote Rating
    0
    swarm is on a distinguished road

      0  

    Default


    That's much more like the thing! Happy to help
    SwarmOnline.com - Web & Mobile App Development and Consultancy

    Check out our book Ext JS 4 Web Application Development Cookbook

    @andrewmduncan
    @SwarmOnline

  6. #316
    Sencha User
    Join Date
    Jun 2010
    Posts
    47
    Vote Rating
    0
    dan_b is on a distinguished road

      0  

    Default


    Latest version: v2.2.0

    New in this version:
    • Returned support for ASP.NET MVC 1.0
    • Added support for descriptor generation method (see Wiki)
    • Allow regular content response when action is executed directly, i.e. not by Ext Direct
    Just seen this. Great work Eugene, thanks!

  7. #317
    Sencha User
    Join Date
    Jan 2008
    Location
    Toronto, Canada
    Posts
    480
    Vote Rating
    4
    elishnevsky is on a distinguished road

      0  

    Default


    Thank you.

  8. #318
    Sencha User
    Join Date
    May 2011
    Posts
    4
    Vote Rating
    0
    BharatRathi is on a distinguished road

      0  

    Default Support for Ext JS / Direct 4.x

    Support for Ext JS / Direct 4.x


    Hi Eugene,

    Are there any plans to update ASP.NET MVC solution to support the latest from Sencha?


    Bharat

  9. #319
    Sencha User
    Join Date
    Jan 2008
    Location
    Toronto, Canada
    Posts
    480
    Vote Rating
    4
    elishnevsky is on a distinguished road

      0  

    Default


    As soon as I have free time. I've been extremely busy lately.

  10. #320
    Ext JS Premium Member
    Join Date
    Mar 2011
    Posts
    69
    Vote Rating
    0
    scancubus is on a distinguished road

      0  

    Default ext js 4 support?

    ext js 4 support?


    Hi, I am trying to implement this with EXT JS 4. Is this possible?

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi