I would like to know the advantages of Ext.Direct over normal ajax requests.
Printable View
I would like to know the advantages of Ext.Direct over normal ajax requests.
I'm talking as DJN implementor, a Java-oriented Direct implementation.
The short answer is that it takes care of very many low-level details: encoding/decoding, batching, etc. When it comes to DJN, you end up with with a Java-like typesafe API. Besides, by using Direct you can plug into lots of functionality available in ExtJs, things such as stores that allows you to perform CRUD easily, etc.
The cumulative effect in productivity of all boilerplate code you avoid is *big*