Stories
Slash Boxes
Comments
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.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • The fact that it has no dependencies makes it even more compelling.

    Really? You honestly think that a webapp framework should also ship with its own object system, its own cookie parser, its own HTTP server, its own HTTP header system, and to top it off, its own new templating system!

    I look at Mojo and can only think that it represents the height of foolish arrogance, and I for one am repelled by it.

    Catalyst is far from perfect, but at least the Catalyst developers can concentrate on building a web framework

    • by jrockway (7171) on 2009.07.29 18:11 (#69767) Journal

      Apparently people can't install modules if they have dependencies, but they can install modules if they don't have dependencies. I don't really get it.

      But anyway, reinvention aside, Mojolicious::Lite is basically the same tired CGI.pm ideas repackaged as new syntax. Great for blogging (like so many ideas from the Ruby community), but not so great for solving problems web application developers actually have.

      • > Apparently people can't install modules if they have dependencies, but they can install modules if they don't have dependencies. I don't really get it.

        There's a large community of people in the world who don't know Perl, and have a simple FTP-upload shared hosting account.

        What these people NEED is a zip file they can unroll into their local dreamweaver/whatever directory, tweak a config file or some well commented lines in the script header, and then FTP upload to their website.

        That is EXACTLY the reas

        • Exactly.

          I don't mean to say that having a lot of dependencies is bad, it's just daunting sometimes to figure things out.

          I'm not afraid of them [blogspot.com] nor am I fully embracing [catalyzed.org] them either.

          Adam and others are working hard to get a more reliable dependency chain, but as Adam mentioned simplicity counts for a significant amount.

          Barrier to entry is important.

        • No, that’s not what being zero-dependency means. It’s only what being pure-Perl means.

      • There's a big difference between "installing" a module and unpacking it in a directory. Almost anyone can do the latter.

        And I can't agree with your comments comparing Mojolicious::Lite to CGI.pm. I'm very familiar with the latter module and it doesn't, out of the box, support this:

        # /foo/*
        get '/foo/:bar' => sub {
            my $self = shift;
            my $bar  = $self->stash('bar');
            $self->render(text => "Our :bar placeholder matched $bar");
        };

        # /*something/foo
        get '/(:b