Created
December 11, 2018 05:47
-
-
Save mariechatfield/988fb989bc33c5ca596f0e436ccaa494 to your computer and use it in GitHub Desktop.
Sequence Diagram Plain Text Descriptions
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
Sequence diagram of a user interacting with a server-side rendered site. | |
Three columns titled: User, Browser, Server. | |
First set of actions: | |
1. User opens /index.html | |
2. Browser gets /index.html | |
3. Server finds template at views/index.pug | |
4. Server fetches data for all emojis | |
5. Server builds index.html | |
6. Browser renders HTML | |
Second set of actions: | |
1. User clicks π link. Arrow to browser crosses a NEW PAGE boundary. | |
2. Browser gets /π.html | |
3. Server finds template at views/emojis/show.pug | |
4. Server fetches data for π emoji | |
5. Server builds π.html | |
6. Browser renders HTML |
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
Sequence diagram of a user interacting with a single-page app. | |
Three columns titled: User, Browser, Server. | |
First set of actions: | |
1. User opens /index.html | |
2. Browser gets /index.html | |
3. Server returns public/base.html | |
4. Browser renders empty HTML | |
5. Browser gets /bundle.js | |
6. Server returns public/bundle.js | |
7. Browser parses JavaScript | |
8. Browser fetches all emoji data for index route | |
9. Server returns all emoji data | |
10. Browser JavaScript adds IndexView with data to page | |
Second set of actions: | |
1. User clicks π link | |
2. Browser JavaScript changes URL to /π | |
3. Browser fetches data for π | |
4. Server returns data for π | |
5. Browser JavaScript replaces IndexView with EmojiView |
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
Sequence diagram of a user interacting with a static site. | |
Three columns titled: User, Browser, Server. | |
First set of actions: | |
1. User opens /index.html | |
2. Browser gets /index.html | |
3. Server finds file at public/index.html | |
4. Browser renders HTML | |
Second set of actions: | |
1. User clicks π link. Arrow to browser crosses a NEW PAGE boundary. | |
2. Browser gets /π.html | |
3. Server finds file at public/π.html | |
4. Browser renders HTML |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment