Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

application starter?

by xiaoyafeng (Deacon)
on Aug 29, 2010 at 10:36 UTC ( [id://857907]=perlquestion: print w/replies, xml ) Need Help??

xiaoyafeng has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks,

Along with using catalyst.pl longer, I more and more think it the best tool for building perl application. It create lib, inc, t, script directories and many other stuff needed automatically. And it has handy script(Catalyst::Helper) to create new module.

But the only Flaw is it's designed for WEB. I have to delete or modify many places When original application is not for Web. Is there a tool on CPAN or internet for general perl application? module-starter might be a alternate, but it seems to aim to build A module, it's not a convenient way to add modules in one application directory.(If I'm wrong, please point out!).

Any replies are appreciated!

UPDATE: Many Thanks! jethro, Module::Starter::Simple and Module::Starter::Smart are absolutely what I want. And What a shame! I've noticed both two modules, but didn't pay more attention. I thought Module::XX::Simple mean Module::Lite. Of course, I made a big mistake!





I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction

Replies are listed 'Best First'.
Re: application starter?
by jethro (Monsignor) on Aug 29, 2010 at 12:06 UTC

    I'm sure you will be happy to hear that you are in fact wrong ;-). module-starter can add modules, if Module::Starter is enhanced with Module::Starter::Simple and Module::Starter::Smart

    Just install the modules above, then create (or add to) a .module-starter/config file in your home directory with

    plugins: Module::Starter::Simple Module::Starter::Smart email: <your email> author: <your name> builder: <ExtUtils::MakeMaker or Module::Build>

    then all you need to do is call module-starter with

    module-starter --distro=Distro --module=Distro::Modul

    to add a new module to an already existing distro

Re: application starter?
by zentara (Archbishop) on Aug 29, 2010 at 12:01 UTC

      Thanks, but no. I just want to have a tool, which can quickly create application skeleton, and add or delete classes/modules of this application handily, like Myapp_create.pl in catalyst.pl.

      I think I found it, see my UPDATE





      I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction

Re: application starter?
by lima1 (Curate) on Aug 29, 2010 at 15:06 UTC
    What do you mean with "not for Web"? You mean if it is command line tool? Or do you want a standalone, native catalyst app? Then something like Titanium http://www.appcelerator.com is often used...
Re: application starter?
by Khen1950fx (Canon) on Aug 29, 2010 at 12:31 UTC
      App::Starter is a good start. The author has the similar thought like me , creating a tool for app skeleton, but for now, it still does so less work that we have to do much more. And it seems to stale since 2008.




      I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://857907]
Approved by Perlbotics
Front-paged by psini
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-25 11:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found