Hi Doug,
for my implemetation of the interface to mod_dav I again looked thru your
code that generates the XS for mod_perl 2.0. I have done this the first time
when I implemented my HTTP::Webdav (which is a webdav client and will be
soon on CPAN). For this first project that does automaticly generate XS from
C I decided, that your modules are too much connected to the internals of
Apache and wrote my own quick and dirty script that now creates all the XS
glue code for the API and the callbacks. Now for the mod_dav backend, I took
again a look at the XS generation in mod_perl and thought it would be a good
idea to make it a little bit more general, so it could be used outside
mod_perl. My idea is to make a base class (e.g. ExtUtils::XSMaker;
suggestions for better names are welcome), that implements all the general
stuff and your mod_perl/Apache class inherit from this base class and
implement the mod_perl specific stuff. This way another application could
also use the base class and use it without Apache. The idea behind this is,
that mod_dav should now run with mod_perl 1.x, but later with mod_perl 2.x.
If we can make the XS generation stuff more general, I could use it right
now and the port to Apache/mod_perl 2.0 would be much easier.
I know this will be a lot of work, but you already have done a lot of work
for the XS generation and I don't like to reimplement it. What do you think,
should I give it a try ? If I start such a separation, would you take it
into mod_perl, so we can use the same code base, or is this for whatever
reasons a bad idea ?
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]