On Wednesday, March 18, 2015 at 9:46:45 AM UTC-4, [email protected] wrote:
> On Wednesday, March 18, 2015 at 12:58:14 PM UTC+1, Mike Thompson wrote:
> > On Wednesday, March 18, 2015 at 9:18:16 PM UTC+11, Colin Yates wrote:
> > > Not to go too far down the 'communicate with local state' tangent, but
> > > isn't a global event-bus (eg. a (chan)) sufficient? I use om and
> > > app-state for all state (except projections) and haven't found any of
> > > the given scenarios a challenge.
> > 
> > 
> > A global event bus is certainly a popular solution when you have 
> > distributed state and control, and you want the parts coordinated. 
> > 
> > PureMVC and many other OO frameworks take this approach.  Sounds like some 
> > have taken this approach with OM too when coordinating components. It 
> > certainly works! 
> > 
> > With re-frame I tried to not have that problem in the first place (so then 
> > I didn't need a solution for it).
> > 
> > --
> > Mike
> 
> Not sure I agree that re-frame escapes the distributed state and control 
> parts better than other discussed approaches, but I think we've scared the OP 
> enough already :) 
> 
> I believe the consensus for the original question is that re-frame is great 
> for large applications. So go and create! 
> 
> While we may continue bickering over the details in another thread :)

Heh, I'm not scared, just really busy with work so I haven't had a chance to 
reply yet! 

Thanks for the input everyone. I'm loving the discussion that has broken out 
here and please do continue if you feel so inclined.

In my current app we are using a global event bus and components maintain their 
own local state. It's been OK for the most part. I think I just need to start 
building something with re-frame and think on the various ways you guys are 
managing state :)

-- 
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