[Zope] Zope interfacing with C

ghaley@mail.venaca.com ghaley@mail.venaca.com
Fri, 27 Apr 2001 10:57:35 -0400 (EDT)


	hi,

	it is entrirely possible for zope to interface with C and
C++.  we use the C++ module for MySQL fairly extensively, and basically
what you do is write an external method that defines various functions
which take as parameters the variables you need to feed to the program,
then have the python program launch the application passing it the
parameters.  the python program can then return the resulting data back to
zope, where, should that be necessary, you can set up a formatted display
of the results data.  

	hth.

	ciao!
	greg.

	Gregory Haley
	DBA/Web Programmer
	Venaca, LLC.

> 
> Basically, I am asking how feasible it would be to use Zope to interact
> with C programs - to provide input for and display its output. If its a
> problem, then I expect that Zope and the C programs could be run on the
> same machine. It would not be possible to re-implement the software in
> Python - well, I suppose it would, but it's quite a large piece of
> software that has taken a few years to develop.
>