-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IndexedDB #6
base: master
Are you sure you want to change the base?
IndexedDB #6
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't have the time to finish, but I noticed a couple of changes needed
- Supports key range queries, indexes. | ||
- Can store much bigger volumes of data than `localStorage`. | ||
- Slaat bijna elke soort waarde per key op, er zijn meerdere types key nodig. | ||
- Ondersteund transacties voor betrouwbaarheid. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Ondersteund transacties voor betrouwbaarheid. | |
- Ondersteunt transacties voor betrouwbaarheid. |
You had ondersteund here but ondersteunt below
- Slaat bijna elke soort waarde per key op, er zijn meerdere types key nodig. | ||
- Ondersteund transacties voor betrouwbaarheid. | ||
- Ondersteunt queries van key ranges en indexen. | ||
- Kan een groter volumes data opslaan dan `localStorage`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Kan een groter volumes data opslaan dan `localStorage`. | |
- Kan veel grotere hoeveelheden gegevens opslaan dan `localStorage`. |
|
||
That power is usually excessive for traditional client-server apps. IndexedDB is intended for offline apps, to be combined with ServiceWorkers and other technologies. | ||
Deze mogelijkheden zijn normaal gesproken excessief voor traditionele client-server apps. IndexedDB is bedoeld voor offline apps, om gecombineerd te worden met met ServiceWorkers en andere technologiën. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deze mogelijkheden zijn normaal gesproken excessief voor traditionele client-server apps. IndexedDB is bedoeld voor offline apps, om gecombineerd te worden met met ServiceWorkers en andere technologiën. | |
Deze mogelijkheden zijn normaal gesproken excessief voor traditionele client-server apps. IndexedDB is bedoeld voor offline apps, om gecombineerd te worden met ServiceWorkers en andere technologiën. |
|
||
The native interface to IndexedDB, described in the specification <https://www.w3.org/TR/IndexedDB>, is event-based. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm pretty sure this is an extra line
De functie geeft een `openRequest` object, we kunnen naar de events in dit object luisteren: | ||
- `success`: de database is gereed, er is een "database object" in `openRequest.result`, die we kunnen gebruiken voor verdere functie invocaties. | ||
- `error`: openen van de database is gefaald. | ||
- `upgradeneeded`: de database is gereed, maar de versie is verouderd ( zie onderstaand ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- `upgradeneeded`: de database is gereed, maar de versie is verouderd ( zie onderstaand ) | |
- `upgradeneeded`: de database is gereed, maar de versie is verouderd (zie onderstaand) |
Nitpick
|
||
**IndexedDB has a built-in mechanism of "schema versioning", absent in server-side databases.** | ||
**IndexedDB heeft een ingebouwd mechanisme van "schema versies", in tegenstelling tot server-side databases** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
**IndexedDB heeft een ingebouwd mechanisme van "schema versies", in tegenstelling tot server-side databases** | |
**IndexedDB heeft een ingebouwd mechanisme van "schema versies", in tegenstelling tot server-side databases.** |
Again, nitpick
Please make the requested changes. After it, add a comment "/done". |
No description provided.