> On 2016-08-29, at 12:27, Georgi Danov <[email protected]> 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 -- 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 https://groups.google.com/group/clojurescript.
