[Zope-dev] Moving load to client computers with Zope ?

Anthony Pfrunder s341625@student.uq.edu.au
Wed, 24 Nov 1999 13:29:02 +1000 (GMT+1000)


On Tue, 23 Nov 1999 ZMARKVOSS@aol.com wrote:

> Hello:
[snip]

> The application would place a large load on a server if it had to run local 
> for each current user ... Is it possible to have the users download Python 
> modules to specified directories on their machines and then have ZOPE call 
> these Python modules, do some calculations locally, and then transfer 
> information back and forth between the user (remote browser) and the server.

Why not implement some functions in JPython and get Java to mashall the
data back and forth using XML-rpc?  This way you have better control over
the distribution yet still allow local calculation and you don't have to
learn java. 

If you still wish to run python locally investigate the installer from
Gordon (it "freezes" a complete python system - scripts and all into one
binary.  Works on all python platforms).  You will have DLL issues unless
you bind up the DLL's as well.

Third option is to install Windows Scripting Host and Python and use
ActiveX scripting within the web page to talk to python COM objects.  This
is messy however it may be required for some corporate environments that
require a Microsoft Solution. 

Cheers,

Anthony Pfrunder