Fresh from a good night's sleep....   subclass it is!

Thanks everyone.. .learning a lot now about mixing and matching frameworks, 
models, and more.

Always something to learn in WO.... always.

cheers


On Dec 5, 2012, at 9:37 PM, Chuck Hill <[email protected]> wrote:

> The database is just an artifact of the implementation.  :-)
> 
> 
> On 2012-12-05, at 7:35 PM, James Cicenia wrote:
> 
>> At first blush it look perfect. However, it does flatten/merge the objects 
>> into one table. That was something I wanted to avoid.
>> 
>> I will need to digest it a bit more and weigh the tradeoffs.
>> 
>> 
>> On Dec 5, 2012, at 9:19 PM, [email protected] wrote:
>> 
>>> We've started using ERXPartial for just this purpose. With David's notes, 
>>> it is pretty straightforward to implement.
>>> 
>>> On 2012-12-05, at 7:12 PM, James Cicenia <[email protected]> wrote:
>>> 
>>>> Ramsey knows what I am trying to do.
>>>> 
>>>> But that leads to other quandaries:
>>>> 
>>>> We have an ERUser framework, and I have my project framework. 
>>>> 
>>>> I would like to separate User/Auth from my account, profile, business, etc.
>>>> 
>>>> So which is proper? Does a person subclass a user or does a user subclass 
>>>> a person.
>>>> In my case practicalities seem to dictate that I subclass user. But then 
>>>> the issue of actual
>>>> database storage comes into play. I want my user table separate for my 
>>>> person table.
>>>> 
>>>> So I still think I should punt and just break one side and and bridge 
>>>> where needed in code.
>>>> 
>>>> 
>>>> On Dec 5, 2012, at 8:07 PM, Ramsey Gurley <[email protected]> wrote:
>>>> 
>>>>> Subclass :-)
>>>>> 
>>>>> James Cicenia <[email protected]> wrote:
>>>>> 
>>>>> Suboptimal. :-(
>>>>> 
>>>>> FM1.User ==> FM2.Person
>>>>> 
>>>>> Now I have to give up the reflexive relationship or the two one 
>>>>> relationship.
>>>>> 
>>>>> How does one then ever fully bridge two models from two frameworks?
>>>>> 
>>>>> James
>>>>> 
>>>>> 
>>>>> On Dec 5, 2012, at 6:59 PM, Chuck Hill <[email protected]> wrote:
>>>>> 
>>>>>> Refactor so that you don't have cyclic references.  Or implement 
>>>>>> EOMöbius.
>>>>>> 
>>>>>> 
>>>>>> Chuck
>>>>>> 
>>>>>> 
>>>>>> On 2012-12-05, at 4:55 PM, James Cicenia wrote:
>>>>>> 
>>>>>>> I have two frameworks. Each has its own model.
>>>>>>> 
>>>>>>> FrameworkModel1
>>>>>>> FrameworkModel2
>>>>>>> 
>>>>>>> In order for me to see the models I have to import the other's 
>>>>>>> framework.
>>>>>>> 
>>>>>>> This then causes a red explanation point error. Because they are 
>>>>>>> referring to each other.
>>>>>>> How do I get around this?
>>>>>>> 
>>>>>>> Thanks
>>>>>>> James
>>>>>>> 
>>>>>>> 
>>>>>>> _______________________________________________
>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>> Webobjects-dev mailing list      ([email protected])
>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>>>>>>> 
>>>>>>> This email sent to [email protected]
>>>>>> 
>>>>>> -- 
>>>>>> Chuck Hill             Senior Consultant / VP Development
>>>>>> 
>>>>>> Practical WebObjects - for developers who want to increase their overall 
>>>>>> knowledge of WebObjects or who are trying to solve specific problems.    
>>>>>> http://www.global-village.net/gvc/practical_webobjects
>>>>>> 
>>>>>> Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest 
>>>>>> Growing Companies in B.C! 
>>>>>> Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking 
>>>>>> of Canada’s Fastest-Growing Companies by PROFIT Magazine!
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list      ([email protected])
>>>> Help/Unsubscribe/Update your Subscription:
>>>> https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
>>>> 
>>>> This email sent to [email protected]
>>> 
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>> 
>> This email sent to [email protected]
> 
> -- 
> Chuck Hill             Senior Consultant / VP Development
> 
> Practical WebObjects - for developers who want to increase their overall 
> knowledge of WebObjects or who are trying to solve specific problems.    
> http://www.global-village.net/gvc/practical_webobjects
> 
> Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing 
> Companies in B.C! 
> Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of 
> Canada’s Fastest-Growing Companies by PROFIT Magazine!
> 
> 
> 
> 
> 
> 
> 
> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to