[Zope] ASP in Zope?

Tino Wildenhain tino@wildenhain.de
Sun, 24 Nov 2002 23:04:54 +0100


Hi,

--On Sonntag, 24. November 2002 21:28 +0100 Blurg <blurg@gluipzak.nl> wrote:

> What? Are you nuts??
>
> No, not really, though not in this respect.
>
> I am busy with a company who actually has a dotcom, which I am bringing
> (converting) into Zope and I'll convert the ASP scripts into Python
> scripts.

Dont try to do this. Try to build the application with Zope using python
scripts, but dont try to 1:1 adapt ASP logic into Zope. You'll end up
making things harder for you then they have to.

> But, I have some time limit so I'd like to know, if there is some way to
> bring it in first with all the ASP stuff, and then rewrite the scripts one
> by one.
>
> I guess the answer is no, but I am not sure.

I'd say no, but: you might have written your scripts in Python.
ASP uses Scripting host and scripting host does not only support VBScript,
but also JScript and - if installed - python. If so, you could
write a "wrapper" which exposes the needed API to your scripts.
(Of course this would be much more work then simply rewriting the app 
completely)

If they are in VBScript you can try to build an exotic pile of abstration 
layers,
like calling script via web client from zope to IIS, or use scripting host 
from
Zope->External Method->some_wierd_DCOM_action

Whatever. If you manage to learn the strengts of zope, you will write the
application much faster from scratch.

May we learn what you want to transport to zope? May be its done already
elsewhere?

Regards
Tino