This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-08-28
Channels
- # admin-announcements (59)
- # aws (27)
- # beginners (42)
- # boot (22)
- # cider (5)
- # clojure (97)
- # clojure-australia (3)
- # clojure-italy (2)
- # clojure-japan (9)
- # clojure-russia (81)
- # clojure-sg (2)
- # clojurescript (86)
- # clojutre (1)
- # cloxp (2)
- # cursive (60)
- # datomic (24)
- # docs (1)
- # editors (1)
- # emacs (17)
- # hoplon (57)
- # instaparse (1)
- # jobs (11)
- # ldnclj (19)
- # re-frame (1)
- # reagent (3)
- # spacemacs (7)
- # testing (8)
- # yada (127)
I just watched the Om Next presentation from David and got thinking - he is showing that the components only need to define how to pull data they need. Isn't that what hoplon already does?
because you need to be able to decide how the things are wired up from outside the component, too
i haven't seen the presentation, but i can say hoplon doesn't try to innovate here
in lisp, functions "pull data" from the environment and arguments
this is also what cells do
there's data stored in a DB of my choice and I want to have an SPA that lets you do some CRUD. There's all this datomic, datascript etc stuff flying around though and it's hard to decide what to do how exactly.
Like how would one create a table view that can be updated and the updates would be sent to the database. Undo/redo support
@alandipert: I haven't tried om but what I was referring to is that he said he's dropping cursors because in om next you just define what you need via datomic pull syntax
@xifi: i see. the difficulty with that in my experience is all data must be addressable in a global namespace (the datomic database)
vs. cells, which can be local and anonymous, and are subject to lexical scoping
so retracting a fact does not necessarily reverse actions in the real world that were taken as a result of the assertion
http://alandipert.github.io/hoplon-demos/bacwn-hoplon/ is an experiment from a year or two ago
i put datalog queries in cells
@alandipert: and how was it
undo/redo isn't the most important thing though and I might have different means to achieve that in my case
yeah nevermind the undo functionality, not that important in this case really, was just curious
thanks for the chat for now, I might be around later. Oh and @micha feel free to drop a short answer on 2-4 from yesterday 😛
@xifi: :re bacwn, it was cool, it's one way to do it. definietly no The Way
like with lisp, we have the types, what goes in them an dhow we arrange them is application-dependent
maybe the om next way is awesome for the kinds of stuff david is interested in building
@alandipert @xifi I know others who have used cells + datascript successfully — would be interested to know of anyone using combination datascript on front-end w/ datomic on the backend.
@alandipert: would it be technically feasible to combine javelin cells with ReactNative?
@donmullen: i don't know much about reactnative, but cells can go anywhere javascript can
@alandipert: ReactNative runs primarily as javascript which calls into native for UI