Local Data: Sqlite, LocalStorage, Session, Cookies and IndexDB

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ธ.ค. 2024

ความคิดเห็น • 9

  • @nunya44288
    @nunya44288 ชั่วโมงที่ผ่านมา +5

    The clearest way I’ve had authentication vs authorization explained to me was that authentication is “You are who you say you are” and authorization is “do you have the permissions to view this data”.

  • @PrintNerdyForMe
    @PrintNerdyForMe 15 นาทีที่ผ่านมา +1

    Authentication is who you are. Authorization is what you can see/do.

  • @jwr6796
    @jwr6796 ชั่วโมงที่ผ่านมา

    It's been really interesting seeing all the local first stuff come to prominence in the last year or so. I have been working on an app for my employer that is essentially local first, though I didn't know to call it that in the beginning. Essentially, every client device needs to have a record of data so that it can function offline, and then when it reconnects it needs to be able to synchronize that data with the cloud and with all the other devices. It's kind of been a syncing nightmare, but it's been a ton of fun, and I've begun to implement some of the steps that I've heard on the podcast to make it a bit sturdier than just passing around JSON blobs

  • @mnismi
    @mnismi 2 ชั่วโมงที่ผ่านมา +1

    Another usecase for Session storage would be
    The search filters in an ecommerce website
    You go into a product and come back or refresh the page accidentally (on mobile pulling down), the search filters stay the same.

    • @gerkim62
      @gerkim62 2 ชั่วโมงที่ผ่านมา +5

      That's something search params will do better

  • @saidyeter
    @saidyeter 2 ชั่วโมงที่ผ่านมา

    I used dexie too. pretty useful

  • @cswithalam
    @cswithalam 3 ชั่วโมงที่ผ่านมา

    First one here

  • @gerkim62
    @gerkim62 3 ชั่วโมงที่ผ่านมา

    I bet you are not from TikTok

  • @TheSysmat
    @TheSysmat 2 ชั่วโมงที่ผ่านมา

    AAA basic concept