|
|||||
Server applications: local referent sets | |||||
Prerequisite Concepts |
Server applications cannot wait until the server terminates to resolve referents. Applications that perform parsing/transformation tasks for clients must be able to resolve the referents on completion of the client task.
This can be accomplished by creating a local referent scope for the duration of the task. When the task is complete and the local referent sets terminate, all of the referents created during that task are resolved.
Local referent sets have application wherever a subtask with its own internal cross-referencing is performed, including:
Nested referents allow the programmer to say to OmniMark: "I want to use referents just for parsing this particular document, and I want the referents all resolved when I've finished this transaction so I can send all the output back to the client."
Prerequisite Concepts Referents |
---- |