Which is more natural? Parent/Child

I am planning a website with one set of documents to take edits via the web, via editable fields, and each of those documents to have permanently corresponding documents that reflect those edits via the web, using a mechanism involving inheritance, getdocfield or some combination. I assume the pairs should be in a parent/child relationship.

Question is which is more readily suitable for editable fields for taking edits and which more readily suitable for computed fields that reflect the edits?

Thank you for any comments!

Subject: Which is more natural? Parent/Child

Hmmm… I’m not sure I understand completely …but let me just make a comment for you.

The main/response documents within the Notes heirarchy are both equally suitable for both computing field values and inheriting field values. There is no difference in that context. Generally I use the parent/child relationship for other reasons such as to show an edit history or to generate a thread such as discussion.

Always begin with a main (parent) doc and if required allow the next one in the thread as a response (child).

In reality, the relatioship is controlled by an internal field and can be toggled back and forth as necessary.

Does this help at all?

Subject: RE: Which is more natural? Parent/Child

Thank you Drake, your response certainly does help. Using $Ref and @SetDocField, I think I can “tell” the response doc to “do something” to the parent… The way I see it, to do this the other way around, I would first have to establish the unid of the response in the parent. That is simple, but one more step. Is my thinking sound to you?

I see a lot of discussion on this forum about how to update parents from childs, but not so much the other way around, so that is one of the reasons I was asking for general opinions.

Thanks again!

Subject: Which is more natural? Parent/Child

I’m not sure if I understand your question, but here are my $0.02:

  1. Field inheritance works on the web, no matter if you use parent/child documents or not.

  2. Personally, I don’t like parent/child architecture. It is considered easier to work with, and in many aspects it actually is.

There are some specifics/limitations, though, in selection formulas and in views. That’s why I prefer to make the hierarchy myself, usually by doc unique ID.

HTH,

Simeon

Subject: RE: Which is more natural? Parent/Child

Thank you, too, Simeon. The opinions I am getting now are leading me in my initial sketching. This is a great forum… Tons of my questions get answered here simply by using the search facility. I am sure I will have more questions and will be more specific as I progress the development I am working on.