Greg Donald wrote:
> On 2/19/08, Nick Stinemates <[EMAIL PROTECTED]> wrote:
>   
>>  I said, simply, returning an array of objects was usually an indication
>>  of poor design.
>>     
>
> No it's not.  Nearly every MVC framework in existence implements some
> sort of ActiveRecord finder that does exactly that.
>
> Rails:
> @foo = Foo.find( :all )
>
> Django:
> foo = Foo.objects.all()
>
> ZF:
> $foo = new Foo();
> $foo->fetchRow( $foo->select() );
>
> All return arrays of objects.
>
>
>   
I'm glad you're literate enough to understand what *indication* and
*usually* mean.

Oh wait..

-- 
==================
Nick Stinemates ([EMAIL PROTECTED])
http://nick.stinemates.org

AIM: Nick Stinemates
MSN: [EMAIL PROTECTED]
Yahoo: [EMAIL PROTECTED]
==================

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to