Hey Ian,

today I acquainted myself a bit with DataScript and Derive. But it's still 
quite overwhelming. My current goal is to apply the two to Om's TodoMVC 
example. 

But the lack of examples and documentation of Derive make it a bit hard for me. 
So far I've only managed to setup DataScript itself, but the integrations of 
DataScript <> Derive as well as Derive <> Om are still missing [1].

I would love to get more concrete pointers on how to make it work from you. I 
think DataScript, Om and Derive could be a really powerful development toolkit. 
Currently I'm writing a blog series about Om [2], taking apart the TodoMVC 
example step by step. A working Derive integration would be a great final 
chapter - and be a great, easy to understand Derive example to educate the 
masses :)

Stephan

[1] https://github.com/stephanos/om-tutorial/blob/act-7/src/todomvc/app.cljs
[2] https://blog.stephanbehnke.com/zero-to-om/


On Tuesday, November 11, 2014 2:39:21 PM UTC+1, Ian Eslick wrote:
> 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.

Reply via email to