• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Remote Shared Objects

In Chapter 6, you learned about local shared objects (LSOs). With them, you could store values on the user’s hard drive for later retrieval. Remote shared objects (RSOs) differ in many ways. The main idea of RSOs is that more than one user gets access to read and write values in an RSO. Also, when one user changes an RSO, all the users connected to the same app are immediately notified. This simple concept of letting multiple users see the same data in real time makes all kinds of applications possible—everything from text chats to shared whiteboard applications.

Note

Remote Versus Local Shared Objects

Although RSOs have an entirely different purpose than LSOs, they’re similar in two ways: Variables are stored in the same data structure (that is, as properties inside the data property) and, when set to be persistent, their values get saved between sessions.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint