Open influx6 opened 10 years ago
@influx6 you simply have to provide a WebSocket server that talks the FBP protocol, and NoFlo UI should work out-of-the-box: http://noflojs.org/documentation/protocol/
Oh sure,am working on it concurrently ,just having abit of a tussle with dart websocket library ,seems to either deliver packets only after a reload or work randomly,still trying to figure if its a bug in code or the library or the custom chromium running dart if it doesn't work after today will code the socket in is and just interop with dart is interop library,that's what giving me abit if an headache,once I figure that out ,the ui integration should be ready, arigato gozaimassu :-)
@influx6 if you're running SparkFlow in browser, then you can also do window.postMessage
instead of WebSockets. See my implementation in https://github.com/noflo/noflo-runtime-iframe/blob/master/runtime/network.js
Ok got it,sorry took me time to reply,connection being acting up lately and was at church at that point in time,just got back,will implement using 'window.postMessage' but will also try to fix the socket implementation,the more versatile the better, thanks,God bless.cheers!
Will do checkout ,once I get back home from church,but also will ensure to get the websocket also fixed,but thanks ,at least in browser will be solved ,God bless, cheers! On Jan 22, 2014 5:44 PM, "Henri Bergius" notifications@github.com wrote:
@influx6 https://github.com/influx6 if you're running SparkFlow in browser, then you can also do window.postMessage instead of WebSockets. See my implementation in https://github.com/noflo/noflo-runtime-iframe/blob/master/runtime/network.js
— Reply to this email directly or view it on GitHubhttps://github.com/influx6/sparkflow.dart/issues/3#issuecomment-33041475 .
Fbp is visual,hence its necessary to figure out the necessity and the how to integrate it into a UI ,preferable noflo-ui with its advanced setup,but unsure as to how that will work.