Terrence Brannon
2005-09-03 17:01:47 UTC
CGI::Prototype is remarkably flexible, scaleable and practical. That
being the case, this is more of a philsophical question than any.
However, it is a fact that for most websites, the content-type will be
text/html for most of the pages and that the actual content will vary
on each page.
This being the case, should these two aspects of the CGI response be
two different methods, with $self->content_type existing in a base
class and re-used for most of the app and $self->content (which is
known as $self->render) be variant on each page?
being the case, this is more of a philsophical question than any.
However, it is a fact that for most websites, the content-type will be
text/html for most of the pages and that the actual content will vary
on each page.
This being the case, should these two aspects of the CGI response be
two different methods, with $self->content_type existing in a base
class and re-used for most of the app and $self->content (which is
known as $self->render) be variant on each page?
--
Carter's Compass: I know I'm on the right track when,
by deleting something, I'm adding functionality.
Carter's Compass: I know I'm on the right track when,
by deleting something, I'm adding functionality.