2008年10月24日星期五

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

我有用 Rose::DB::Object,确实它的效能会好很多,但是感觉没有 DBIx::Class 好用
如果实在考虑效能,不如直接用 DBI 好了,或者 SQL::Abstract

2008/10/24 黄叶 <hylinux@gmail.com>
直接用SQL, 我们原来也是这么干的。不过写了一些wrapper的东西。将SQL放到不相关的地方,避免嵌入SQL
但是维护和调试有时候还是比较麻烦。


2008/10/24 Fayland Lam <fayland@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@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@pm.org
http://mail.pm.org/mailman/listinfo/china-pm


_______________________________________________
China-pm mailing list
China-pm@pm.org
http://mail.pm.org/mailman/listinfo/china-pm

没有评论: