Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
My question is: have I overlooked something? Did something change in Catalyst since the helpers were written that has caused this behavior? More curiosity now that I've goten it "working" than anything else.

The behavior of the index/default stuff changed significantly between 5.7 and 5.8, IIRC. Since Cat is on 5.9 it's a bit hazy. It's probably just an oversight on playing catch-up since the change was made before the most recent version of Handel was released. You might file a ticket if have time.

Catalyst is a solid and very deep framework that won't disappear soon and unless you are doing websockets or something it won't stop you from doing whatever you like. That said, it's not maintained well enough right now for its size (so I say). Most of the major core players have moved on and community activity has been lower for about 3 years. Might be expected for a mature kit. I have been using Catalyst in personal sites for 8 years and production code for 6; total of something like 15 applications. I doubt I will ever write another based in Catalyst though; not for myself anyway. And this snippet from the Test::Mojo doc gives a peek at the why-

use Test::More; use Test::Mojo; my $t = Test::Mojo->new('MyApp'); # HTML/XML $t->get_ok('/welcome')->status_is(200)->text_is('div#message' => 'Hell +o!'); # JSON $t->post_ok('/search.json' => form => {q => 'Perl'}) ->status_is(200) ->header_is('Server' => 'Mojolicious (Perl)') ->json_is('/results/4/title' => 'Perl rocks!'); # WebSocket $t->websocket_ok('/echo') ->send_ok('hello') ->message_ok ->message_is('echo: hello') ->finish_ok; done_testing();

Writing tests for Mojo is so easy it's goofy and it neatly fits with actual Mojo code. Tests for Catalyst are easy on one hand but they, in my view, are disjointed from Catalyst code and are difficult and arcane to do anything outside the beaten path.

I've come to believe that solid tests are the only way for an application to outlast the initial developer's infatuation with the project. Mojo also recaptures the clear brevity I so love about Perl.

Sidenote: Catalyst's biggest selling point has always been flexibility -- it's Ruby on Rails without having pre-laid *all* the rails. And one of the most attractive parts here was deployment flexibility. Plack/PSGI has mostly slain that beast.

Dancer isn't the only other game in town either. There are several microframeworks and others at a similar level like Amon2. There's nothing wrong with looking around and sampling as many as you like.


In reply to Re: Catalyst and Handel by Your Mother
in thread Catalyst and Handel by domje

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!
  • 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, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others perusing the Monastery: (5)
    As of 2014-07-31 03:45 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      My favorite superfluous repetitious redundant duplicative phrase is:









      Results (244 votes), past polls