Skip to content

How is LokiDB the official successor of LokiJS? #190

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
beruic opened this issue Mar 29, 2021 · 12 comments
Closed

How is LokiDB the official successor of LokiJS? #190

beruic opened this issue Mar 29, 2021 · 12 comments

Comments

@beruic
Copy link

beruic commented Mar 29, 2021

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Feature request
[x] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/LokiJS-Forge/LokiDB/blob/master/CONTRIBUTING.md#question

Current behavior

https://github.com/LokiJS-Forge/LokiDB claims that

LokiDB is the official successor of LokiJS.

, but I cannot find any reference stating this at LokiJS.

Expected behavior

If it was really so, I'd expect LokiJS to make an official reference to LokiDB.

@xkem
Copy link

xkem commented Jun 22, 2021

^^^^^^^

@lustremedia
Copy link

As it looks, lokiDB is a typescript port of lokiJS ... maybe that is a natural progression?

@beruic
Copy link
Author

beruic commented Aug 12, 2021

@lustremedia I'm putting an emphasis on the word "official" here. The point is that nothing in the legacy seems to validate this as an official successor.

@lustremedia
Copy link

lustremedia commented Aug 12, 2021

@beruic yeah sure, my "natural progression" was more or less a shrug ¯_(ツ)_/¯ comment ... I forget about emotions online sometimes

@Viatorus
Copy link
Member

Viatorus commented Aug 12, 2021 via email

@beruic
Copy link
Author

beruic commented Aug 18, 2021

@Viatorus I thought about this, but @techfort is not listed under https://github.com/orgs/LokiJS-Forge/people, so I still fail to see this relation. Is it under another username? :)

Nevertheless, I started this issue because I was wondering. I still don't see any evidence of your claim being true @Viatorus, but I guess that as a member of the group, your statement at least hold some weight to it.

@Viatorus
Copy link
Member

Viatorus commented Aug 18, 2021 via email

@beruic
Copy link
Author

beruic commented Aug 18, 2021

I guess it's a wrap then :)

@elmarti
Copy link

elmarti commented Sep 22, 2021

I've made a few suggestions, but they may detract from the original functionality a little too much, so it may be a case of forking

@elmarti
Copy link

elmarti commented Oct 10, 2021

I'm a few weeks away from a proper release, but I've built similar database with a Mongo API here:
https://github.com/elmarti/camadb/tree/develop

For me this resolves the tickets I opened on this project:

It currently does not have indexing, but i'm seeing comparable speeds

@Bessonov
Copy link

@elmarti great! I'm looking for a fast, persistent and typescript based db solution. But I like a reactive approach. I can see only two projects for that requirement:

  • WatermelonDB. It's still used on an older project. Overall great and fast, but strange ideas around primary keys (you have very little control over them) and around synchronization makes it unusable for me.
  • RxDB. This is the current solution, but I'm not happy about the weight (there is some work was done in 10th version) and some flakiness on initialization/destroying. But I think it's more related to many abstractions rxdb -> pouchdb -> indexeddb. With last architectural changes we have possibility to drop pouchdb, but not implemented yet.

One thing you may keep in mind is the possibility to migrate the existing schema and data.

@elmarti
Copy link

elmarti commented Oct 11, 2021

Subscriptions/observables/update streaming is definitely in my periphery, but no concrete ideas as of yet, but here are some of the things i'll be adding in the coming weeks for the sake of the project i'm working on:

  • Synchronisation adapter interface - ability to connect to synchronize with any service like MongoDB realm (I want to add some kind of transaction support, this is not supported by Realm)
  • Collection streaming - the internals already support this, just needs exposure via an API/researching the ideal way to expose this e.g callbacks, observables, async iterator etc
  • Exposure of persistence interface - ability to provide a custom implementation for serialization
  • UI composer - ability to bind UI components to the data - not a lot of ideas about this yet

If you have a specific request feel free to open a ticket on the repo or PR, I don't want to keep poking the Loki community 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants