Changes between Version 2 and Version 3 of ApertureOpeningDocuments
- Timestamp:
- 10/12/05 14:14:20 (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ApertureOpeningDocuments
v2 v3 3 3 Besides crawling resources, we should also be able to open them in their default viewer. 4 4 5 At first this may looklike a job for the !DataAccessor, which after all has knowledge about how to load the stream from the physical source.5 At first this may sound like a job for the !DataAccessor, which after all has knowledge about how to load the stream from the physical source. 6 6 7 7 On second thought, I believe that for the opening of files you need some other service, parallel to !DataAccessor, that is also scheme-specific and that takes care of opening the files. Reasons: 8 8 9 * !DataAccessors actually retrieve the files/webpages/..., which is often not necessary for some !DataObject openers. For example, for opening a local file you can instruct Windows to do just that. Similarly, a web page can be retrieved and shown by a web browser, there is no need for usto retrieve the contents and feed it to the browser.9 * !DataAccessors actually retrieve the files/webpages/..., which is often not necessary for some !DataObject openers. For example, for opening a local file you can instruct Windows to do just that. Similarly, a web page can be retrieved and shown by a web browser, there is no need for our codebase to retrieve the contents and feed it to the browser. 10 10 11 11 * There may be several alternative ways of opening a resource. For example, the java.net JDIC project contains functionality for opening files and webpages, we have our own classes to do that, there may be customer-specific implementations, etc. 12 12 13 This may be a good reason to decouple this functionality from the DataAccessor? and run it in parallel.13 This may be a good reason to decouple this functionality from the !DataAccessor and run it in a parallel service.