Skip to main content

How to use Tiny DB in Kodular Creator?

 

How to use Tiny DB in Kodular Creator?

"So,welcome back to Learn Web and to today we are to learn "How to Use Tiny DB in Kodular".Now, let's directly get into it.

How to use Tiny DB in Kodular Creator?

1.What is Tiny DB?

A tiny DB is a component provided to us in Kodular Creator.This component is used to store data in storage of Device.It saves a data string in storage of device and which we can retrieve then using the tag or key we used to store data .Tiny DB is found in the storage options in Kodular in sidebar in creator. We have to use different tags and keys to retrieve data string.Now you might have understood what is tiny DB and why it is called tiny DB.

2.Need of Tiny DB:

As you know that in Kodular made app if closed and Opened again it can't remember any variable which is set in previous session of User.That's why we can't perform some function due to this.So,for this we use Tiny DB to store value of a variable in our app. So that, the value of variable is stored and can be retrieved when app opened again.

3.Example of projects to use Tiny DB:

1.On login Screen.

2.To store user chosen language.

3. For store a value for switch.

And there are also many other projects in which we can use Tiny DB. Now we move to our next step how to implement Tiny DB in Kodular.

4.How to implement Tiny DB in Kodular?

Step 1: Open your project in which you want to use Tiny DB.

Step 2: Look for storage option in Sidebar of creator page.

Step 3: Now you can see Tiny DB, so just drag and drop this to viewer.

Now you have implemented Tiny DB to your project Successfully.

5.Blocks in Tiny DB component:

Here, we are going to discuss the main blocks and what they perform...

Block 1


Tiny DB block 1

Clear All: This block clears all the values and tags of a DB.

Block 2

Tiny DB block 2
Clear Tag: Clears the values of a Specific tag given.

Block 3


Tiny DB block 3

Get Value: Returns the value stored in a tag. And returns the value if tag is not there given in "value if tag is not there"

Block 4


Tiny DB block 4

Store Value: Stores the value given in "value to store" for the given tag string.

So,these was all about the Tiny DB in your project.This was for our today's tutorial and we will be back tomorrow with a fresh topic.Till then......

Happy Koding.......

Comments

Popular posts from this blog

How to use KIO4 gradient in Kodular?

  Welcome to learn web, today we are back with a completely new tutorial on Kodular Basic-to -Advanced app making.Today topic for our tutorial is that how to use Gradient effect in Kodular app making for any layout. How to use gradient colors in kodular app? For this you need to use a extension named "KIO4" gradient.So,before starting you need to get this extension before we start our tutorial.To get this click on link below: My Drive Link This is the google drive link for the KIO4 extension. I think you might have got the extension.So, we start our tutorial on how to use gradient effect Kodular apps. Step 1:Open your Project in which you want to use gradient Effect.Then click on the extensions button in the bottom of left sidebar and click on import extension.Now select the KIO4 gradient file and click on Import after some time your extension will be processed and imported to your project. Illustration: Once you have Imported the KIO4 extension you can see the extension as s...

How to use Firebase database in Kodular?

Welcome to Learn Web my friends. Today we are going to learn about how to retrieve and store data from user in firebase database. This will be surely very exciting and useful for you guys. So, here we start our tutorial on "How to store data of user in Firebase in Kodular?" How to store data of user in Firebase in Kodular? 1. What is Firebase? I think you guys may have listened about Firebase but if not, then don't worry this isn't any rocket science you will easily learn "How to store and retrieve data of user in Firebase?". Firstly I want to tell you about What is Firebase Database? So, firebase is a cloud storage platform provided by google to store and retrieve data and Firebase also provide many other services that we will learn in our next tutorials. Today we are going to talk about "How to use Firebase Database in Kodular?"  2. What is Firebase database in Kodular? Now I would like to tell you what is Firebase database and what we are going ...

How to use Kodular Companion to test App?

 What is Kodular Companion? I understand, if you are new to kodular then you won't be able to understand what is meant by Kodular companion.So, today we are going to clear your doubt "What is Kodular Companion?".Kodular companion is a android app by Kodular Organisation.This app allow us to test the Realtime changes in our app while creating apps.If we don't use companion then we have to create and download our app to check whether is it working properly or not.But this is not a comfortable method because we can't check realtime changes in our app.So, to check app by downloading and installing we have have to download our app more than 100 times which is not easy for us. Therefore, we are provided a app which we can use to check the realtime changes in our app without downloading it every time. Benefits of Kodular Companion: 1.No need to download app multiple times. 2.Can be used to see realtime changes. 3.We can check different apps with Companion. 4.Useful while...