2008年8月22日星期五

Re: [fw-db] find() returns rowset

On Fri, Aug 22, 2008 at 19:08, Bill Karwin <bill@karwin.com> wrote:
>
> Julien Huang wrote:
>>
>> The use of Zend_Db_Table itself instead of directly writing SQL with
>> Zend_Db is already awkward.
>>
>
> OK, problem solved! You can write SQL directly, using the methods in
> Zend_Db_Adapter and Zend_Db_Statement. Be my guest.

I think I've expressed myself poorly. My English isn't perfect, and
the use of the word awkward wasn't right. I wanted to say that the use
of Zend_Db_Table is a convenience use for the developer, it adds more
abstraction (and so more code), but it expresses more clearly what the
code does, and so that a if/else maybe awkward, but it is an
implementation detail inside find() method that the we can afford
compared to the ease of use provided by the Zend_Db_Table module.

Don't take it personnaly Bill, I've nothing against you, I just want
to improve the way this module works. I'm extensively using the ZF and
I thank you, the team, and the community for all the work done. But
I'm still thinking there should be a closer look at this issue.

And if everybody thinks I'm wrong, I'll shut my mouth...

--
Julien Huang

没有评论: