On 5/10/07, Sliv <[EMAIL PROTECTED]> wrote:
>
> https://trac.cakephp.org/milestone/2.0.0.x
>
> "Change Models to return object instances instead of arrays

this has come up many times whilst I've been on this list (over 12
months now I reckon!), and the usual response is that php (especially
v4) handles objects quite poorly, but handles arrays extremely well,
hence the decision to go with arrays (AFAIK).

I would love to know though, what are the benefits of:

echo $obj->property

vs

echo $data['property']

for what it's worth, I've recently tried to get my head around an
Actionscript 2 (flash) framework called PixLib
http://osflash.org/projects/pixlib , which has a lot going on in
models, and Commands with a single FrontController, and it took me a
long time to get my head around the differences between it and
CakePHP.

cheers,

jb

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to