in reply to The New Everything

I don't think any relies on __PACKAGE__, it's just a nice syntactic way to make your code easier to repurpose; package name change doesn't require change in code. Cutting and pasting a declaration means you only edit the params, not the package name.

I've thought about how much PerlMonks could gain rewritten in Catalyst. Do *not* get me wrong. I love this place, I adore the monks who care for it and totally appreciate their service (Gods, Janitors, Dev, all). That said, this is easily the slowest site I ever visit. I don't mind -- I remember what modem speeds were like in the 90s and I still feel spoiled on any modern connection -- but I'd certainly enjoy a speed-up. http://www.everydevel.com/ just timed out, for example.

Consider how many people it takes to make this place run and add features. How much legacy cruft is in the guts. The power of Catalyst, which does come with some bulk, is that one developer can replace a team, just about any deployment is possible, and if you don't like DBIC you can use Rose::DB or DBI or MyCrazyWheelIdidntKnowWouldBeSoHardToDoRightx.

(Though I have been curious what a Catalyst rewrite in Moose might look like...)

Replies are listed 'Best First'.
Re^2: The New Everything
by dragonchild (Archbishop) on Apr 03, 2008 at 18:03 UTC
    (Though I have been curious what a Catalyst rewrite in Moose might look like...)

    You're not going to have to wonder for very long. As soon as DBIx::Class is rewritten in Moose, Catalyst is next. The Class::MOP stuff for Catalyst is going to be amazing.


    My criteria for good software:
    1. Does it work?
    2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
      You're not going to have to wonder for very long. As soon as DBIx::Class is rewritten in Moose, Catalyst is next.

      I think there already is a branch for "Catalyst on Moose" being worked on actually. Ask on #catalyst, IIRC konobi and groditi were working on it.

      -stvn

      I'm as giddy as a non-gender-specific school-age child. The mere fact that someone is already planning/working on scratching that itch probably just saved me 100, self-edifying but otherwise wasted, hours messing around with it myself. Now I can back-seat develop in style and comfort!

Re^2: The New Everything
by perrin (Chancellor) on Apr 03, 2008 at 19:38 UTC
    The slowness is probably more a factor of the code being fairly old and built up over a long period of time by many contributors rather than something specific to Everything. A rewrite nearly always speeds things up, but it wouldn't matter if it was done with Catalyst or just a modern version of Everything.