Derive does not yet support DataScript, but should be able to take advantage of Dave Dixon's work extracting index dependencies from DataScript given a query. You can get a tutorial of using Derive via the Nativestore README which is the only production use of Derive at the present time.
We are looking into Om 0.8.0 to see what parts of Derive are addressed by ref-cursors and how some the other problems we were interested in solving can be addressed as more natural extensions of Om building on the approach we took in derive. Ian On Monday, November 10, 2014 10:38:00 AM UTC-5, stephanos wrote: > Thanks for your reply. > > But actually I was looking to integrate Om and DataScript *with the help of* > derive. Because the problem in the gist is that each Om component now depends > on the whole database. But I want to pass cursors to the components. And the > cursors should be 'derived' from the database. > > > On Monday, November 10, 2014 4:30:08 PM UTC+1, Johann Bestowrous wrote: > > Here's a gist from April https://gist.github.com/swannodette/11308901 > > > > On Sunday, November 9, 2014 9:27:11 AM UTC-8, stephanos wrote: > > > Hey there, > > > > > > ever since I have read Mike Haney's entry about his (Reagent based) > > > application's architecture [1] I'm intrigued by the idea of combining > > > DataScript centrality/simplicity with the modularity/isolation of Om > > > components & cursors. > > > > > > But my current minimal understanding of the ClojureScript world doesn't > > > allow me to come up with a good approach on my own yet. Then I saw derive > > > [2], which even stats that it "supports DataScript and React/Om". This is > > > the point were I am lost. I want to create a demo based on Om's TodoMVC > > > to try out derive with DataScript but I don't even know where to start. > > > > > > Is there an example showing the integration between Om, derive and > > > DataScript? A gist, a repo, a blog post - anything? > > > > > > Regards > > > Stephan > > > > > > [1] https://groups.google.com/d/msg/clojurescript/Hr50_zdJDp4/0P28UHc9JskJ > > > [2] https://github.com/vitalreactor/derive -- 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.
