You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_python-dev@quetz.apache.org by Deron Meranda <de...@gmail.com> on 2006/02/01 20:52:38 UTC
Re: mod_python as a mod_dav backend
Actually it seems that this is yet another case of trying to get
mod_python to hook into more places in the Apache framework;
specifically to hook into other modules.
We've already been discussing specific-module hooks for
mod_ssl - http://issues.apache.org/jira/browse/MODPYTHON-94
mod_include - http://issues.apache.org/jira/browse/MODPYTHON-104
In fact there's a bit of potentially useful discussion in the notes
for those JIRA issues which is valid for any module-hooking in general
(along with this mailing list archives). I'd say it might be
worthwhile to at least create a new feature-request issue for mod_dav
hooks though; just so it's on the record.
BTW, even though it's not what you asked, it should be possible to
totally implement DAV using only the features already present in
mod_python (without mod_dav); but of course you're doing a lot of the
work yourself (but on the other hand you get to use Python rather than
C).
--
Deron Meranda
Re: mod_python as a mod_dav backend
Posted by Graham Dumpleton <gr...@dscpl.com.au>.
On 02/02/2006, at 6:52 AM, Deron Meranda wrote:
> Actually it seems that this is yet another case of trying to get
> mod_python to hook into more places in the Apache framework;
> specifically to hook into other modules.
>
> We've already been discussing specific-module hooks for
>
> mod_ssl - http://issues.apache.org/jira/browse/MODPYTHON-94
>
> mod_include - http://issues.apache.org/jira/browse/MODPYTHON-104
>
> In fact there's a bit of potentially useful discussion in the notes
> for those JIRA issues which is valid for any module-hooking in general
> (along with this mailing list archives). I'd say it might be
> worthwhile to at least create a new feature-request issue for mod_dav
> hooks though; just so it's on the record.
Adding in support for mod_ssl and mod_include was reasonably trivial
and a natural fit for the basic functionality of mod_python.
Support for mod_dav development using Python would be a considerable
amount of work as it involves construction of a range of new Python
wrapper
classes for C structures and call in infrastructure for Python which
would be
quite tailored for that purpose. Having mod_dav support goes far
beyond the
basic charter of what mod_python is about and all this extra work
would be
an undue burden on core mod_python developers and cause even more
delays in any releases.
Thus why I see that you would be better of having a separate project for
a mod_dav_python module. There would still be changes required in
mod_python to allow the separate module to hook into the basic
infrastructure,
but this would be a more practical way of going about it and would also
allow other distinct modules besides mod_dav_python to be developed
which could have bindings for Python.
Graham