[PerlChina] 关于Class::DBI, DBIx::Class, Rose::DB::Object

黄叶 hylinux at gmail.com
Thu Oct 23 21:36:41 PDT 2008


直接用SQL, 我们原来也是这么干的。不过写了一些wrapper的东西。将SQL放到不相关的地方,避免嵌入SQL
但是维护和调试有时候还是比较麻烦。


2008/10/24 Fayland Lam <fayland at gmail.com>

> 黄叶 wrote:
> > 我一直在用DBIx::Class, 文档里写了这个不是为performance准备的东西。
> > 和我的同事也讨论过这个问题。他也认为performance不好。
> > 本来想是不是Class::DBI的好些,但是没用过,不敢确认。昨天晚上看到有个老
> > 外写的VS ,
> > 他说Rose::DB::Object的performance好很多。
> > 不知道有哪位用过。
> > 能不能介绍一下?
>
> DBIx::Class 是比较慢,如果你对速度要求比较严格的话,那就用
> Rose::DB::Object 吧。
> Class::DBI 的速度还可以,就是没有什么人去维护了。最后的版本都是一年前的。
> DBIx::Class 用的人比较多。
>
> 如果你对 performance 非常严格的话,那就用 DBI 呗。
>
>
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > China-pm mailing list
> > China-pm at pm.org
> > http://mail.pm.org/mailman/listinfo/china-pm
>
>
> --
> Fayland Lam // http://www.fayland.org/
> Foorum based on Catalyst // http://www.foorumbbs.com/
>
> _______________________________________________
> China-pm mailing list
> China-pm at pm.org
> http://mail.pm.org/mailman/listinfo/china-pm
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/china-pm/attachments/20081024/2c16e057/attachment-0001.html>


More information about the China-pm mailing list