cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: [jira] Commented: (CAY-1312) Allow lifecycle callbacks on ROP client
Date Thu, 19 Nov 2009 10:33:10 GMT
I think this is a somewhat parallel task. I.e. I have no problem with  
2 sets of listeners (server and client) in the Model, just not more  
than that.

Andrus

On Nov 19, 2009, at 12:20 PM, Andrey Razumovsky wrote:

> If so, it also means we should get rid of two sets of classes at  
> first step
>
> 2009/11/19 Andrus Adamchik <andrus@objectstyle.org>
>
>>
>> On Nov 19, 2009, at 12:09 PM, Andrus Adamchik wrote:
>>
>> This should be done in modeler without any extra code and  
>> configuration
>>>>
>>>
>>> In a modularized application, the model and associated DataObjects  
>>> are
>>> created once and then reused in many (possibly unexpected) scenarios
>>>
>>
>> To stress this point, this is similar to why you'd have inheritance  
>> and
>> composition in an OO language - you don't want all possible  
>> scenarios to be
>> addressed in a single class (or file), with a long chain of if/else.
>>
>> Configuration (model) reuse is facing the same problems.
>>
>> Andrus
>>
>>
>
>
> -- 
> Andrey


Mime
View raw message