On Thu, 19 Feb 2004, Miguel Howard wrote:

> If Ghemical does not have a server then I recommend that you access it
> through a .cgi on a web server.

There is no such server yet. However, the latest version in CVS works as a
bonobo component (bonobo is the gnome component system). There is a simple
"ghemical" app that is just a bonobo container that contains an object,
which is provided by a more complicated app "ghemical-server". My initial
plan is that one could start ghemical-server using a special argument like

        ghemical-server --socketserver 500

that would not start it as a bonobo server but instead would make it
listen the port 500.

> I believe the web server approach has a number of advantages. If you start
> writing your own server then you may get bogged down with a number of
> issues that are unrelated to the problem you are trying to solve.
>
> I don't have much time right now ... but we can talk later.

Yep, it should be able to handle many requests simultaneously, probably by
starting them as separate threads. On the other hand if the web server
could launch it similarly using arguments like

        ghemical-server --remoteclient some_other_arguments

it would be almost equivalent. It would be slightly slower since at start
ghemical-server reads in several parameter files. Unfortunately I'm not
familiar with cgi and web servers.

        Tommi



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to