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

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • by TeeJay (2309) on 2004.09.27 14:32 (#34734) Homepage Journal
    Actually it isn't that hard to add things like authentication to Maypole. The only current drawback is the Object/Class == record/table view of things which it inherits from Class::DBI.

    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;
    • I certainly haven't counted out looking at Maypole again in the future. However, the presentation Simon gave didn't really make me feel I was gaining anything more from what I've already got.

      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