>>>>> "BUCHMULLER" == BUCHMULLER Norbert <[email protected]> writes:
    BUCHMULLER> So I came up with a more minimalistic approach that only
    BUCHMULLER> solves the above two problems and nothing else:

    BUCHMULLER> 1. it installs Moose accessors on the Result (Row)
    BUCHMULLER> objects that perform get_column()/set_column() under the
    BUCHMULLER> hood

    BUCHMULLER> 2. it saves you from repeating the column definition
    BUCHMULLER> ("has" and "->add_columns")

    BUCHMULLER> You can find the code here:
    BUCHMULLER> http://github.com/mendel/MooseX-DBIC-AddColumn

Have you considered using bridge objects + delegation instead? The
separation between storage and business logic is something you're going
to want in the future anyway.

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]

Reply via email to