shCode

Module 3.8 — Saving and Loading Data

Quarter 1 · Weeks ? · Environment: console

Lessons in this module

Estimated: ~4 hr 41 min

  1. Slides3.8.1Slides: Saving and Loading Data~5 min
  2. Reading3.8.2Reading: Data Has to Outlive the Program~10 min
  3. Worked Example3.8.3Worked Example: Readable Output vs. What Doesn't Survive~10 min
  4. Reading3.8.4Reading: `JSON.stringify` — Object to Text~10 min
  5. Reading3.8.5Reading: Readable Output~10 min
  6. Reading3.8.6Reading: What Does Not Survive~10 min
  7. Assignment3.8.7Lab: Stringify an Object and Spot What Got Dropped~10 min
  8. Reading3.8.8Reading: `JSON.parse` — Text Back to Object~10 min
  9. Worked Example3.8.9Worked Example: A Round Trip~10 min
  10. Assignment3.8.10Lab: Round-Trip an Object Through JSON~10 min
  11. Assignment3.8.11Lab: Round-Trip an Array of Objects~15 min
  12. Reading3.8.12Reading: Parsing Can Fail~10 min
  13. Worked Example3.8.13Worked Example: `try`/`catch` Around a Bad Parse~10 min
  14. Assignment3.8.14Lab: Handle a Malformed JSON String~12 min
  15. Reading3.8.15Reading: Saving by Key~10 min
  16. Worked Example3.8.16Worked Example: The Whole Pattern~12 min
  17. Flowchart3.8.17Chart the Code: Save/Load Round Trip End to End~20 min
  18. Assignment3.8.18Lab: Save a State Object by Key~10 min
  19. Assignment3.8.19Lab: Load and Restore a Saved State~12 min
  20. Reading3.8.20Reading: Why There Is No `open()` Here~10 min
  21. Worked Example3.8.21Worked Example: What the Browser Sandbox Actually Allows~10 min
  22. Assignment3.8.22Lab: Saving-and-Loading Capstone~30 min
  23. Assignment3.8.23Lab: Adapt the Pattern to a List~15 min
  24. Quiz3.8.24Saving and Loading Data~10 min

Report an issue

or paste one — optional, max 2 MB

Your page, lesson, and current code are attached automatically.