The web is more and more becoming the fat client of tomorrow. Not that it offers much more than what we’ve had fifteen years agod, but at least it is finally promising to become the one-platform-for-everything that Java never proved to be.
Nevertheless, web sockets promise to offer a new level of interactivity between browser-side applications and some server backend, because teh technology offers a steady, low-latency communication channel between server and frontend. Think Ajax as it should always have been: whenever the server needs to share information with a client, it simply sends it there, without the need for the client to poll or anything.
So web sockets are a really great opportunity for server-side frameworks like Seaside or AIDA. So if you, like me, thought “Wow, if only I could use wb sockets in my web application!”, I have good news for you: We’ve seen the first announcements for web socket implementations in Smalltalk:
- Zinc Components’ support for web sockets was announced in early september
- The http server Swazoo 2.3 beta 3 now supports web sockets (see the announcement) on Squeak, Pharo and VisualWorks
- The latest version of the AIDA/Web framework also ships with web socket support (on top of Swazoo I guess)
So once again the Smalltalk world is in the middle of the hottest and most exciting web technologies and people can implement cool advanced, highly interactive web applications in Smallzalk, using the most advanced interactive technology to develop and debug code on the server side.
I guess it won’t be long until someone comes up with an implementation of web sockets for GemStone/S or VA Smalltalk…
Add WebClient on Squeak as WebSocket-enabled client as well.
And Swazoo already supported earlier version of WebSockets two years ago, here is an anouncement: http://forum.world.st/WebSocket-support-in-2-3beta1-tt3069896.html. Aida followed soon: http://forum.world.st/ANN-Aida-6-2beta-Mobile-WebSocket-HTML5-JSON-tt3088914.html. But we switch-off it soon because WebSockets standard was not yet ready at that time (it has a security hole). Now WebSockets reached a final RFC status, they are supported in most browsers, that was the reason to upgrade and revive support in Swazoo and Aida again.
Zinc also has a Websocket package…
Jacob,
Thanks for pointing this out.
I remember reading that and wanting to blog about it, but it got lost somehow. But in fact Zinc was even a few weeks earlier. I updated my post to add Zinc.