O'Reilly logo

Building Web Applications with ArcGIS by Hussein Nasser

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

Working with Restaurants' rich content

We learned in the previous section to do a simple relation query when the user clicks on a result. It was quite simple, as it was only a single feature at a time. However, what is required from us is something different. We need to actually show these reviews as the result is displayed, hence we will be dealing with multiple features at the same time. Because of the asynchronous nature of our code, we cannot use the conventional method of querying and waiting for the result, because the code will be long executed and the last result will already be displayed before we can even get the related records of the first result.

Note

Asynchronous code is a piece of code that gets called by an initiator and is executed ...

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