On Dec 5, 2012, at 8:12 PM, James Cicenia 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.


I think you understood me to mean subclass User is Person. I mean have a 
subclass User is MyUser and relate it to Person. That's my plan with it anyway. 
Your subclass can live in framework 2 and you can relate it to anything you 
want there. Partials sounds appropriate if what you need is something like 
multiple inheritance.


> 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/ramseygurley%40gmail.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/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to