O'Reilly logo

Ext JS 4 Web Application Development Cookbook by Stuart Ashworth, Andrew Duncan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting started with Ext Direct

Ext Direct allows you to seamlessly integrate your Ext JS frontend with the server-side technologies running the backend.

As you already know, it's not possible to have our JavaScript make calls to methods in our server code directly. At present the requests we make call the necessary method and return the results back to the browser.

Ext Direct helps by exposing server-side classes and methods and allowing you to call them directly from your JavaScript, for example, ClassName.MethodName(). You'll have neat code, consistent naming between the client and server-side, and having invested a small amount of time in setup/configuration, you will undoubtedly save time in the long run.

Note

It's straightforward working with ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required