[Seaside] Squeak interpreter written in Javascript or Actionscript

Derek Brans seaside@lists.squeakfoundation.org
Mon, 01 Jul 2002 00:30:59 -0700


Okay, what about this idea:

You write a lightweight Squeak interpreter in Javascript that let's you 
pass messages to and from objects on the client.  These objects  would 
typically understand a "display-oriented" squeak protocol (messages 
like: create a component, resize a component, set a component's model to 
this serialized object).

Then you couple that with...

http://www.cross-browser.com/  a cross-browser implementation of DHTML: 
allows you to resize components, create components on the fly.  Includes 
fabulous event handling.  Check out the examples - they work on almost 
all browsers.

Here's how it could work: the squeak interpreter on the client sends 
messages to the server based on user input.  The server responds with a 
bunch of messages addressed to different objects living on the client.  
Without loading a new page,  the components could change and even 
disappear completely, while new ones appear.

Then there's the idea of writing a Squeak interpreter in Flash 
actionscript... that would solve our textarea problem, as well as give 
us autocomplete and doit.  Hell, you could probably reimplement morphic 
in actionscript.  Since Squeak contains a swf engine, you could do all 
your development in a "Flash-Seaside" world and it would look the same 
on a browser in Fiji.

What do you guys think?

Derek

Phasecraft: Smarter Web Development.
Experts in web design, databases, flash design, multi-lingual sites, 
branding, marketing and web hosting.
phone: 604-874-6463
mailto:info@phasecraft.com
http://www.phasecraft.com