On Sat, 2005-11-19 at 15:31 +0000, Simon Cozens wrote:
>     OK. Here is the new application generator:

Several things I don't like about this.

> % perl maypole-install dbi:mysql:sermons     
> I couldn't load the Authentication::UserSessionCookie plugin, which you might 
> want to use to authenticate users from your 'user' table. Run with --noauth 
> to disable this error
> 
>     Oops.

Authentication means state and state makes things more difficult to
debug. So for a get-you-up-and-running-quickly script, I think enabling
authentication by default is a bad idea.

> % perl maypole-install --noauth dbi:mysql:sermons
> Creating sermons/
> Changing to sermons/
> Creating Sermons/
> Creating templates/
> Writing Sermons.pm
> Writing Sermons/Config.pm
> Writing Sermons/DBI.pm
> Writing Sermons/Category.pm
> Writing Sermons/Day.pm
> Writing Sermons/Filetype.pm
> Writing Sermons/Occasion.pm
> Writing Sermons/Passage.pm
> Writing Sermons/Preacher.pm
> Writing Sermons/Resource.pm
> Writing Sermons/User.pm
> Linking factory templates...
> Creation complete.
> ----
> 
> 
> <Perl>
>   push @INC, "/Users/simon/maypole/sermons";
> </Perl>
> <Location /sermons>
>   SetHandler perl-script
>   PerlHandler Sermons
> </Location>

Again, I think this is a bad thing in a beginner's set-up. Using
mod_perl makes things more difficult to debug, and it's yet another
not-insignificant lump of technology beginners are then forced to learn
about.

>     Paste that in, restart Apache, and we have a working Maypole app.
> 
>     I think this is a Good Thing. It doesn't handle relationships yet,
> because I can't be bothered to mess about with foreign keys in my databases,
> but there's no reason why someone who understands ->meta_info wouldn't be
> able to get that working.
> 
>     Oh, yeah, it does require the factory templates to be moved into
> lib/Maypole/templates/factory before you install Maypole. 
> 
>     Try it, it's fun.

Cheers, Dave



-------------------------------------------------------
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