I've been doing a bit of Catalyst of late, and I just read the Dancer introduction. It appears that Catalyst is much more flexible with more options for everything, and has many more plug-ins already available. I didn't see anything about the "Model" part of MVC in the Intro.

Examples for "different options": For templates, Dancer has its own mini-system (to prevent a dependancy I suppose) and can optionally use TT. I'm using Alloy, as an upgrade from TT. Dancer uses YAML for everything; Catalyst can use anything. Why not use config any? I guess they want to keep the dependencies down.

Forms: not covered in the Intro for Dancer, but I expect the same story: use what they included. With Catalyst you can use anything, and high integration is available for several popular systems (I'm using FormFu).

Dancer's GET syntax gives a whole string with wildcards. It's up to you to organize them into different files. I'm guessing that's actually a prototype argument of $, so you could interpolate into the string and abstract the path structure somewhat. Catalyst abstracts out the path by default and you give just the right-most part of this overall part of the tree you are working in.

I don't plan on changing. My stuff is only going to get more complicated, and I have no trouble using it for simple pages since I'm already over the learning curve.


In reply to Re: Catalyst or Dancer? by John M. Dlugosz
in thread Catalyst or Dancer? by Anonymous Monk

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.