Answer the question
In order to leave comments, you need to log in
Why is Ext.Direct needed?
Ext.Direct is a pretty powerful tool.
But I can't figure out where to apply it. The only thing that comes to mind is the transfer of some heavy calculations to the server, transparently to all code.
For data exchange, it seems to me more logical to use the standard ajax proxy and RESTfull. Or is it not?
Answer the question
In order to leave comments, you need to log in
Ext.Direct essentially makes it easier to work more precisely and makes it more transparent. It's like you're executing a function on the client, but it's actually being done on the server. For example, get a user by id
User.getById(id,function(user){});
For the client, this looks like an ordinary function call.
Plus, another cool feature is that if you call several functions for a certain time, it will group them into one request. And it will be transparent to you, you don't even have to think about it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question