On Tue, 9 Oct 2001, Stas Bekman wrote: > So you suggest to just rename the leading package s/Apache/ModPerl/ but > to keep the Registry, PerlRun, RegistryNG and RegistryBB names? They > preserve exactly the same functionality.
that's what i had in mind. > We have discussed this before a bit, it's about the rest of the Apache:: > modules, whether they should keep the same names or change. It seems > that you've changed your mind, since originally you said that none of > the modules will have to change their names when ported to 2.x. i haven't changed my mind. most of the 2.x modules have names that do not exist in 1.x. the majority of those who have the same name work exactly the same (Apache::Connection, Apache::Server, etc). one case where things are totally different in Apache::Filter. as i mentioned months ago, the 1.x module should be renamed Apache::PerlFilter. at this point in time the new Apache::Registry and friends you are working on are not the same as 1.x. once the new modules are at a stable point, they can either be moved back into the Apache:: namespace or simple wrappers can be written around the ModPerl:: namespace. > The only problem we have is that some servers will need 1.x and 2.x live > under the same perl/lib tree. I'm still not sure how this is going to > happen if we keep the same names, and put the burden on the developers > to make their modules working with 1.x. and 2.x. that's what MP_INST_APACHE=1 + use Apache2 () is for. but this case is different from that. it is possible right now to install just modperl-2.0 into a perl/lib tree, copy the 1.x Apache/Registry.pm there, configure PerlModule Apache::compat and the functionality is there. if your under-development Apache::Registry goes in, that makes this more difficult. > As for the registry stuff, there are still a few things that need to be > resolved before we can drop Apache::compat for the registry, but I > wanted the basic code to be in CVS and get the initial response on > whether I'm going in the right direction. right, which you can get with the new names. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
