Until now I've been doing my web apps in php and using perl for other stuff, but now I'd like to try doing everything in perl. So, I am planning on implementing a well structured web framework app with a database backend, using perl, over the next few months. This is learning / personal, with the potential for maybe becoming more.

Maybe this means using an "mvc" framework (still a little hazy on exactly what mvc means). Or maybe this just means using a templating system with a database bolted on. Or maybe these two concepts are isomorphic?

Anyway, since I will be investing a lot of time learning the framework, to save time on reinventing the wheels, I'd like to poll the monks first on the best way to do it.

My highest priority is getting something up and running fast, in a win32 development environment with apachefriends. My second priority is something that will be maintainable going into the future. I guess maybe these priorities are slightly in conflict.

What I'd like to do is start with a "finished product" demo, and adapt this to my needs.

Mason + Alzabo has the apprentice demo app. I'm not sure if this exactly qualifies as an "mvc" application, but at least it is a bit more than just Mason. I tried this first because there seems to be a lot of buzz about mason. Unfortunately the installer script choked when I tried doing this on windows; so before pushing further with this I thought I'd look at other options.

Maypole + TT has the maypole + TT beer database demo. Haven't tried setting this up yet.

There are also two Maypole + Mason projects on CPAN. MasonX::Maypole, has a maypole + mason beer database demo. Haven't tried setting this up yet.

The second is Simon Cozen's Maypole::View::Mason, which was funded with a perl foundation grant.

If I go the Maypole + Mason route, I'm not sure which of the above two frameworks I could get started with. Is one better maintained / fresher? Or are these related in some way? Maypole + Mason: A good idea has a discussion of someone facing a similar decision. Another maybe relevant discussion is at Survey of Surveys on HTML Templating systems, which I am also using as part of the decision making process.

Finally there is catalyst, which has a demo app hops adapted from the maypole "beer" demo. Unfortunately this demo seems to be misbehaving at the moment, but hopefully this will be fixed soon.

So, without degenerating into a holy war, can someone advise on what to do?

UPDATE: Added catalyst to the mix.


In reply to Mason + Maypole? TT + Maypole? Mason + Alzabo? Catalyst? by tphyahoo

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.