[ANN] Zinc WebSockets

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[ANN] Zinc WebSockets

Sven Van Caekenberghe-2
Hi,

I am pleased to announce the first public release of Zinc WebSockets, an implementation of client and server RFC 6455 regular (ws://) and secure (wss://) WebSockets on top of Zinc HTTP Components and Zodiac TLS/SSL Streams.

High level documentation can be found here:

  https://github.com/svenvc/docs/blob/master/zinc/zinc-websockets-paper.md

The code can be found in the regular Zinc repositories, or can be loaded using Metacello:

  ConfigurationOfZincHTTPComponents project latestVersion load: 'WebSocket'.

Three examples are included and explained in the high level documentation:

1. a trivial echo service

- each incoming message is simply echoed back to the client

2. a simple chatroom

- each client opens a web socket to the chatroom service running on the server
- the server keeps track of all connected client web sockets
- when a message comes in from any client it is distributed to all clients
- each client shows all incoming messages

3. a simple, continously updated status view

- a client connects and listens for incoming messages containing a status report
- the server streams status reports to each connected client every second
- in the web browser you get to see the Smalltalk image's clock, memory and process stats

Tested and approved on 2.0 #281. Portability to 1.3 and 1.4 should be OK.

The implementation of Zinc WebSockets was made possible in part through financial backing by Andy Burnett of Knowinnovation Inc. and ESUG. Thanks!

Questions, remarks, feedback ?  Please use the Pharo Smalltalk mailing lists.

Sven

--
Sven Van Caekenberghe
http://stfx.eu
Smalltalk is the Red Pill




Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Zinc WebSockets

Stéphane Ducasse
Thank sven and andy and ESUG for the sponsoring.
I like bounties because this is ground up from the needs to the code and green tests!

Stef


> Hi,
>
> I am pleased to announce the first public release of Zinc WebSockets, an implementation of client and server RFC 6455 regular (ws://) and secure (wss://) WebSockets on top of Zinc HTTP Components and Zodiac TLS/SSL Streams.
>
> High level documentation can be found here:
>
>  https://github.com/svenvc/docs/blob/master/zinc/zinc-websockets-paper.md
>
> The code can be found in the regular Zinc repositories, or can be loaded using Metacello:
>
>  ConfigurationOfZincHTTPComponents project latestVersion load: 'WebSocket'.
>
> Three examples are included and explained in the high level documentation:
>
> 1. a trivial echo service
>
> - each incoming message is simply echoed back to the client
>
> 2. a simple chatroom
>
> - each client opens a web socket to the chatroom service running on the server
> - the server keeps track of all connected client web sockets
> - when a message comes in from any client it is distributed to all clients
> - each client shows all incoming messages
>
> 3. a simple, continously updated status view
>
> - a client connects and listens for incoming messages containing a status report
> - the server streams status reports to each connected client every second
> - in the web browser you get to see the Smalltalk image's clock, memory and process stats
>
> Tested and approved on 2.0 #281. Portability to 1.3 and 1.4 should be OK.
>
> The implementation of Zinc WebSockets was made possible in part through financial backing by Andy Burnett of Knowinnovation Inc. and ESUG. Thanks!
>
> Questions, remarks, feedback ?  Please use the Pharo Smalltalk mailing lists.
>
> Sven
>
> --
> Sven Van Caekenberghe
> http://stfx.eu
> Smalltalk is the Red Pill
>
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Zinc WebSockets

Tudor Girba-2
In reply to this post by Sven Van Caekenberghe-2
Thanks, Sven!

And thanks the backers, too.

Doru


On Wed, Sep 12, 2012 at 10:29 PM, Sven Van Caekenberghe <[hidden email]> wrote:

> Hi,
>
> I am pleased to announce the first public release of Zinc WebSockets, an implementation of client and server RFC 6455 regular (ws://) and secure (wss://) WebSockets on top of Zinc HTTP Components and Zodiac TLS/SSL Streams.
>
> High level documentation can be found here:
>
>   https://github.com/svenvc/docs/blob/master/zinc/zinc-websockets-paper.md
>
> The code can be found in the regular Zinc repositories, or can be loaded using Metacello:
>
>   ConfigurationOfZincHTTPComponents project latestVersion load: 'WebSocket'.
>
> Three examples are included and explained in the high level documentation:
>
> 1. a trivial echo service
>
> - each incoming message is simply echoed back to the client
>
> 2. a simple chatroom
>
> - each client opens a web socket to the chatroom service running on the server
> - the server keeps track of all connected client web sockets
> - when a message comes in from any client it is distributed to all clients
> - each client shows all incoming messages
>
> 3. a simple, continously updated status view
>
> - a client connects and listens for incoming messages containing a status report
> - the server streams status reports to each connected client every second
> - in the web browser you get to see the Smalltalk image's clock, memory and process stats
>
> Tested and approved on 2.0 #281. Portability to 1.3 and 1.4 should be OK.
>
> The implementation of Zinc WebSockets was made possible in part through financial backing by Andy Burnett of Knowinnovation Inc. and ESUG. Thanks!
>
> Questions, remarks, feedback ?  Please use the Pharo Smalltalk mailing lists.
>
> Sven
>
> --
> Sven Van Caekenberghe
> http://stfx.eu
> Smalltalk is the Red Pill
>
>
>
>



--
www.tudorgirba.com

"Every thing has its own flow"