Hi all,
    I'm back, temporarily, and in need of some recreational coding, having 
thought about some issues to do with making Maypole easier to get up and
running. It dawned on me this morning that I would like this to happen:

    % maypole-install dbi:mysql:thingy
    # Creating directory thingy
    # Writing thingy/Thingy.pm
    # Writing thingy/Thingy/DBI.pm
    # Writing thingy/Thingy/Widget.pm
    # Writing thingy/Thingy/Wodget.pm
    # Writing thingy/Thingy/User.pm

    <Perl> push @INC, "/home/simon/maypole-sites/thingy"; </Perl>
    <location /thingy>
        SetHandler perl-script
        PerlHandler Thingy
    </location>

    Now I'm working out how to get from here to there.

    The first thing we need to do is have the factory templates in a known
location. I propose we do this by moving templates/ under lib/Maypole/
so that they'll be automatically installed by MakeMaker. Then the default
installation would create a symlink from thingy/templates/factory to the
known install path. I won't provide a patch for this because it requires lots
of svn messing.

    The next step is to write my magic installation thing. I can work on 
that. :)

    Does this seem like a reasonable avenue to pursue? If so, Aaron, could you
do the svn magic?

    Once we've got this working, I'm going to have a blitz on error 
reporting. :)

    Oh, and I commend http://blog.simon-cozens.org/post/view/993 to you.

Simon

-- 
Sendmail may be safely run set-user-id to root.
                -- Eric Allman, "Sendmail Installation Guide"


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Maypole-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maypole-devel

Reply via email to