Created
October 19, 2014 02:21
-
-
Save avanderhoorn/856d1384ffadddd03d50 to your computer and use it in GitHub Desktop.
Client Data Workflow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CLIENT SERVER | |
+ | |
1. Glimpse Opens | | |
`shell.ready` | +----+ | |
+ | | | | |
| 2. requestRepository | | | | |
+---> .triggerGetLastestSummaries() +-----------+ 4. Request | | | | |
+ | | +---------------------------------> | | | |
| 3. Trigger Remote | Get from | | | | | |
+-----------------------------------> | Server | 5. Response | | | | |
| | | <---------------------------------+ | | | |
| +-----------+ | | | | |
| | | | | |
| + + | | | | |
| | | | | | | |
| | | 6. Store in Local | | | | |
| | +--------------------------+ | | | | |
| | | | | | | |
| | | | | | | |
| | v | | | | |
| | +-----------+ 4. Get | | | | |
| | | | +-----> +------+ | | | | |
| 3. Trigger Local | | Pull from | | | | | | | |
+-------------------------------------------> | Local | 5. Resp. | | | | | | |
| | | | <-----+ +------+ | | | | |
| | +-----------+ | | | | |
| | ^ | | | | |
| | + | | | | | |
| | | 6. Store in Local | | | | | |
| | | +-------------+ | | | | |
| | | | | | | | |
| | | + | | | | |
| | | | | | | |
| | | +----------+ 4. Open | | | | |
| | | | | +------------------> | | | |
| | | | Open up | | | | | |
| 3. Trigger Stream | | | Socket | <-----------+------+ | | | |
+----------------------------------------------------> | | x. Receive | | | | |
| | +----------+ | +----+ | |
| | | | |
| | + | | |
+-+ | | | | | |
| | <-----------------------------+ | | | | |
7. `data.request.summary.found` | | 6. `data.request.summary.found.remote` | | | | |
| | | | | | |
+----------------+ | | | | | | |
| | | 6. `data.request.summary.found.local` | | + | |
| | | <----------------------------------------+ | | |
| | | | | |
| | | | | |
| | | x. `data.request.summary.found.stream` | | |
| | | <--------------------------------------------------+ | |
| +-+ | |
+-----> Ends up | |
on the UI |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment