Re: [Modeling-users] N-tier development and modeling
Status: Abandoned
Brought to you by:
sbigaret
From: John L. <jo...@vi...> - 2004-03-15 13:01:05
|
Sender: John Lenton <jo...@ma...> On Sun, Mar 14, 2004 at 02:37:06PM +0100, Sebastien Bigaret wrote: > I must say all this is really interesting. I unfortunately do not have > the time to investigate such things deeper, but i'm really interested in > a distributed layer. Had a very quick look at pyro, seems compact and > clean. If any of you experiment in this direction I'd like to hear from > the details, problems etc. As far as I can understand things, it seems > that Tom and John are speaking about similar things, if not the same. > > BTW about weakrefs and pickle, I can effectively confirm that weakrefs > are used, mainly in objects (which hold a weakref to their EC) and in > to-many faults (AccessArrayFaultHandler) which for technical reasons > hold weakref of the object referencing them. I've been thinking about this a bit (`in background', if you will), and now I am of the opinion that actually using pyro on editingcontexts and modeling objects is the wrong way to do this; I think proxy classes (via overriding CustomObject?) is probably a saner way to go. You probably don't want to shuttle your modeling objects anyway: what you're wanting to distribute is the data, i.e. the result of e.g. getFirstName, and possibly (although I doubt it) the effect of setFirstName. Not the object itself; that would imply you are distributing your business logic. I'll try to set up an example using cimarron, so you can see what I mean. > John: after a quick search I was not able to find any english-written > resources about papo and cimarron, is this available somewhere? papo is https://papo.vialibre.org.ar, but as you noted it's in spanish. cimarron you can find in papo's savannah cvs; I'm afraid it's lacking documentation and examples, and probably isn't much use without a bit of handholding. However, it being a framework, we've tried to keep it in english, so at least running pydoc on the files in Generic/ should provide some insight. Consider it 'pre-alpha', because it is. -- John Lenton (jo...@vi...) -- Random fortune: "In the long run, every program becomes rococo, and then rubble." -- Alan Perlis |