sproutcore/sproutcore — pull request #664 by tim-evans (2011-12-21 18:47:33+00:00)
Title: MultiplexedDataSource

We've been using this in our application for some time, and it's made it easier for us to debug and test smaller parts of our model layer.

Simply, it allows for a data source to register for certain record types, and have them delivered to that data source. The use case for this is different than a `SC.CascadeDataSource`. It's intended to be used when you have a stream of data from one source that has multiple data types that it emits. For example, we're using this for XMPP. The XMPP data source is the `SC.MultiplexedDataSource` and we have delegates that manage the data for chat messages, presence, and buddy lists (we have lots more, but this is a generalization to illustrate proper use).

Thoughts?