MasonX-Maypole - Re: Author and maintainer

Posted on Wed Feb 9 01:50:10 2005 by mreece in response to 53 (See the whole thread of 2)
Re: Author and maintainer
is there a very basic tutorial anywhere?

i am familiar with mason but not with maypole. i would rather learn to use MasonX::Maypole from the start than learn all the maypole stuff then re-learn it as MasonX::Maypole.

i created the beerdb from cozen's maypole tutorial, then then BeerDB.pm package from the MasonX::Maypole synopsis.

however, i am unclear on some of the paths that should be defined there.

i assume template_root should point to the root of my maypole testdev, it /Public/mason/maypole which is served by http://localhost/maypole/ but am far from certain this is correct.

also not sure on the comp_root.. i have
BeerDB->config->masonx->{comp_root} = [ factory => '/usr/lib/perl5/site_perl/5.6.1/templates/factory/maypole' ];

but again, unclear.

should i copy the files from /usr/lib/perl5/site_perl/5.6.1/templates/factory to my maypole testdev dir (/Public/mason/maypole) and point the comp_root there instead? or if not, what do i put in my own dhandler to make it do its thing?

thank you for any assistance getting started
Write a response