Chapter 6. Network communication

 

 

Suppose for a moment that you’re building an application that allows users to edit text documents that live on a server connected to the internet. When the user starts the application, it connects to the server and retrieves a list of available documents. She can select a file, and the text is downloaded and made available for editing. When she saves the file, the application sends the new text to the server, where it’s saved. That application may work perfectly when the user is connected to the internet. But when the user isn’t connected, there’s a problem: she has no way to edit or save files, because those behaviors require ...

Get Adobe AIR in Action 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.