Chapter 6Go Fly

A Real-World Apollo Application

This Apollo application, written in Flex (the serverside is a ColdFusion component, or CFC), presents a simple user interface that accepts an airline code and a flight number. Clicking the Search button calls a web service that communicates with a third-party, web-based infrastructure that provides close to realtime flight-tracking information (updates are broadcast at approximately six-minute intervals). Knowing the six-minute time lag between flight information updates, the Apollo application uses the Flex Timer class to poll the web service every six minutes. Polling that is more frequent would be a waste of resources. By leveraging Flex Data Services (now called Live Cycle Data Services), the ...

Get Adobe 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.