[Dbix-class] Alias column names
Bill Moseley
moseley at hank.org
Tue Apr 20 18:54:08 GMT 2010
On Tue, Apr 20, 2010 at 11:40 AM, Eden Cardim <edencardim at gmail.com> wrote:
>
> This is the point where you should start considering an intermediate
> layer between DBIC and your application. When designing new
> applications it's recommendable that you stay away from methods that
> imply knowledge of your store architecture (such as create, update,
> search and insert).
>
Can you point (or show) and example?
Yes, another layer would be good, although I'm kind of using Catalyst for
that now -- all access to the model is via the Catalyst-exposed API. So,
POST /Cd is that abstraction. I can add the mapping into Catalyst (which is
what I'm already doing) but it would have been cleaner at the DBIC level.
Maybe a layer between is in order.
Thanks,
-- =
Bill Moseley
moseley at hank.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20100420/136=
02e48/attachment.htm
More information about the DBIx-Class
mailing list