Home > Archive > PERL Modules > March 2004 > help choosing a namespace for my module
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
help choosing a namespace for my module
|
|
| Will Conant 2004-03-19, 12:55 pm |
| Hello,
I've been developing a module for generating HTML, XML, and other
forms of text. Essentially, it's an alternative to HTML::Mason.
Right now, my module is named Lab01::Tmojo. This makes sense for my
commercial projects because it clearly illustrates that Tmojo belongs
to my company, Lab-01. However, as I read the various documents and
FAQs surrounding CPAN, I get the impression that introducing Lab01::
as a top-level namespace wouldn't go over too well :).
As such, I have a few questions:
1. Is it the overwhelming preference of Perl users that modules be
available through CPAN and listed on the CPAN module list?
2. If so, where would you suggest I put my module. I've thought of
Text::Tmojo and HTML::Tmojo, but I'm not sure which of the two, if
either, makes sense.
3. On the other hand, if I don't post my module on CPAN, is it still
appropriate to announce the availability of my module in
comp.lang.perl.announce?
Thanks in advance for any input! If you're interested, you can read
about and download Tmojo at:
http://lab-01.com/tmojo
--
Will Conant
Lab-01.com
will@willconant.com
| |
| Sisyphus 2004-03-19, 12:55 pm |
| Will Conant wrote:
> Hello,
>
> I've been developing a module for generating HTML, XML, and other
> forms of text. Essentially, it's an alternative to HTML::Mason.
>
> Right now, my module is named Lab01::Tmojo. This makes sense for my
> commercial projects because it clearly illustrates that Tmojo belongs
> to my company, Lab-01. However, as I read the various documents and
> FAQs surrounding CPAN, I get the impression that introducing Lab01::
> as a top-level namespace wouldn't go over too well :).
>
> As such, I have a few questions:
>
> 1. Is it the overwhelming preference of Perl users that modules be
> available through CPAN and listed on the CPAN module list?
>
If you want your module to be easily found (and found by many) then cpan
is the place for it (irrespective of whether you're announcing it on
Usenet or not). Stick it on some other website and many potential users
will never be aware of it.
The actual download location doesn't matter to me - but cpan is the
first place I visit if I'm looking for a module.
> 2. If so, where would you suggest I put my module. I've thought of
> Text::Tmojo and HTML::Tmojo, but I'm not sure which of the two, if
> either, makes sense.
>
Without giving it much thought or investigation, HTML::Tmojo sounds
'bout right. 'Text' is usually associated with 'plain text', as distinct
from markup languages like xml and html.
> 3. On the other hand, if I don't post my module on CPAN, is it still
> appropriate to announce the availability of my module in
> comp.lang.perl.announce?
>
Is comp.lang.perl.announce the right place for announcing modules ? I
really don't know - I see lots of module announcements on this
(clp.modules) newsgroup.
I don't know if it's bad form to announce a non-cpan module on either
clp.announce or clp.modules. I think it's ok .... certainly wouldn't
bother me (unless you start flooding with regular announcements that
blatantly promote your company).... but why not just stick it on cpan
anyway.
Or put it on both cpan _and_ your website. That way it gets found easily
by people who are accustomed to visiting cpan, and you get to plug
you're company when you announce on Usenet that the latest version is
available "from both CPAN and the Lab-01 website" :-)
Cheers,
Rob
--
To reply by email u have to take out the u in kalinaubears.
|
|
|
|
|