Flutter NoSQL Database – SEMBAST Tutorial (w/ BLoC)

preview_player
Показать описание
📗 Learn from the written tutorial & get the project files 👇👇

👨‍💻 Do you write good code? Find out now 👇

Persistently storing data in Flutter is not one of the easiest experiences if you're just starting out. If you want to move beyond simple "Preferences", which are only key-value pairs, you are probably looking at a library like SQFLite. The problem with this library is that it's very low level and maybe you really don't need to use structured data. What about NoSQL in Flutter?

In this tutorial you're going to learn about SEMBAST (Simple Embedded Application Store) which is a very powerful, yet simple to use library for storing, querying, ordering, paginating and even encrypting data.

Go to the website for more information, code examples, and articles:

Follow me on social media:

Рекомендации по теме
Комментарии
Автор

Exactly what I was looking for. Thank you so much for this awesome tutorial. Keep up the great work!

StefanGallerAT
Автор

Thanks a lot!!! Just what I needed. It works perfect!

jhonromero
Автор

Awesome work bro!
One of my favorite Youtube channels ever, you really did a great job explaining the code. Expecting some Firebase tutorials soon hopefully!!
Thanks for all the help.

aissamouajib
Автор

Very beautiful video looking forward for many more

quickflutterfixes
Автор

Looks good. How would you use sembast with a more realistic data set? Nested data, related data, array fields, etc? For example, say I had a Playlist class that stored a id and name and a Song class that had songs that belonged to the Playlist. Can I do something like that with sembast? How would the queries work?

theroosafamily
Автор

What is completer doing exactly? Isn't it the same as creating a Future if it does not exist and returning that always. As the Future will resolve or reject only once and the class is a singleton, it should serve the purpose. Is Completer just syntactic sugar? (new to dart)

Krrish
Автор

what if there is not List of fruit? what if there is one Fruit and you want to store that, what will you do get the fruit, you won't do List<Fruit> right?

yonasmelesse
Автор

I would also be interested in seeing this example with nested data, related data like Mike Roosa mentioned. Thank you

marcosarria
Автор

What would be the correct way to automatically refresh the list to check if new data was added? For example if we were to source the data from a server, how would we check if new data was added on the server every 5 minutes? Adding Timer.periodic to rebuild the widget does not seem to be a good idea, how would we do it from the bloc?

thepowerdigger
Автор

Hi U have not explained how to create leaves class and do nested list in sembast... Please help me

Ls-dfmf
Автор

awesome . just what I need. tho there have been some changes to the flutter_bloc package (I'm using 0.20.0) instead of BlocProvider(bloc : FruitBloc ... I had to use a builder : BlocProvider(
builder: (BuildContext context ) => FruitBloc(),

barfbarfomellow
Автор

Can SEMBAST be used to create offline first applications? Creating applications where connectivity is not always guaranteed? I was thinking of using MONGODB Realm but it does not work yet for Flutter!

kristopherkivutha
Автор

You are awesome. Thank you soo much <3

mateenmehmood
Автор

Can't we just use RxDart instead of using completer?

happynewyearw
Автор

Thank you for this video! That was very helpful. One question I've had, is there a way to pre-seed the db with data from a json file when the user install the app, or just is referenced when opening the db?

rockinouttt
Автор

Sambast is good or hive for nosql database?

fahamarahmani
Автор

how to sync data with server ?? like offline first app ??

creative-commons-videos
Автор

Sir can you please make a video on how to implement the functionality of add to favorites to local database using sqflite (or any other database) where data is coming from JSON API.

darthvader
Автор

Omg what is is vscode theme it looks amazeballs.

nictanghe
Автор

Flutter needs a builtin database like coredata on ios. If you have all this trouble to write one entity, I can't imagine if you have to do relationship databases...

peekpt