Hi Guys. Back again with the newbie questions. I have not been able to spend a great deal of time researching EventStore, but I’m back at it recently looking at the chat example and trying to figure out how it works.
From looking at the chat example I think I may have that wrong. It appears that the projection is setup in the client. I.e. if I open the chat example and enter a room name that does not yet exist, call it ‘boo’, the client side seems to start a projection (es.projection.js::startProjection()) which will then setup and listen to the stream chat-boo. I still have some digging with how it does that.
I guess my question is, are projections client side or server side? I.e. Do I need to identify a projection and load it into the server and then all clients get access to the projection, or does each client need to setup the projection and the code runs client side? Perhaps they are a mixture of both?