[Dbix-class] New module for DBIx::Class (Store many columns in one)

Oleg Pronin syber.rus at gmail.com
Thu May 10 09:35:00 GMT 2007


Could you be specify some examples of code for me to understand what did you
mean? (and what is "Moose" ? :)

2007/5/10, Matt S Trout <dbix-class at trout.me.uk>:
>
> On Thu, May 10, 2007 at 02:49:25AM +0400, Oleg Pronin wrote:
> > I have some modules that works with objects and do not know how these
> > objects is designed inside.
> > They are universal programs that import some data from one project to
> > another (in XML). All they need is a small config describing what and
> where
> > to find.
> > For these modules it doesn't matter is the property a column or virtual
> > column. They just set some data (usually via set/get column for
> perfomance
> > improvements). The ability to hide design of property (frozen or not
> etc) is
> > sometimes very useful. Isn't this is one of main features of DBIC?
>
> I see your point. I think the ultimate solution to this is Moose and
> multiple
> meta-attr classes - so your code that doesn't care what sort of property
> it
> is just talks to "all attributes" and the persistence part handles
> specific
> types of attribute only.
>
> --
>      Matt S Trout       Need help with your Catalyst or DBIx::Class
> project?
>   Technical Director    Want a managed development or deployment platform?
> Shadowcat Systems Ltd.  Contact mst (at) shadowcatsystems.co.uk for a
> quote
> http://chainsawblues.vox.com/
> http://www.shadowcatsystems.co.uk/
>
> _______________________________________________
> List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
> Wiki: http://dbix-class.shadowcatsystems.co.uk/
> IRC: irc.perl.org#dbix-class
> SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
> Searchable Archive:
> http://www.mail-archive.com/dbix-class@lists.rawmode.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20070510/288=
8bfeb/attachment.htm


More information about the Dbix-class mailing list