[Zope] Zope on the Mac

Jeffrey P Shell jeffrey@Digicool.com
Thu, 11 Feb 1999 11:42:48 -0500


> Actually, I've been thinking about how to make Python Carbon-based so it
> runs on MacOS X (until then it's just not "ready for prime time"), and
> which time this hsould be a lot easier :-)

I can imagine the announce message now.  "Python is now a carbon based
lifeform" :)

> There has been talk, however, of making Python OSA-aware so that it can
> be used as THE scripting language on MacOS... but I've held off on doing
> anything about this until I better understand the scripting architecture
> of MacOS X---as there's talk that WebObjects will also plug in, which
> might necessitate major changes.

Isn't it already semi-OSA-aware?  I've only dabbled lightly with the mac
modules.  I was just about to write a folder action to launch a Python
script that uses ZPublisher.Client to publish a folder full of *.dtml files
(a giant heinous form of death that i'm working on, neatly segmented into
lots of li'l bitty pieces - too many to put up with cutting'n'pasting from
Alpha all the time) to a Principia 1.8 beta (in desperate need of an
upgrade).  I want to make the script launch every time a file is saved and
i'm pretty sure MacOS 8.5's Folder Actions would do the trick, but it seems
a bit silly using a scripting language to launch a scripting language.
Keeping it all in Python would be pretty nice.

anyways, a Carbon based Zope would be nice.  I imagine the POSIX layer of
MacOS X Server would be an easier development, but the price tag of OS X
Server and the fact that it currently comes with free WebObjects makes it a
much smaller platform than Carbon can target.

Of course, if I can get The Company to buy OS X Server for me to look into
all of this, i won't complain ;).

The main issue I see (which may be solved by ZServer...but maybe not,
MacPython doesn't support threads :( even though threading is available on
MacOS - in limited form at least) is Web Server support.  If ZServer or
ZopeHTTPServer is used, it's no problem.  But the Web Servers i've dabbled
with (Microsofts Personal Web Server, Apples Web Sharing) use much
different environment/request variables than Unix or even NT.

.jPS | jeffrey@digicool.com | http://www.zope.org/