You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+44Lines changed: 44 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,3 +22,47 @@ ObjectBox offers a [C API](https://github.com/objectbox/objectbox-c) which can b
22
22
The C API is also used by the ObjectBox language bindings for [Go](https://github.com/objectbox/objectbox-go), [Swift](https://github.com/objectbox/objectbox-swift), and [Python](https://github.com/objectbox/objectbox-python).
23
23
These languages may serve as an inspiration for this Dart implementation.
24
24
Internally, ObjectBox uses [FlatBuffers](https://google.github.io/flatbuffers/) to store objects.
25
+
26
+
## Code organization
27
+
28
+
This is a multi-package Dart/Flutter repository.
29
+
The core runtime library (`objectbox/`) provides the database API via Dart FFI bindings to the ObjectBox C library.
30
+
Code generation (`generator/`) uses `build_runner` to produce entity bindings at compile time.
31
+
Flutter apps include native libraries via platform-specific plugin packages (`flutter_libs/`, `sync_flutter_libs/`).
32
+
33
+
-**`objectbox/`** – Core runtime package published as `objectbox` on pub.dev.
34
+
-`lib/objectbox.dart` – Public API exports (Store, Box, Query, annotations, Sync, etc.).
💻 **Multiplatform** - Android, iOS, macOS, Linux, Windows, any POSIX-system.\
86
86
🌱 **Scalable** - grows with your app, handling millions of objects with ease.\
87
-
💚 **Sustainable** - frugal on CPU, Memory and battery / power use, reducing CO2 emmissions.
87
+
💚 **Sustainable** - frugal on CPU, Memory and battery / power use, reducing CO2 emissions.
88
88
89
89
🔗 **[Relations](https://docs.objectbox.io/relations)** - object links / relationships are built-in.\
90
90
💐 **[Queries](https://docs.objectbox.io/queries)** - filter data as needed, even across relations.\
@@ -107,7 +107,9 @@ Continue with our ➡️ **[Getting Started guide](https://docs.objectbox.io/get
107
107
108
108
### Flutter Database Performance Benchmarks
109
109
110
-
We tested across the four main database operations, CRUD (create, read, update, delete). Each test was run multiple times and executed manually outside of the measured time. Data preparation and evaluation were done outside of the measured time.
110
+
We tested across the four main database operations, CRUD (create, read, update, delete).
111
+
Each test was run multiple times and executed manually.
112
+
Data preparation and evaluation were done outside the measured time.
111
113
112
114
Here are the benchmarks for ObjectBox vs sqflite vs Hive (last updated 2021-09-11) 👇
113
115
@@ -131,7 +133,7 @@ For general news on ObjectBox, [check our blog](https://objectbox.io/blog)!
131
133
132
134
## Contributing
133
135
134
-
Do you want to check out the ObjectBox code itself? E.g. see in action, run tests, or even contribute code?
136
+
Do you want to check out the ObjectBox code itself? E.g. see it in action, run tests, or even contribute code?
135
137
Great! Clone/check out this repository and run this to generate code and get you started quickly:
136
138
137
139
```bash
@@ -154,6 +156,8 @@ This repository holds all ObjectBox Dart/Flutter packages as separate directorie
154
156
There's also a separate repository benchmarking objectbox (and other databases) in Flutter:
0 commit comments