> Size: Open word, Create a new Document, Type "Hello World", Save = 19Kb!
> lets not pretend Microsoft's COM solution is any good.

Yes and no. True, the minimum size of SS document is a few kilobytes. When
you consider the minimum that SS documents need in them, I am not sure that
it is easy to do much better. What XML might need boggles my mind, but perhaps
I have a very different spec from you. I would imagine the xml would have to
be interpreted into a temporary for use.
 
> True there are problems with simultaneous access, but then any method that
> allows multiple apps to store data within the same file is going to have
> problems.  A simple solution that springs to mind is to have the process
> that spawned a server to deal with a particular part of the document
> mediate access to the file through an interface passed to the new server
> when it is created.

 Well that is what COM does in effect. I dont see how that mediates access to the
document though. Two processes want to write the document at once, which implies
some kind of internal structure. OpenDoc and SS both took this approach. Typically
one process will want to increase the size of its portion of the document - in place.
I am first to admit I know little enough about XML but I just cant see how you could
do this.
 
> an exmaple, A word processor opens a document and starts parsing it, it
> encounters a block of data that requires the spreadsheet program, The word
> processor spawns the spreadsheet passing it an interface that allows it
> access to the spread sheet's part of the document.  on the other end of
> the interface is code within the word processor that manages the spread
> sheet's access to the underlying file.
> 
> This is getting way to serious.
> 
> Tim
> 
> 
> 
> 
> 
> 
> --------------------------------------------------------------------------
> -
>   New Zealand Delphi Users group - Offtopic List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz



----------------------------------------------------------
Phil Scadden, Institute of Geological and Nuclear Sciences
PO Box 30368, Lower Hutt, New Zealand
Ph +64 4 5704821, fax +64 4 5704603
---------------------------------------------------------------------------
  New Zealand Delphi Users group - Offtopic List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to