logo       

Re: RFC: Thoughts on a serialization format for Classes: msg#00181

Subject: Re: RFC: Thoughts on a serialization format for Classes
John Napiorkowski wrote:
> --- Matt S Trout <dbix-class@xxxxxxxxxxx> wrote:
> 
>> On Sun, Jul 29, 2007 at 11:44:23AM -0700, John
>> Napiorkowski wrote:
>>> Hi,
>>>
>>> I am seriously considering writing a system to
>> create
>>> DBIx Classes via a configuration file.  Since the
>>> default for creating these classes are primarily
>>> package method calls I think this could be pretty
>>> easy.
>> Why?
>>
>> 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
> thoughts.
> 
> 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.

-ash



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe