|
From: Ray Z. <rz...@co...> - 2002-06-21 15:19:25
|
At 11:47 PM -0400 6/20/02, Chris Winters wrote:
>How is 'field_update()' for a method name instead of 'update()'?
I like it. The name 'update' is definitely too generic. I already ran
into a class that already had an update() method doing something else.
Another thing that I thought of is that we should probably allow
refetch() to be called without any parameters, in which case it would
re-fetch all fields instead of throwing an exception. The difference
between ...
$object->refetch;
... and ...
$class = ref $object;
$object = $class->fetch( $object-> id );
... is that the former would not do pre/post-fetch actions and any
other references to the object would still point to the (now updated)
object.
>PS - As for the other items: someday.... Daily paying nonperl work is
>eating up lots of time. There are days when I miss perl...
Bummer ... that's what I was afraid of. Well, we want you to know
that SPOPS is a tremendous benefit to our project. With ESPOPS it's
doing most of what we need it to, and the rest has been relatively
easy to build on top.
Thanks,
--
Ray Zimmerman / e-mail: rz...@co... / 428-B Phillips Hall
Sr Research / phone: (607) 255-9645 / Cornell University
Associate / FAX: (815) 377-3932 / Ithaca, NY 14853
|