[Zope] can zope handle jsp serlet or perl scipt?

Jerome Alet alet@librelogiciel.com
Mon, 17 Mar 2003 22:25:30 +0100


On Mon, Mar 17, 2003 at 03:09:45PM -0500, Paul Winkler wrote:
> On Mon, Mar 17, 2003 at 02:17:38PM -0500, Jianping Zhu wrote:
> > 
> > Can zope handle jsp, servlet like apache+tomcat?
> 
> > can i hand perl cgi script?
> 
> not exactly, and not out of the box.
> it is (or was) possible to add perl scripting to zope.
> search for "perl" on this page: 
> http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/ScriptingZope.stx

As an alternative, you could try ZShellScripts which is downloadable
from http://www.librelogiciel.com/software/

It offers semi-transparent support for Python, Perl, PHP, Lisp, Ruby 
(only in the CVS version) , and *nix Bash. 

Each of these languages can access Zope objects in a, more or less, 
semi-transparent way for basic purposes.

e.g. in Perl you get something like this :

    #! /ZShellScripts_Samples/perl
    print "This script is located in : " . $container->getId . "\n";
    print "Username : $username     Password : $password\n"; 
    print "Session ID : $SESSION_ID\n";
    print "Preferences : $SESSION->{'preferences'}\n";
        
I was told that it is used successfully in the GNUe (GNU Entreprise)
project, but I don't remember if it is for the Perl or PHP part.

bye,

Jerome Alet