Giter Site home page Giter Site logo

Comments (3)

terrier989 avatar terrier989 commented on September 2, 2024

Hi! Thanks for the feedback!

The API is likely to change a lot before 1.0.... and much of the documentation is missing. We should probably emphasize this in the documentation.

Yes, the reach parameter in various methods is related to synchronization. For example, you may have a local SQLite cache in iOS / Android devices and a global Postgres database in cloud. The reach parameter in document-style API allows programmer to choose the best tradeoff for each read/write operation.

The package doesn't have client/server synchronization yet. Synchronization is a very complex problem and we are exploring various ideas for client/server synchronization such as operation-based CRDTs. Any help on this is welcome!

from database.

AlexGHancock avatar AlexGHancock commented on September 2, 2024

Yes, synchronisation is tricky - I've written a version for my existing client/server database classes implemented in C++/Java/Objective C. I was about to port my code to Flutter/Dart when I came across your libraries.

Although you refer to parentDatabase, I don't see you assigning one anywhere. I assume that's part of the work to be done? I'll continue to convert my higher level code to Flutter using your libraries (bearing in mind the likely changes to come) and come back to the synchronisation issue a little later.

Keep up the good work!

from database.

terrier989 avatar terrier989 commented on September 2, 2024

I close this because we are seeking a simpler, better design for the API and it will take some time before the package is ready for the public.

from database.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.