CRUD Tiny DB + List - Kodular | (MIT App Inventor,Appybuilder,Thunkable)

Ahmad Nasril
Ahmad Nasril
4.9 هزار بار بازدید - 2 سال پیش - Assalamualaikum..Seperti biasanya saya membuat tutorial
Assalamualaikum..

Seperti biasanya saya membuat tutorial cara membuat aplikasi android dengan Kodular | (MIT App Inventor,Appybuilder,Thunkable dll)
Nah pada kali ini saya membuat tutorial CRUD Tiny DB + List - Kodular | (MIT App Inventor,Appybuilder,Thunkable)

- OVERVIEW

TinyDB is a non-visible component that stores data for an app.
Apps created with Kodular are initialized each time they run: If an app sets the value of a variable and the user then quits the app, the value of that variable will not be remembered the next time the app is run. In contrast, TinyDB is a _ persistent _ data store for the app, that is, the data stored there will be available each time the app is run. An example might be a game that saves the high score and retrieves it each time the game is played.
Data items are strings stored under tags . To store a data item, you specify the tag it should be stored under. Subsequently, you can retrieve the data that was stored under a given tag.
There is only one data store per app. Even if you have multiple TinyDB components, they will use the same data store. To get the effect of separate stores, use different keys. Also each app has its own data store. You cannot use TinyDB to pass data between two different apps on the phone, although you can use TinyDb to shares data between the different screens of a multi-screen app.
When you are developing apps using the AI Companion, all the apps using that companion will share the same TinyDb. That sharing will disappear once the apps are packaged. But, during development, you should be careful to clear the TinyDb each time you start working on a new app.

- METHOD
Clear All
Clear the entire data store

Clear Tag
Clear the entry with the given tag

Get Entries
Retrieves all data entries of TinyDB in form of Dictionaries

Get Tags
Return a list of all the tags in the data store

Get Value
Retrieve the value stored under the given tag. If there's no such tag, then return valueIfTagNotThere.

Store Value
Store the given value under the given tag. The storage persists on thephone when the app is restarted.

- PROPERTIES
Namespace
Namespace for storing data.

✔️Donasi (Support Channel)
🔸️ Dana / LinkAja / OVO / GoPay  👉 https://saweria.co/kelaskodular

✔️Terima Jasa
🔸️ Jasa pembuatan aplikasi 👉 https://bit.ly/3ABab6M
🔸️ Jasa upload aplikasi ke playstore 👉 https://bit.ly/3ce47rs

✔️Social Media
🔸️ Instagram 👉 Instagram: ahmadnasril2020
🔸️ Facebook 👉 Facebook: ahmadnasril2020
🔸️ fanspage 👉 https://fb.me/kelaskodular

✔️Group / Cummunity
🔸️ Kodular Community 👉 https://community.kodular.io
🔸️ Facebook 👉 Facebook: komunitaskodularindonesia
🔸️ Telegram 👉 https://t.me/komunitaskodularindonesia
🔸️ Whatsapp 👉 https://chat.whatsapp.com/ExqDRSPtx4S...

Semoga tutorialnya bermanfaat
wassalam

#Kodular
#MitAppInventor
#Appybuilder
#Thunkable
#AhmadNasril
2 سال پیش در تاریخ 1401/10/16 منتشر شده است.
4,989 بـار بازدید شده
... بیشتر