Elizabeth Mattijsen wrote:
At 01:15 -0800 1/16/04, Stas Bekman wrote:

Elizabeth Mattijsen wrote:

At 01:05 -0800 1/16/04, Stas Bekman wrote:

This is changing, take a look at: http://perl.apache.org/docs/2.0/api/

Still far from complete, last time I looked.

Please look again. Most API is in place (though only skeletons which need further review and expansion).


Still far from complete ;-) Skeletons are nice to work with, but don't tell you anything as a user.

Baby steps ;)


>The current setup (in the final stages of getting this going for a client right now) is _very_ >confusing.
What do you mean? The thing I'm talking about?

Yep.

So what would you suggest to change?


That's something I would need to think about some more. I think you're heading in the right direction with your earlier suggestions.

Well, there were several suggestions (move all Apache:: methods into Apache class or make the API use the class they live in). Which one do you like?


e.g. Apache::document_root living in Apache
vs   Apache::ServerUtil::document_root living where it is now (Apache::ServerUtil)

What would be nice is some type of die handler that would suggest to you which module to load if it can't find an "expected" method. That would make migrations, although still trial and error, at least much quicker...

Hrmm, have you looked at the porting docs? http://perl.apache.org/docs/2.0/user/porting/porting.html#Using_C_ModPerl__MethodLookup__to_Discover_Which_mod_perl_2_0_Modules_Need_to_Be_Loaded http://perl.apache.org/docs/2.0/user/porting/porting.html#Using_C_ModPerl__MethodLookup__Programmatically http://perl.apache.org/docs/2.0/api/ModPerl/MethodLookup.html#Applications http://perl.apache.org/docs/2.0/user/porting/porting.html#How_C_Apache__MP3__was_Ported_to_mod_perl_2_0

or you did and it doesn't do what you suggested above?

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to