Nikita, thanks for this library, it will make me learn more about Datomic
which I wanted for some time :)

As I'm currently playing with a desktop app project which is using
ClojureScript on top of node-webkit, I want to try Datascript for its DB
needs.
I'm interested in DB which would be in-memory, but also with the ability to
be persisted on disk.
I know that you specifically said in the project description:

No facilities to persist, transfer over the wire or sync DB with the server


So I'm thinking that for my use case I can just hand-write this by
introducing some kind of import-export functionality on top of Datascript
and at the points I want to load/persist.
And i'm wondering what would be the best way to export Datascript DB? Is it
just that I make some kind of "give me *everything*" query and then
serialize as I please?
Or is there maybe something similar already baked in or planned?

Also I'm interested to know if I'm completely wrong in wanting Datascript
for this usecase :)

And another question.
Is there somewhere an estimated memory footprint, or is it again hard to
say at this point (pre-alpha and all)?

Thanks,
Dmitry.


On 30 April 2014 17:38, Gijs S. <[email protected]> wrote:

> Hi all,
>
> Thank you Nikita for DataScript.
>
> It's the missing ClojureScript part I've been looking for, for a web
> application I've been building. This todo application includes a front-end
> using DataScript and React.js/Quiescent.
>
> More details here:
> http://thegeez.net/2014/04/30/datascript_clojure_web_app.html
>
> The code is on github: https://github.com/thegeez/clj-crud
>
> Demo on heroku: http://clj-crud.herokuapp.com/
>
> -Gijs
>
> On Friday, April 25, 2014 8:18:06 AM UTC+2, Nikita Prokopov wrote:
> > Hi!
> >
> >
> >
> > I’m glad to announce my new library, DataScript.
> >
> >
> >
> > It’s an open-source, from-the-scratch implementation of in-memory
> immutable database aimed at ClojureScript with API and data model designed
> after Datomic. Full-featured Datalog queries included.
> >
> >
> >
> > Library is here: https://github.com/tonsky/datascript
> >
> >
> >
> > Also check out this blog post about why you may need a database in a
> browser: http://tonsky.me/blog/decomposing-web-app-development/
> >
> >
> >
> > Feedback welcome!
>
> --
> Note that posts from new members are moderated - please be patient with
> your first post.
> ---
> You received this message because you are subscribed to the Google Groups
> "ClojureScript" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/clojurescript.
>

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to