Btw, This is the entire data model for this application.

http://www.symfony-project.org/images/askeet/1_0/mcd1.gif

@Rafael, are you sure that i don't need the has n, to the User model
as far as i see in the diagram i need it, please take a look at it.

On Tue, Mar 10, 2009 at 9:48 AM, Rafael George <[email protected]> wrote:
> Great thanks all you guys.
>
> But talking about what Yehuda, did i thought at first in doing the
> same thing. I was thinking in why DataMapper have more than one way to
> do the same. Which is the advantage of using the hooks instead
> overriding the method ?
>
> Thanks again.
>
> On Tue, Mar 10, 2009 at 8:50 AM, Rafael Rosa <[email protected]> wrote:
>> Even though it works I always thought that overriding methods to do
>> something like this should be avoided, specially when there are less
>> intrusive and more declarative ways to do the same thing. But now there are
>> plenty of options :)
>>
>> Cheers,
>> Rafael
>> www.rafaelrosafu.com
>>
>> >>
>>
>
>
>
> --
> Rafael George
>



-- 
Rafael George

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DataMapper" 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/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to