On 11/19/05, Dave Howorth <[EMAIL PROTECTED]> wrote:
> 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.

I think it is optional.. see below.. the --noauth option
perhaps it would be simpler to reverse the flag.

> > % 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
>> [ ... ]
> > 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.

This will work for plain CGI I imagine - but provides the Apache data
if you want to use it.

> >     Paste that in, restart Apache, and we have a working Maypole app.

see - not required ( am I right simon? )

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

I could have a look at this later, I'd still like to do a similar
debug template so that you can see everything involved when developing
(in situations where your perception of correct differs from
maypole/perl/cdbi etc)

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

And it should now be in SVN

A.


-------------------------------------------------------
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_idv28&alloc_id845&op=click
_______________________________________________
Maypole-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maypole-devel

Reply via email to