From: vruz@... Date: 2001-12-14T09:36:19+09:00 Subject: [ruby-talk:28474] Re: Design question: remote UIs and distributed objects On Fri, 14 Dec 2001, Massimiliano Mirra wrote: > > Right now I am trying to write a very simple implementation of tuple > spaces where tuples are marshalled to a bare bones xml format before > being put or after having been got. This should be enough to grant > language independence, as small marshal modules are all that should be > written to support new languages. I am not sure whether the bigger > amount of data to transfer (13.24352 > instead of 1,3.24252) would be overkill for such an application, > though. It's also a mix of totally new fields for me, so I'm likely > to hit a lot of walls before finding a door. > > Massimiliano > In order to minimize network traffic, WAP/WML is compiled to some sort of bytecode. WAP phones and the like only understand that bytecode, (you don't download text to the phone, but the compiled version) which is suitable for low bandwidth links like cellular networks. WML is an XML application language and it is used for basically the same idea, rendering an user interface in the client, while maintaining state in the server. Right now I am researching a bit the current W3C DOM/CSS specs,and testing the limits of current web browsers, to see if they could possibly perform well for the task. An example of my current test project generates: (sorry, it's in spanish) http://www.digipromo.com/v_desk/test_desktop.php it's written in php and javascript, and as I become proficient with Ruby I will be porting it to Ruby. Please note it performs very badly in Mozilla, but it does well on Internet Explorer >= 5.0 This test only supports 1024 x 768 resolution and under windows Exit = alt+f4 A SVG based client would be even better, but current browsers aren't up to the challenge. just some ideas... please keep me updated if you think of something else regarding this issue. best regards, vruz