• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Relationships across frameworks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Relationships across frameworks


  • Subject: Re: Relationships across frameworks
  • From: Mike Schrag <email@hidden>
  • Date: Tue, 5 Aug 2008 13:46:24 -0400

You can also look at Partial Entities in Project Wonder, which is sort of an exploration of this problem to get typesafe reusable/remixable models:

http://webobjects.mdimension.com/wonder/api/er/extensions/partials/package-summary.html

ms

On Aug 5, 2008, at 1:36 PM, Anjo Krank wrote:

You can add the relationships programmatically, when your framework loads for example.

Cheers, Anjo

Am 05.08.2008 um 19:23 schrieb Florijan Stamenkovic:

Hi all,


Maybe this was discussed already, but googling didn't help.

What I could use in our biggest app is splitting the model into inter-dependent frameworks. However, what happens if we want to deploy an app that utilizes only some of the frameworks?

Example:

FrameworkA contains entity Person
FrameworkB contains entity PhotoOfPerson

Person <->> PhotoOfPerson

PhotoOfPerson depends on the Person, since it has a to-one mandatory relationship, but Person does not depend on PhotoOfPerson.

Let's say we want to deploy an app that only deals with Person records, and not their photos. Ideally we would only use the FrameworkA in the deployment project. It seems to me that it is very difficult to make this happen. Assuming of course that the Person ->> PhotoOfPerson is modeled.

Does anyone do this, somehow? Or should relationships across model frameworks be avoided?

Thanks,
F
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@krank.net


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


_______________________________________________
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


  • Follow-Ups:
    • Re: Relationships across frameworks
      • From: Florijan Stamenkovic <email@hidden>
References: 
 >Relationships across frameworks (From: Florijan Stamenkovic <email@hidden>)
 >Re: Relationships across frameworks (From: Anjo Krank <email@hidden>)

  • Prev by Date: Re: Relationships across frameworks
  • Next by Date: Re: Relationships across frameworks
  • Previous by thread: Re: Relationships across frameworks
  • Next by thread: Re: Relationships across frameworks
  • Index(es):
    • Date
    • Thread