On Monday, August 29, 2016 at 9:57:19 PM UTC+2, Michael Glaesemann wrote:
> > On 2016-08-29, at 12:27, Georgi Danov <georgi.da...@gmail.com> wrote:
> > 
> > Exactly. Datascript, hand rolled normalized, same demoralized 
> 
> Well, I hope you're not *too* demoralized :)
> 
> I haven't worked with anything other than the default data store, but I think 
> what'd I'd do is determine what parts of the mutate and read methods are 
> specific to the storage, as they can also include application logic. Those 
> storage-specific parts I'd maybe create a protocol for, and implement the 
> protocol for the different storage backends. AIUI, you wouldn't need to worry 
> about where you call om/transact! at all: om/transact! works through the 
> parser, and you'll have the storage-specific implementations there.
> 
> Does that make sense? I defer to anyone who's actually done this :)
> 
> Michael Glaesemann
> grzm seespotcode net

(facepalm) well, I am demoralized but that's another story...

thanks

-- 
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.

Reply via email to