Re: Model Frameworks and Library Conflict Question
Re: Model Frameworks and Library Conflict Question
- Subject: Re: Model Frameworks and Library Conflict Question
- From: Chuck Hill <email@hidden>
- Date: Wed, 05 Dec 2012 19:37:51 -0800
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@hidden 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@hidden> 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@hidden> wrote:
>>>
>>>> Subclass :-)
>>>>
>>>> James Cicenia <email@hidden> 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@hidden> 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@hidden)
>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>
>>>>>> This email sent to email@hidden
>>>>>
>>>>> --
>>>>> 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@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
--
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden