I’m having a few issues with ember-data in the application I’m working on, and I’m thinking about replacing it. I’ve read the articles on @eviltrout’s blog (which are awesome, by the way); but I’m curious about something and having trouble tracking it down in the source.
When creating new Discourse model instances (such as Discourse.Topic), how are those additions propagated to the rest of the system? Creating a new Topic, setting the properties, then calling
#save on it, that is. I’m assuming that the router/controller that drives your current topic list is fed via the message bus when you personally add a new topic. Is that correct?