Re: [ANNOUNCE] mod_perl 2.0.5 (and DBIx::Class auto-generated code)

Fred Moyer <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On Sat, Feb 19, 2011 at 1:30 PM, Randolf Richardson <[email protected]> wrote:
>        It's interesting to know that auto-generated code is a problem, and
> this is providing me with some insight into why some DBIx::Class
> users have been telling me that mod_perl (all versions) is so
> terrible (I didn't experience the problems they described, and your
> comment has shed some light on a possible reason).

For what it is worth, I've been using DBIx::Class with mod_perl for
over five years now, and have not run into any problems worth
mentioning.  I separate my model code from my request handlers though,
and increment the dependency version in my Makefile.PL, so I do a
server restart whenever I update one of the dependent modules.  The
code separation causes the development process to take more time, but
the code is usually better quality in my opinion.

I build a model library with DBIx::Class autoloaders, to which I add
custom methods for my model classes.  Takes a lot of the book keeping
work out of making accessor methods, etc.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.