Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Catalyst, Jifty MVCs too "expensive"...feasible alternative?

by perrin (Chancellor)
on Oct 09, 2006 at 16:33 UTC ( #577222=note: print w/ replies, xml ) Need Help??


in reply to Catalyst, Jifty MVCs too "expensive"...feasible alternative?

I think you could solve the problems you're having with Jifty and Catalyst pretty quickly if you join their mailing lists and ask for help. (And, as was already pointed out, there is no reason at all you need to run the test server provided by Catalyst. It's entirely optional and for dev only.)

However, to address your larger question of whether there is something more lightweight, there are plenty of alternatives. If you already know how to call a templating tool and how to write data objects (with an ORM or not), all that's left is URL mapping and some error handling and glue code. You could write that from scratch and you wouldn't be reinventing anything very significant, provided your URL mapping needs are minimal.

Or you could use a lightweight tool like CGI::Application, which has the glue code you're likely to need already but is still pretty quick to get going on. It's a very easy learning curve.


Comment on Re: Catalyst, Jifty MVCs too "expensive"...feasible alternative?
Re^2: Catalyst, Jifty MVCs too "expensive"...feasible alternative?
by stonecolddevin (Vicar) on Oct 09, 2006 at 17:28 UTC

    Perhaps I'm in need of some more in depth MVC research, but what kind of URL mapping are you talking about?

    meh.
      Mapping URLs to methods in your class. Catalyst has a lot of funtionality for this, as you'll see if you browse the docs. Not sure about Jifty. CGI::Application has code for using either query strings (/catalog/product.cgi?rm=show) or a more REST-like approach (/catalog/product/show).

        I noticed Catalyst is pretty good to go as far as that goes. I'm thinking Catalyst is the way to go for me, Jifty seems a bit restricted. I could write a base framework for the small apps in C::A, then do all my big stuff with Catalyst. Thanks for the definition :-)

        meh.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://577222]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2014-08-23 20:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (178 votes), past polls