-
1 Mar 2011 11:16 AM #311
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.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?
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...
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...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.SwarmOnline.com - Web & Mobile App Development and Consultancy
Check out our book Ext JS 4 Web Application Development Cookbook
@andrewmduncan
@SwarmOnline
-
1 Mar 2011 12:40 PM #312
-
1 Mar 2011 1:05 PM #313
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/
Add this provider instead of the one provided in the example:
PHP Code:Ext.Direct.addProvider({
type: Ext.app.REMOTING_API.type,
url: Ext.app.REMOTING_API.url,
actions: Ext.app.REMOTING_API.actions,
enableBuffer: 7 //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
-
1 Mar 2011 2:49 PM #314
-
1 Mar 2011 2:51 PM #315
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
-
4 Mar 2011 9:31 AM #316
Just seen this. Great work Eugene, thanks!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
-
4 Mar 2011 12:26 PM #317
Thank you.
Eugene
Ext.Direct for ASP.NET MVC
-
5 May 2011 5:16 AM #318
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
-
5 May 2011 5:42 AM #319
As soon as I have free time. I've been extremely busy lately.
Eugene
Ext.Direct for ASP.NET MVC
-
12 May 2011 9:52 AM #320
ext js 4 support?
ext js 4 support?
Hi, I am trying to implement this with EXT JS 4. Is this possible?


Reply With Quote
