Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^4: CGI::Application

by james2vegas (Chaplain)
on Aug 23, 2009 at 22:40 UTC ( [id://790693] : note . print w/replies, xml ) Need Help??

in reply to Re^3: CGI::Application
in thread CGI::Application

A model should only be the representation of the data and domain logic, the view should only be a rendering of the model data and the controller should respond to events and trigger changes in the model. Given that, sometimes a thin extension over the ORM is sufficient for a model, sometimes you need much more, but CGI::Application doesn't force you to a specific model system, and that is a good thing.

Replies are listed 'Best First'.
Re^5: CGI::Application
by SilasTheMonk (Chaplain) on Aug 23, 2009 at 22:48 UTC
    I absolutely agree it does not force you to use a specific model and that that is a good thing. But neither does it provide an off the shelf solution (let alone two or three) for the model space. There are also many modules which can be optionally used with CGI::Application but the data about whether they are any good is rather thin. That was my original point.
      I agree, though if as astroboy states, you should be able to keep your same models if you move between desktop GUI, CLI or Web apps, how would a cgi-app solution for the model space help in that?

      Anyway, as to CPAN rating, I am now looking to review the cgi-app modules I use.