- From: Alexandre Morgaut <Alexandre.Morgaut@4d.com>
- Date: Mon, 25 Mar 2013 20:45:25 +0100
- To: "public-sysapps@w3.org" <public-sysapps@w3.org>
- Message-ID: <220E9796-5FF5-4D96-A4A4-D7490B413D97@4d.com>
Hi, [Short introduction] My name is Alexandre Morgaut from 4D, working on the Wakanda SSJS platform. We joined the W3C this october 2012. Wakanda tries to implement as much as possible standard JS APIs and then always first look at the W3C and WHATWG ones. [Suggestion Background] After implementing Web Workers on the server, we choose to deliver a compatible interface to communicate with external processes and called it SystemWorker: http://doc.wakanda.org/System-Workers/SystemWorker-Constructor/SystemWorker.301-734959.en.html (It might interest some participants of this group for a potential work on a future standard API ) We currently support the node.js socket API but are still looking for a standard (or standard based) one sharable with client-side JS Before I saw this proposal, we have had internal discussions at 4D for providing and proposing a Raw Socket API compatible with the Web Socket one, following the same idea we had for SystemWorkers. Web Sockets methods and events like send(), close(), onmessage, onerror, or onclose being concept quite shareable with UDP and TCP Sockets, this would have the advantages: - to enhance the Web developers learning curve, - to potentially accelerate this way the API adoption, - to allow communication based libraries/modules to easily work with either Raw or Web Sockets without heavy wrappers, - and of course more globally to have better consistency between the W3C APIs My feeling, if it doesn't look too crazy to you, would be that the Raw Socket interface should be one shared by the Web, the TCP, and the UDP socket interfaces (it might require a little udpate in the Web Socket spec for a reverse reference but it could be done later) Best Regards, Alexandre [cid:a43218.png@fedbeaeb.4289c007] Alexandre Morgaut Wakanda Community Manager Email : Alexandre.Morgaut@4d.com<mailto:Alexandre.Morgaut@4d.com> Web : www.4D.com<http://www.4D.com> 4D SAS 60, rue d'Alsace 92110 Clichy - France Standard : +33 1 40 87 92 00
Attachments
- image/png attachment: a43218.png
Received on Monday, 25 March 2013 19:44:55 UTC