[Dbix-class] RFC: Thoughts on a serialization format for Classes
ash_cpan at firemirror.com
Mon Jul 30 08:01:01 GMT 2007
John Napiorkowski wrote:
> --- Matt S Trout <dbix-class at trout.me.uk> wrote:
>> On Sun, Jul 29, 2007 at 11:44:23AM -0700, John
>> Napiorkowski wrote:
>>> I am seriously considering writing a system to
>>> DBIx Classes via a configuration file. Since the
>>> default for creating these classes are primarily
>>> package method calls I think this could be pretty
>> What would this achieve for you?
>> (this is not "it's a bad idea", it's "what problem
>> are you intending this
>> to solve")
> I think the main idea is to push stuff into a
> configuration file when it's not code that doing
> logical work. This way I can push down some simple
> maintenance work to admins. Also I've been playing
> with MooseX::IOC lately and thinking about what makes
> sense to push into a configuration for the purposes of
> being able to manage my applications more easily.
> To be honest I'm on the wall with this particular
> idea, which is why I thought to ask the group for
> I have a similar idea which honestly makes more sense
> to me, which is to have a quick system to call
> $schema->populate against a configuration file. This
> is actually quite easy to do, particularly now with
> the new multi create logic. Then my database deploy
> scripts and tests can be easy to configure.
Sounds like Fixtures to me, and something that I've been meaning to work
on for a while now, just not got round to. I guess that would do it really.
More information about the Dbix-class