AJAX

AJAX stands for Asynchronous JavaScript And XML and represents a set of web development techniques to create asynchronous web applications.

Asynchronous means that the execution of the JavaScript code does not run in sequence. This is especially helpful and required when working with different services where data is sent to, and a response is expected for consumption. The execution of the code should not pause during this process, facilitating the firing of multiple requests at the same time. Those requests are typically categorized into POST and GET requests. For example, POST requests are required to communicate with the Qlik Engine API.

If some of you QlikView developers remember, when QlikView was used in web view instead of the IEPlugin, the term ajax was always present in the URL of the QV app. Ajax was used to make all those API calls to the QlikView Server to obtain the calculated objects.

Asynchronous can sometimes be tricky to work with if you are expecting a response from a separate server or service, and you wish to execute code depending on the response. To solve this effectively, promises are typically used, which allows you to handle the response and run additional code depending on the result, and the result status.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.58.229.231