I was randomly tinkering around and discovered websocket_messaging.py I've got that running and it appears to be receiving messages from the sample functions but I can't seem to get them to actually display in the browser. I was wondering if there was some sort of nice, canned websocket javascript client that can just be added to a web2py app and pointed at websocket_messaging.py.
Has anyone used websocket_messaging.py it to build a more robust chat server that ties in with auth? The key/token thing confused me a bit. How do you store messages using websocket_messaging.py? The script size in memory could get quite huge. Writing the history to a database table is the first option that comes to mind but at first glance I don't see any way to purge all or part of the stored input of the script. Is this something that would need to be done within tornado (which I have absolutely no experience with)? I'm still very new to all of this and plan on eventually building a simple message board app. Since IRC is becoming less and less common I'd like to create a chat system to pair it with. Does anyone have any experience with websocket_messaging.py they'd like to share, or other recommendations? --

