Chapter 11. Remote method invocation with Ext Direct

This chapter covers

  • Setting up Ext Direct servers and clients
  • Invoking methods directly
  • Using Ext Direct with Ext.data.Store

In previous chapters, you exchanged data from servers with widgets like grids, trees, forms, and even XTemplates. You used Ext.data.Stores and Ext.Ajax.requests for communicating with a server. If you’ve spent some time working with Ext JS 4, you know that setting up Ajax requests for creating, reading, updating, and destroying data allows for great precision in configuring processes, but it can also be cumbersome. Writing blocks for each operation with separate success and failure callbacks will take up quite a few lines of code on both server and client sides, ...

Get Ext JS in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.