Diego Gómez Deck
Buenos Aires - Argentina
Smalltalk Web Toolkit
Germán S. Arduino
Founder of Arduino Software http://www.arduinosoftware.com
Producer of PasswordsPro http://www.passwordspro.com
Blog at: http://germanarduino.blogspot.com
Alejandro M. Aguirre
Founder of tech-Art Engineering
Personal page at: http://wiki.squeak.org/squeak/6112
Diego Gómez Deck
Partner at IGO Software http://www.igosoftware.es
Creator of SWT and friends
What is SWT ?
A web development framework based on Model-View-
Model centered (as any good software)
Divides the software in two parts:
Server Part (Model): Running on the server (Smalltalk)
What is SWT (Cont) ?
Uses Comet to break the HTTP protocol asymmetry
With Comet we can deliver content to the client when an
event has occurred in the model or in the server and avoid
the pooling task to the server.
This technique allows us to develop a MVC framework. The
model is on the server and the view-controller on the client.
The events are fired from the server to the client, and the
framework has optimizations to control the network traffic.
Asteroid is a small, but still functional, implementation of the
technology named Comet.
See more about comet at:
In web development, Comet is a neologism to describe a
web application model in which a long-held HTTP request
allows a web server to push data to a browser, without the
browser explicitly requesting it.
The "dom" widgets are written in Squeak (The basic widgets
developed in Smalltalk and translated to JS by ST2JS. Not
The result is a squeak image running in the browser!
The client server communication with traditional Ajax
The server client communication with Comet
#clientSide and #serverSide engines
Realtime Collaborative Whiteboard
Changes on real time
Distributed MVC – Designed to run with Comet.
Remote Model-View-Controller attempts to optimize the
network traffic. Model on the server and vc on the client.
Example of Distributed MVC running
When you are development in this framework you don't feel
the sensation that you are developing a web application.
Here we don't use anything outside Smalltalk.
Another useful possibility of SWT is use it to “compile”
Squeak on the server.
Live Example: http://www.caceres3d.es/gigapixel/
Of course, being an static html, also works on mobile
devices as the iPhone!
Download the source code to generate the html from
Real Projects with SWT
SWT is open source MIT licensed and is available on
Mailing List: email@example.com
Port to latest versions of Squeak
Port to Dolphin / Dolphin New Generation
Invite all Smalltalkers to check it and, may be, help with the
Germán Arduino - firstname.lastname@example.org
Alejandro Aguirre – email@example.com
Diego Gómez Deck - firstname.lastname@example.org
Thanks you very much!