Für Offlineanwendungen müssen Sie sowohl Daten als auch statische Assets speichern. Einer der besten Orte dafür ist eine Datenbank. Dieses Video gibt Ihnen eine einfache Einführung in IndexedDB und wie Sie IndexedDB mit Progressive Web Apps verwenden. Vollständige Wiedergabeliste: .

Kommentare (13)

  • Steve Richter Antworten

    How large can an individual database be?

    17. Juli 2019 um 5:56
  • Dylan Antworten

    Hey Love your shirt!

    10. August 2019 um 16:46
  • rot171 Antworten

    The only missing thing is search at any position of a string. Something similar to the 'LIKE' SQL operator. If anyone has a solution for this please give me a call.

    8. September 2019 um 23:03
  • Lusty Ikkis Antworten

    safari error while retrieving images saved as BLOB in indexedDB when searched object store using index

    15. Februar 2020 um 17:32
  • Markus Lemcke Antworten

    I am developing a language assistant as a PWA: https://www.marlems-assistent.de. I'm looking for a way that the speech recognition and speech output works on all operating systems. The website of the Google translator can do this: https://translate.google.com/?hl=de. Question: Is there a way to implement voice recognition and speech output in my PWA? Accessible greetings

    Markus Lemcke

    11. März 2020 um 21:15
  • Dal Segno Antworten

    Thank you, Sarah!

    2. April 2020 um 7:24
  • TJ Abrahamsen Antworten

    Thank you for the clear and presise video.

    Though..there is something I have been wondering about… Let's say that I have an object-store.service.ts file in Angular. In this object-store service I have multiple methods that can be used at different times win the application. I.e.:
    – InitializeStores
    – UpdateStores
    – DeleteStores
    – getStoreData
    One of the methods is even called manually by the user when the user clicks on the "Refresh application data" button.

    What is most common of these two?
    1) When your Angular app starts assign a global variable (IDBPDatabase type) the return/response from the openDB(…) call and the keep it in the memory until next time you need one or more of the object stores? Meaning: you only open the database once and then reuse the db global variable
    2) You use openDB(…) in the beginning of each of your methods that go against the database itself or the object stores

    The reason I am asking is that very many videos and examples I watch/see online contains just snippets on how to use the different methods like openDB, deleteDB, get(key), etc. as if they were just all by themselves. Few places I have seen anything about how you practically use idb within a real application…

    3. April 2020 um 18:15
  • Cotillion Antworten

    I NEED that shirt omg

    Loved the video

    26. Juli 2020 um 4:47
  • Alessandro Muraro Antworten

    Thx, nice and clear

    11. August 2020 um 21:13
  • Marco Antworten

    Can I store a Json object in IndexedDB?

    16. August 2020 um 21:00
  • Leonard Filip Antworten

    Does this video play offline?

    20. Oktober 2020 um 11:07
  • A K Antworten

    what would be the limit of the storage? I belive it is a local db in the browser. right? I didn't see any discission about the limits of the db in the video in 2017

    4. Dezember 2020 um 2:04
  • Ricardo Lau Antworten

    Thnaks 😀 this will be very helpful for my future projects

    14. März 2021 um 2:02

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.