Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Re: New module name (Eclipse::PHPMe)

Reply
Thread Tools

Re: New module name (Eclipse::PHPMe)

 
 
Ivan Shmakov
Guest
Posts: n/a
 
      04-03-2012
>>>>> kinow <> writes:

[Cross-posting to news:comp.lang.perl.misc, for
news:comp.lang.perl.modules has somewhat low activity these
days.]

> Hi all! I wrote a Perl utility to turn an ordinary directory into an
> Eclipse PHP project. I'm new to CPAN and Perl, so I have few
> questions:


> - Is CPAN the right place for it? It's only a script (referenced in
> EXE_FILES in Makefile.PL). I intend to use this script as I'm always
> importing different PHP projects in Eclipse and it can be handy


> - I've looked for the Eclipse namespace in CPAN, searching for
> Eclipse with the filter set to 'Module', and found nothing. Is
> Eclipse:HPMe a good name?


There's the App:: namespace prefix for applications (and
scripts):

--cut: https://pause.perl.org/pause/query?A..._namingmodules --
App

You can distribute applications as Perl distributions. Typically,
those sorts of distributions go under the App namespace, like
App::Ack, App::Cpan, and App:rove. The namespace implies that its
a ready-to-use program rather than a module.
--cut: https://pause.perl.org/pause/query?A..._namingmodules --

There seem to be a plenty of Perl applications distributed this
way. Consider, e. g.:

http://search.cpan.org/~petdance/ack-1.96/
http://search.cpan.org/~rjbs/App-Addex-0.023/

[...]

--
FSF associate member #7257
 
Reply With Quote
 
 
 
 
kinow
Guest
Posts: n/a
 
      04-06-2012
On Apr 3, 2:27*am, Ivan Shmakov <oneing...@gmail.com> wrote:
> >>>>> kinow *<brunodepau...@yahoo.com.br> writes:

>
> * * * * [Cross-posting to news:comp.lang.perl.misc, for
> * * * * news:comp.lang.perl.modules has somewhat low activity these
> * * * * days.]
>
> *> Hi all! *I wrote a Perl utility to turn an ordinary directory intoan
> *> Eclipse PHP project. I'm new to CPAN and Perl, so I have few
> *> questions:
>
> *> - Is CPAN the right place for it? *It's only a script (referenced in
> *> EXE_FILES in Makefile.PL). *I intend to use this script as I'm always
> *> importing different PHP projects in Eclipse and it can be handy
>
> *> - I've looked for the Eclipse namespace in CPAN, searching for
> *> Eclipse with the filter set to 'Module', and found nothing. Is
> *> Eclipse:HPMe a good name?
>
> * * * * There's the App:: namespace prefix for applications (and
> * * * * scripts):
>
> --cut:https://pause.perl.org/pause/query?A...amingmodules--
> App
>
> * * You can distribute applications as Perl distributions. Typically,
> * * those sorts of distributions go under the App namespace, like
> * * App::Ack, App::Cpan, and App:rove. *The namespace implies that its
> * * a ready-to-use program rather than a module.
> --cut:https://pause.perl.org/pause/query?A...amingmodules--
>
> * * * * There seem to be a plenty of Perl applications distributed this
> * * * * way. *Consider, e. g.:
>
> http://search.cpan.org/~petdance/ack...p-Addex-0.023/
>
> [...]
>
> --
> FSF associate member #7257


Hi Ivan!

Thanks for the feedback.

App seems to be the right place for this application. However, I think
App:HPMe would not be the right name for it. Maybe
App::Eclipse:HPMe, or App::EclipsePHPMe? What do you think?

By the way, do I need to talk with someone else about using the App
namespace prefix?

Much appreciated!

Bruno
 
Reply With Quote
 
 
 
 
kinow
Guest
Posts: n/a
 
      04-14-2012
Hi Ben!

Thanks for the explanation, you were very clear

I'll the PHP:HPMe as the module name for now, but when submitting to
Pause I will take a look at to check if the name is
fine too.

Thank you very very much.

All the best,
Bruno

On Apr 10, 5:23*pm, Ben Morrow <> wrote:
> Quoth kinow <>:
>
>
>
> > App seems to be the right place for this application. However, I think
> > App:HPMe would not be the right name for it. Maybe
> > App::Eclipse:HPMe, or App::EclipsePHPMe? What do you think?

>
> What is the executable that gets installed called? If it's called phpme,
> I'd call the distribution App:HPMe, since you've effectively already
> 'claimed' that name; if it's called something like eclipse_phpme or is
> installed somewhere where it only gets called fromEclipse, I'd call it
> App::Eclipse:HPMe.
>
> > By the way, do I need to talk with someone else about using the App
> > namespace prefix?

>
> No. In general names on CPAN are first-come, first-served. There are a
> few official restrictions, mostly now quite old (for instance, names
> under DBI:: are restricted), and there is an unofficial convention that
> putting your module under the namespace of an existing module with many
> supplied sub-modules (like, say, Catalyst, or Plack) should only be done
> after coordinating with the author(s) of that module, but generic
> top-level namespaces like App:: are free-for-all.
>
> If you want advice about module naming from the people who run CPAN and
> PAUSE, you can write to the mailing list.
>
> Ben


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: module docstring, documentation,anything? please note is the module type/object NOT some module Maric Michaud Python 0 06-24-2006 12:42 PM
How to keep a module with the same name as a module it is importing from importing itself? plb Python 2 02-08-2005 03:14 PM
Handling import conflicts when module has the same name as a library module that it needs to import? plb Python 0 02-08-2005 01:01 PM
Find out the file name of a module from inside the module? Andreas Neudecker Python 4 08-09-2004 03:49 PM
Getting module object by name in C extension module Ilariu Raducan Python 2 07-14-2004 10:56 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57