I'm new to Sproutcore but want to use that framework for building my web application that connects to a WebSocket server to send/receive serialized protobuf binary messages.
Now I want to know how to configure the datasource in Sproutcore to fetch/commit data to the websocket. If anyone has tried something similar, please share.
Appreciate your help !!
Thanks
I recently created an open-source project to do this with Firebase.
Basically, you need to create your DataSource and override the fetch, retrieveRecords and commitRecords methods.
Below is how I did it with Firebase, but you'll definitely need to make modifications to use websockets.
You may also want to checkout the Thoth project. It hasn't been updated in a while, but it has quite a bit of code dealing with Socket.IO.