NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Maypole (Score:2)
I used a combination of CDBI and Maypole to build an ecommerce website in a small ammount of spare time and that included learning both and setting up a new server for it all from scratch.
The front end uses CDBI and custom mod_perl handlers, the backend uses Maypole and the same CDBI classes and different authentication to the frontend. Many of the underlying modules are re-used and I suspect I could re-use and share a lot more code between the front and back
Using Maypole and CDBI meant I was able to very quickly prototype how I wanted the application to work and populate it with data and relationships before building the front end.
The templates provided are easy to customise, and authentication and authorisation are getting better support with more ready-rolled modules.
If you are using CDBI then it is a no-brainer to use Maypole on top. Otherwise both your application and Maypole may require some extra work.
Fortunately, there is pretty active development and enthusiastic users who know what they want and need, I think that it will quickly overcome some of its current limitation - the Mason View developers have learned from the TT View included at the start and this should feed back to improve the TT views some more. Extensions and improvements to CDBI also allow it to grow as do more recipes, documentations and Maypole CPAN modules.
It might be quicker to ensure the limitations that affect you are fixed or resolved with Maypole than to go your own way.. YMMV of course :)
@JAPH = qw(Hacker Perl Another Just);
print reverse @JAPH;
Reply to This
Re:Maypole (Score:2)
I had a chat with Richard Clamp afterwards and we were discussing CDBI. I had a few misconceptions about it, and although I have tried it, it didn't feel like I was getting a benefit from it. Rich said there is a jump in the learning curve that is a bit like learning a second language with CDBI, where a switch gets fl