Given the recent work I've done with XPlanet, I feel that it could do with a good perl interface to at least help with getting data to the program, setting drawing options, and the like. So I'm working on a wrapper in perl that will do this. However, I'm a little stumped for a name for it. "Wrapper::XPlanet" comes naturally, but to my surprise, there is no "Wrapper::" branch; the only module that is similar in nature to what I expect mine to do (that is, having a system call at some point to actually DO the code) is Chart::Graph::Gnuplot, and the hierarchy makes sense since the author of that mod is trying to have a consistent top level class for other graphic programs. The other option would be to have this under "Image::XPlanet", given that the end result is an image. There already is an Image::WorldMap, but the functionality here is all contained within perl , and only does the mercator-type projections; it doesn't have the configurability that XPlanet offers.

Any suggestions on how to name this?


Dr. Michael K. Neylon - mneylon-pm@masemware.com || "You've left the lens cap of your mind on again, Pinky" - The Brain

Replies are listed 'Best First'.
Re: Module Naming Suggestions needed
by Abigail (Deacon) on Jul 13, 2001 at 16:45 UTC
    It depends on what you are focussing on. Do you plan to write more related, XPlanet modules, or would you like to see more XPlanet modules? Then you should use something in the XPlanet:: hierarchy.

    Or is the API the most important, and it just happens to be that it's implemented wtih XPlanet? That is, you want to write (or see others write) more modules with the same API with a different underlaying machinery? Then something like Foo::Bar::Xplanet works well, for suitable Foo::Bar

    -- Abigail

Re: Module Naming Suggestions needed
by AidanLee (Chaplain) on Jul 13, 2001 at 08:43 UTC

    I think that the Chart namespace is much truer to your applications than the Image namespace. However, you might consider Chart::Mapping::XPlanet or maybe just Mapping::XPlanet ...hey, this sounds like a good idea for a poll. any takers?

    my $0.02