Re: [Fresco-devel] scripting

Tobias Hunger <[email protected]>
Newsgroups gmane.comp.video.fresco.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 13 July 2002 15:51, Nick Lewycky wrote:

There are two very distinct topics discussed in this thread IMHO. One is 
scripting, something intended to help users get a job done, the other is 
debugging, something to help a developer to figure out what goes wrong in his 
application. These are mostly independent things: A user will want to have a 
couple of functions he can call to do things like maximise a window, 
spellcheck a region, change the background image, etc. He is definitly not 
interessted in having to figure out which graphics he needs to touch to get 
his work done. A developer on the other hand needs to have access to the 
individual nodes.

So we should handle them diffrently: A debuger should be part of the server, 
able to access the CORBA-interfaces of the graphics and the implementation of 
those objects too (which is why it should be part of the server in thew first 
place). We still need to expose some methods for inspection on graphics: 
There can be remote graphics that the developer wants to debug too.

A scripting engine should be a set of CORBA objects exposed through the 
server. Applications should be able to register those objects (so you can 
script your mail reader, just like your desktop). It should be simple, aimed 
at _users_ wanting to get their job done.

Moscow would be a good place for a scripting engine. For those not hanging 
around since the time Moscow was discussed: Moscow is sopposed to become a 
Desktop on top of Fresco some day:-)

In general applications should not have access to nodes of the scenegraph not 
generated by them. There might be some exeptions to this rule, but those need 
to be rare so you can do careful checking of credentials. A generall 
accesscheck implemented for all graphics is not the way to go IMHO.

- -- 
Gruss,
Tobias

- ------------------------------------------------------------
Tobias Hunger           The box said: 'Windows 95 or better'
[email protected]                      So I installed Linux.
- ------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9MzAIv0FZW3NyoqURAuKOAJ41Ufy7BvGThW4y/ySBwPILIYjX6gCgg6r/
ya5wIlQJBL4INNwhPTjqyMo=
=KlrY
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.