Hi,
I just want to get your detailed opinion about, while using ASP.NET MVC, what is the real benefit of using Ext.Direct compared to using simple AJAX in Ext JS. Because I don't have any problems or shortcomings while using ASP.NET MVC with Ext JS through AJAX calls and wondering whether I'm missing something.
I've read about Ext.Direct and your posts; although I couldn't run your TestApplication since I'm using ASP.NET MVC 2.0, I've checked out the code and pretty much understood what was going, but couldn't decide whether I need it or not.
In this post you have briefly written the benefits of Ext.Direct as:
- You can call your server-side method from the client as if they were written on the client.
- Ability to batch multiple requests and send them as one to the server.
- Using Ext.Direct for MVC you write you server-side methods and they are automatically exposed on the client.
But other than gaining the ability to batch multiple requests I don't see any real benefit. Since ASP.NET MVC enables us to use URL's easily on client-side and Ext JS AJAX call and processing is pretty simple, I didn't need to expose my server-side methods on client-side. But Ext.Direct seems mostly about that. And it also brings the disadvantage of getting to tied to Ext JS on the server-side.
So as a user of ASP.NET MVC with only Ext JS and with Ext.Direct, can you explain what did you really gain by using Ext.Direct? Did you get any performance improvement, vs? Are there other things that I'm missing?
Thanks in advance