in reply to Re: Module namespace: OpenDirectory something?
in thread Module namespace: OpenDirectory something?

The WWW:: prefix might be a good choise, but the more I use the OpenDirectory data, the less I think of it as "a web site" :) And while the data used is mined from the web, the matcher doesn't use the web while performing the match.

However, most people probably think of dmoz.org as "just a web site" and the name should be set to match their expectations. And the _contents_ of the OpenDirectory is obviously WWW-related.

The WWW::Search:: namespace seems a little off. So far as i can see, _all_ the modules below WWW::Search:: are subclassed to call the respective search engine. This one doesn't. Besides there is already a WWW::Search::OpenDirectory :)

/J - grateful for the feedback

  • Comment on Re: Re: Module namespace: OpenDirectory something?

Replies are listed 'Best First'.
Re: Re: Re: Module namespace: OpenDirectory something?
by chaoticset (Chaplain) on May 12, 2002 at 16:37 UTC
    I think part of it results from not wanting to type 'OpenDirectory' when a four-letter alternative exists.

    The WWW::Search:: namespace seems a little off. So far as i can see, _all_ the modules below WWW::Search:: are subclassed to call the respective search engine. This one doesn't. Besides there is already a WWW::Search::OpenDirectory :)

    Perhaps WWW::DMOZ will help to distinguish it in the human memory space, then. :)

    -----------------------
    You are what you think.