Cecil
19+ years progress programming and still learning.
Has anybody implemented the WebSocket protocol in the ABL?
I was mucking around with node.js and WebSocket and I realised that the is opportunity for a server side process to send messages to the node.js using Socket.io and that message can then be broadcast to other WebSocket clients.
So for example an AppServer or even a GUI/TTY client updates a record it could send a lightweight message to node.js server process basically saying "Hey! I just updated this record and here is it's rowid. blar blar blar". Actually the message would most likely be in the form of a JSON string.
So any mobile or desktop application would then get a broadcast JSON message from node.js via WebSocket and then the client can then automatically re-display the updated info, or something like that.
Currently I have a JavaScript process on my Web Application which is periodically polls the WebSpeed Broker just to see if anything has changed.
So before I start writing a WebClient for the ABL which is different to HTTP protocol, has anybody done this before I wast my time.
I was mucking around with node.js and WebSocket and I realised that the is opportunity for a server side process to send messages to the node.js using Socket.io and that message can then be broadcast to other WebSocket clients.
So for example an AppServer or even a GUI/TTY client updates a record it could send a lightweight message to node.js server process basically saying "Hey! I just updated this record and here is it's rowid. blar blar blar". Actually the message would most likely be in the form of a JSON string.
So any mobile or desktop application would then get a broadcast JSON message from node.js via WebSocket and then the client can then automatically re-display the updated info, or something like that.
Currently I have a JavaScript process on my Web Application which is periodically polls the WebSpeed Broker just to see if anything has changed.
So before I start writing a WebClient for the ABL which is different to HTTP protocol, has anybody done this before I wast my time.