[Dbix-class] New module for DBIx::Class (Store many columns in
Matt S Trout
dbix-class at trout.me.uk
Thu May 10 01:26:20 GMT 2007
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
More information about the Dbix-class