Re: Relationships across frameworks

2008-08-06 Thread Florijan Stamenkovic
Arrrgh, I knew when I was writing this that there was some reason I didn't do this in the first place, and why JBND uses generated setters to fire events... I just forgot what it was, in the meanwhile. takeStoredValues... is used to initialize EOs. Not a good place to place change

Re: Relationships across frameworks

2008-08-06 Thread Florijan Stamenkovic
Why? No one keeps you from adding the methods to your classes? You just shouldn't call them when you don't actually have the relationship... I was also thinking yesterday evening that I could easily define a class that would encapsulate relationship information, use that info during runti

Re: Relationships across frameworks

2008-08-05 Thread Anjo Krank
Am 05.08.2008 um 22:47 schrieb Florijan Stamenkovic: Looks like I'll just end up using a single framework for the whole model, and isolating aspects of it in the UI layer, be that JC or web apps. I liked Anjo's idea for a while there, but I'd loose a lot of the compile time checking, so mai

Re: Relationships across frameworks

2008-08-05 Thread Florijan Stamenkovic
I've just been thinking of using the partial stuff on the server side, and making some sort of a proxying system for the client side, but I don't think it would work. Or it might, but it would too much fuss to implement. Looks like I'll just end up using a single framework for the whole m

Re: Relationships across frameworks

2008-08-05 Thread Mike Schrag
Partials look nice. However, it seems to have ERX dependencies, and I need this to work in a JavaClient scenario. It looks as if the partial stuff is tightly wired into the rest of wonder? Which makes it impossible for me to use, client side... yeah ... this one is a lot of hackery all over

Re: Relationships across frameworks

2008-08-05 Thread Florijan Stamenkovic
Hm, I guess this could work, also in a JC scenario, for which I am doing this. The only drawback I can think of is that it's a slight pain. I'll think about it. Thanks, F On Aug 05, 2008, at 13:36, Anjo Krank wrote: You can add the relationships programmatically, when your framework loads

Re: Relationships across frameworks

2008-08-05 Thread Florijan Stamenkovic
Partials look nice. However, it seems to have ERX dependencies, and I need this to work in a JavaClient scenario. It looks as if the partial stuff is tightly wired into the rest of wonder? Which makes it impossible for me to use, client side... F On Aug 05, 2008, at 13:46, Mike Schrag wrot

Re: Relationships across frameworks

2008-08-05 Thread Mike Schrag
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 c

Re: Relationships across frameworks

2008-08-05 Thread Anjo Krank
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 in

Relationships across frameworks

2008-08-05 Thread 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