All Projects → nhachicha → Realm Dart Ffi

nhachicha / Realm Dart Ffi

Licence: apache-2.0
Experimental Realm binding using dart:ffi preview support

Programming Languages

dart
5743 projects
cpp
1120 projects

Labels

Projects that are alternatives of or similar to Realm Dart Ffi

Rust V8worker2
Minimal Rust binding to V8 (based on ry/libv8worker2)
Stars: ✭ 33 (-60.24%)
Mutual labels:  ffi
Realmfire Swift
Sync a local realm database with firebase
Stars: ✭ 62 (-25.3%)
Mutual labels:  realm
Ffi Platypus
Write Perl bindings to non-Perl libraries with FFI. No XS required.
Stars: ✭ 80 (-3.61%)
Mutual labels:  ffi
Dustr
Dart - rust - Flutter compatibility
Stars: ✭ 37 (-55.42%)
Mutual labels:  ffi
Espresso
🚚 Espresso is an express delivery tracking app designed with Material Design style, built on MVP(Model-View-Presenter) architecture with RxJava2, Retrofit2, Realm database and ZXing
Stars: ✭ 1,084 (+1206.02%)
Mutual labels:  realm
Bibleify Desktop
🖥️Simple & fast bible app with dramatized audio built with Electron, React, Rematch & Realm
Stars: ✭ 70 (-15.66%)
Mutual labels:  realm
Realm.json.extensions
Extension Methods for adding JSON APIs to a Realm Instance
Stars: ✭ 9 (-89.16%)
Mutual labels:  realm
Newspaper
An aggregated newspaper app containing news from 10+ local news publishers in Hong Kong. Made with ❤
Stars: ✭ 82 (-1.2%)
Mutual labels:  realm
Realm Sync Samples
Code samples showing how to work with Realm Sync
Stars: ✭ 58 (-30.12%)
Mutual labels:  realm
Realm Graphql
GraphQL client for Realm Object Server
Stars: ✭ 79 (-4.82%)
Mutual labels:  realm
Rxrealm
RxSwift extension for RealmSwift's types
Stars: ✭ 1,007 (+1113.25%)
Mutual labels:  realm
Realm Graphql Service
GraphQL service for Realm Object Server
Stars: ✭ 44 (-46.99%)
Mutual labels:  realm
Fruity
Rusty bindings for Apple libraries
Stars: ✭ 72 (-13.25%)
Mutual labels:  ffi
Rucaja
Calling the JVM from Rust via JNI
Stars: ✭ 35 (-57.83%)
Mutual labels:  ffi
Keycloak Clojure
A Clojure library helping the integration of Keycloak with a Clojure Application + a sample SPA Client and API Server demonstrating the Keycloak integration
Stars: ✭ 81 (-2.41%)
Mutual labels:  realm
Zion
A statically-typed strictly-evaluated garbage-collected readable programming language.
Stars: ✭ 33 (-60.24%)
Mutual labels:  ffi
Ynsearch
🔍 Awesome fully customize search view like Pinterest written in Swift 5.0 + Realm support!
Stars: ✭ 1,131 (+1262.65%)
Mutual labels:  realm
Koreader Base
Base framework offering a Lua scriptable environment for creating document readers
Stars: ✭ 81 (-2.41%)
Mutual labels:  ffi
Winapi Rs
Rust bindings to Windows API
Stars: ✭ 1,237 (+1390.36%)
Mutual labels:  ffi
Android Mvp Starter
Create/Generate your MVP projects easily
Stars: ✭ 72 (-13.25%)
Mutual labels:  realm

This repo is archived, please follow progress on https://github.com/blagoev/realm-dart for a preview release soon.

realm-dart-ffi

Experimental Realm binding using dart:ffi preview support.

This demo wraps the Realm database engine (C++) using a C like interface in order to build a simple Key/Value store, and expose it to dart.

Building

  • Build the Shared Object library containing Realm with a C wrapper
git clone https://github.com/nhachicha/realm-dart-ffi
cd realm-dart-ffi
git submodule update --init --recursive
cd lib/src/cpp
cmake .
make

Running

  Database d = Database("demo.realm");
  d.put("first name", "Nabil");
  String firstName = d.get("first name");
  • Run the example (from the root directory realm-dart-ffi)
realm-dart-ffi> pub get
realm-dart-ffi> pub run example/main

This should persist two keys, then retrieve them.

Creating database demo.realm
Put key: first name value: Nabil
Put key: last name value: Hachicha
Get key: first name
Get key: last name
Hello Nabil Hachicha
Closing database 

You can also inspect the generated Realm database using Realm Studio

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].