pub sub question

19 views
Skip to first unread message

obruening

unread,
Feb 11, 2012, 12:07:21 PM2/11/12
to Amplify
hi,

i have two javascript objects, a knockout.js viewmodel and an object
that talks to a jabber server.

i want a loose coupling between both objects, they talk to each other
in both directions with amplify pub / sub. it works great and both
objects don't even know each other. do you think that this is the
right approach to do this kind of inter-object communication? another
approach would be to pass the one object to the other. but they would
need to know each other in both directions.

best regards
oliver
Reply all
Reply to author
Forward
0 new messages