Re: Clean-room Socket.IO implementation committed to git 8.0/8.1

"Stephen R. van den Berg" <[email protected]>
Newsgroups gmane.comp.lang.pike.devel,gmane.comp.lang.pike.user
Message-ID <[email protected]>
Most bugs have been eradicated, significant further API changes are unlikely.

I'm using it in a mini-application here now.
I.e. in my application I define two namespaces:

"" : Authentication functions.  Supported RPC (Remote Procedure Call) events
     are:
        - client->server: "gettoken"
        - server->client: "getusername", "getpassword".

"db" : Connects to a database.
       Supported RPC events are (all client->server):
         - "gettoken" (used internally, server->server).
         - Any other queries the user-application needs.

Other namespaces could be defined for other server functions (like controlling
hardware).

In essence this framework allows me to do asynchronous database queries
from a webbrowser application with minimal overhead.
-- 
Stephen.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.