[aida] Happy new year!
herbertkoenig at gmx.net
Sat Jan 23 11:46:27 CET 2010
KG> Can Aida communicate with a Smalltalk based client other than InternetExplorer?
if I wanted to do this I'd use firebug to watch the network traffic
and simulate the browser's requests via a smalltalk program.
KG> Can Aida generate Smalltalk instead of html? Or any other language?
KG> The communication between the server and the program is not html. It
KG> is some other textual language. Either Smalltalk or picoLARC.
KG> Is it raw sockets? Can Aida be used?
IMO sockets, UDP protocol and send JSON objects between the two
Smalltalk images (client and server). For Squeak there is a JSON
package which serializes and deserializes Smalltalk Objects to JSON
KG> Or should I just try to use raw sockets?
IMHO yes and use UDP instead of IP and take care about lost packets
yourself. But that depends on your application. I once controlled an
Asteroids simulation that way where real time was more important than
not loosing packets so maybe I'm biased :-))
KG> If Aida can generate html via a tree structure then why can't it also
KG> generate Smalltalk?
Donno how complicated that would be but for security reasons I would
not use Smalltalk. Your JSON serialized Smalltalk objects have a well
defined set of messages which only the server controls while if you
send Smalltalk some malevolent client can make your server run
KG> And why couldn't I also make a Smalltalk based
KG> client program that talks to Aida? No web browser is used.
No reason why and I would be interested in your experience for testing
web applications (simulating many users).
Herbert mailto:herbertkoenig at gmx.net
More information about the Aida