ObjectBox - Fast Local Database for Flutter With Optional Sync Across Devices!

Поділитися
Вставка
  • Опубліковано 17 тра 2021
  • 📦 ObjectBox - Superfast NoSQL DB
    objectbox.io
    📗 Learn from the written tutorial 👇👇
    resocoder.com/objectbox-flutter
    📧 Get Flutter news 📰 and resources:
    👉 flutter.education
    👨‍💻 Do you write good code? Find out now!
    resocoder.com/good-code-quiz
    When you're choosing a database you're going to use in your next project, it's good to make wise and informed choices. ObjectBox is a very fast NoSQL local database for Flutter and also native Android/iOS with an intuitive API, rich support for queries and relations, plus you can optionally keep the database synced across multiple devices without any hassle on your part.
    We're going to build a "shop order app" showing orders of respective customers. You're going to learn a lot - setting up of entities, relations, ordering, and reactive queries. First, we're going to focus only on the local database functionality and then I'll show you how easy it is to sync your data across devices with ObjectBox Sync.
    Go to my website for more information, code examples, and articles:
    ● resocoder.com
    Follow me on social media:
    ● / resocoder
    ● / resocoder
    ● / resocoder

КОМЕНТАРІ • 73

  • @cleancodez
    @cleancodez 3 роки тому +20

    Finally you're back

  • @sn1cka_
    @sn1cka_ 3 роки тому +1

    Hello from Kyrgyzstan. Really like your vids. Just started to learn flutter one month ago, and now Im already a developer. Your vids helped me so much. Thank you and wish you to have more powers to make more vids!

  • @mars3142
    @mars3142 3 роки тому +30

    Please add timestamps into your description, because sometimes it's easier to find a position to lookup again.

  • @baraaaljabban9058
    @baraaaljabban9058 3 роки тому +1

    we've been waiting for you buddy!
    hope you are OK, wish you all the best

  • @djaalabahmed2038
    @djaalabahmed2038 3 роки тому

    thank you , we need more videos from you ,keep good working

  • @zull_koath
    @zull_koath 8 місяців тому

    What an easy tutorial! I enjoyed it. ObjectBox is really amazing. Quite a useful database.

  • @peekpt
    @peekpt 3 роки тому

    Finally a relational database like core data from iOS!🙌

  • @midnightcoder
    @midnightcoder 3 роки тому

    And he is BACK!

  • @developerzull
    @developerzull 8 місяців тому

    Very good tutorial! I enjoyed it. ObjectBox is really a very useful database.

  • @noblenetdk
    @noblenetdk Рік тому

    I love the good videos (and flutter) and I really value the clean coding series. But I miss someone explaining how you design the app. There a lot of videos explaining various widgets but I would love to see some one taking it from say a wireframe to a app page. It can't just be columns and rows. Keep up the splendid work.

  • @nepalcodetv6298
    @nepalcodetv6298 3 роки тому +4

    Love your every content, Authentication App with state management for any type of app..Would be super great content..

  • @BrendansReasons
    @BrendansReasons 2 роки тому

    sync is actually pretty cool

  • @h3w45
    @h3w45 3 роки тому

    Welcome back.

  • @MoAdel92
    @MoAdel92 3 роки тому

    Welcome back

  • @Flutterdev6391
    @Flutterdev6391 3 роки тому

    After long time i click on UA-cam notification

  • @longtimedeveloper6498
    @longtimedeveloper6498 3 роки тому +3

    Hi Matt, does Object Box offer cloud sync so we don't have to set up a server, but instead use theirs? I checked their website, but no pricing is listed for this service. Thank you, Karl

  • @candangasrodriguito5120
    @candangasrodriguito5120 3 роки тому +1

    hi Rezo, I am using subbase as database and it is SQl, do you think I can use Obcject box as local storage?

  • @vladkononenko7292
    @vladkononenko7292 3 роки тому

    I'm still waiting for your videos about null safety and cross-platform development (for mobiles, tablets and desktops)
    and I hope you will have such videos c:

  • @teesl4240
    @teesl4240 Рік тому

    Hi thanks for the great tutorial always. Would like to know if ObjectBox provide security encryption like Mongo RealmDB?

  • @gabrielfranca963
    @gabrielfranca963 3 роки тому

    Can you teach how we use Websockets following Clean Principles ?

  • @didiDanaila
    @didiDanaila 2 роки тому +1

    Only at the end did you said that syncing is not free. Can you tell us the prices?
    Is there another solution? I want to create an app that synchronizes data from the database available offline in a wifi network.

  • @vikaspachar574
    @vikaspachar574 3 роки тому +1

    Plz explain how er can test ObjectBox and there is no pricing section for ObjectBox Sync, is it much expensive or not

  • @pierremarais7669
    @pierremarais7669 3 роки тому

    Hi Reso, I have a Sqlite db of about 80Mb, how to keep this secure inside Flutter or can I export this to ObjectBox, thanks Pierre

  • @yeinerfonseca
    @yeinerfonseca 3 роки тому

    What VS Code theme and font do you use?

  • @Mahi-hn8tr
    @Mahi-hn8tr 2 роки тому

    Nice video, how to find out all customers by querying?

  • @wilsontoussile519
    @wilsontoussile519 2 роки тому

    Thx for the video. IS it possible to backup objectbox on Google Drive ?

  • @lorenzosala3527
    @lorenzosala3527 3 роки тому

    What do you think about GetX?

  • @sylvainain4364
    @sylvainain4364 Рік тому

    Hey!! great video !! How to test objectbox database?

  • @Yurick04
    @Yurick04 3 роки тому +2

    Notification gang 😎

  • @m4sterkg
    @m4sterkg 3 роки тому

    your course will use flutter_bloc?

  • @shakirkasmani
    @shakirkasmani 3 роки тому +12

    Please migrate DDD notes app to Null Safety

    • @ResoCoder
      @ResoCoder  3 роки тому +8

      I'm on it!! Didn't have time lately as you've surely noticed 😅

    • @arhamanwar7166
      @arhamanwar7166 3 роки тому

      @@ResoCoder Please do Navigator API 2.0

  • @manmaaze
    @manmaaze 3 роки тому

    Hey can you make tutorial on link previews in flutter
    Like whatsapp shows the link previews for url the same way?

  • @alithejumbo
    @alithejumbo 2 роки тому

    Hi man, I'm getting versioning problem:
    [!] CocoaPods could not find compatible versions for pod "ObjectBox":
    In Podfile:
    objectbox_flutter_libs (from `.symlinks/plugins/objectbox_flutter_libs/ios`) was resolved to 0.0.1, which depends on
    ObjectBox (= 1.6.0)
    objectbox_sync_flutter_libs (from `.symlinks/plugins/objectbox_sync_flutter_libs/ios`) was resolved to 0.0.1, which depends on
    ObjectBox (= 1.6.0-sync)

  • @cedvdb6473
    @cedvdb6473 3 роки тому

    What are the key differences between object box and Realm ?

  • @MinhNguyen-hf5yh
    @MinhNguyen-hf5yh 3 роки тому

    Thank for a great tutorial. I have 2 questions.
    Is it support freeze package?
    Is it can return Stream type to listen DB changed?

  • @adriano_souza
    @adriano_souza 3 роки тому +2

    Welcome back! In terms of performance and simplicity of implementation, which one did you think was the best? Hive or ObjectBox?

    • @ResoCoder
      @ResoCoder  3 роки тому +1

      I prefer ObjectBox over Hive now.

    • @adriano_souza
      @adriano_souza 3 роки тому

      @@ResoCoder Thanks man! I was going to start studying Hive, but now I'm going to be ObjectBox

  • @aridwiprayogo
    @aridwiprayogo 3 роки тому

    One hour more 😱😱

  • @abid109
    @abid109 3 роки тому

    Sir are you starting new series on flutter bloc 7 with null safety

  • @nat101yt
    @nat101yt 3 роки тому

    Does ObjectBox support blobs? Synced blobs?

  • @ElleWasTaken
    @ElleWasTaken 3 роки тому +9

    Is this better than Hive DB?

    • @kevinyeung1787
      @kevinyeung1787 3 роки тому

      As i heard hive is deprecated, i think you can search online and confirm it!

    • @ElleWasTaken
      @ElleWasTaken 3 роки тому

      @@kevinyeung1787 where the heck have you seen that Hive is deprecated? It's one of the fastest NoSQL db for dart / flutter 😂

    • @kevinyeung1787
      @kevinyeung1787 3 роки тому

      @@ElleWasTaken Thanks. I just saw it online but not final. Therefore, it is good to clarify it if you have any news. I am also in doubts.

  • @rahulfree1
    @rahulfree1 3 роки тому +2

    Doesn't Annotating Entities violate Clean architecture principles? It looks like by using object box we are mixing repository layer with domain layer i.e. our Entity layer is dependent on Repository layer. Also how easy it will be to migrate data later if we want to move away from object box. Apologies if I misunderstood some concepts here. I jumped to this tutorial just after finishing Reso Coder's Clean TDD Architecture series.

  • @renzcarlosalanga1107
    @renzcarlosalanga1107 3 роки тому

    Where can i download the sync server

  • @BrendansReasons
    @BrendansReasons 2 роки тому

    So the iPhone 5c is not supported, for example

  • @shahbazbacker8902
    @shahbazbacker8902 3 роки тому

    Will it work on flutter web.

  • @saiseshnagpithani4448
    @saiseshnagpithani4448 3 роки тому

    i am getting error as "_store is not initialized"

  • @SaminAliMondal
    @SaminAliMondal 3 роки тому

    Is this completely free?

  • @sasaharukh8575
    @sasaharukh8575 3 роки тому

    sound is very low

  • @dinesh0743
    @dinesh0743 3 роки тому

    Your vscode theme really looks great., What is it's name...?!

    • @anasmohamed6958
      @anasmohamed6958 3 роки тому

      material theme

    • @Tracot
      @Tracot 2 роки тому

      I just find the font "JetBrains Mono" the rest is the color that you prefer...

  • @prometheusli101
    @prometheusli101 3 роки тому +4

    the voice is too small

  • @semangatfanny4838
    @semangatfanny4838 2 місяці тому

    11:06 and 12:54

  • @maxhart8814
    @maxhart8814 2 роки тому

    You should really say that the sync functionality is not free at the satrt of the video , not at 1:05:50 . You make good tutorials but this was a bit annoying. Luckily i din't waste my time watching everything before that point

  • @hoekbrwr
    @hoekbrwr 3 роки тому

    Why do we need this? Yet another exotic database syntax you will never have learned before the next one becomes the leading trend! Why not stick to the mainstream database languages like SQL, NoSQL, Hive, and others? Btw I changed to ^1.0.0 and got errors in objectbox.g.dart. I have no idea what remedy is needed to get it running! After finding out that my Flutter SDK has been screwed up, probably by "--delete-conflicting-outputs" and reinstalling Flutter SDK and Android Studio I am still plagued by Android licenses not OK(java error) according to flutter doctor. At least I could run the build-runner(without the --delete-conflicting-outputs option) and got things going in version 1.0.0. I am not completely sure it was the delete option but have a bad feeling about it. So be aware and try using build-runner without that option!

  • @bierztkirst7528
    @bierztkirst7528 2 роки тому

    useless movie.. the sync jar file cannot be downloaded. it is private and limited user....

  • @ajaykotiyal427
    @ajaykotiyal427 2 роки тому

    Whenever You will "Clear Data", you will loose whole data. 😜
    ( I have seen in Android )
    I think it doesn't happen with Sqflite.

  • @sadzolot2
    @sadzolot2 3 роки тому

    What do you think about GetX ?