1 / 10

Presentation Services

Presentation Services. Third revision https://jazz.net/wiki/bin/view/Main/PresentingDataResources Simplest possible mechanism that will work Focus use cases for Unity 1.0. Use Cases. Basic navigation “Open” Resource Produce the single “right” presentation Advanced navigation

marcos
Télécharger la présentation

Presentation Services

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Presentation Services • Third revision • https://jazz.net/wiki/bin/view/Main/PresentingDataResources • Simplest possible mechanism that will work • Focus use cases for Unity 1.0

  2. Use Cases • Basic navigation • “Open” Resource • Produce the single “right” presentation • Advanced navigation • “Open with” • Present several presentation options • Web Client • Desktop Client • Pre-navigation • “Preview” resource • Alternate presentation

  3. Implementation Proposal • Presentation registry resource • JFS presentation services • Find the most suitable presentation • Find all available presentations • URLs available through discovery

  4. Presentation registry resource • Table of presentation rules • Presentation Type • Custom enumeration • Values: web | desktop | preview • More in the future • Provider info • label • id • Resources URL pattern • Resources URL transformation function • http://{host}/{path} -> http://jf1/webui/user/{host}/{path} • http://{host}/{path} -> http://b1/show-build?//{host}/path}

  5. Presentation registry resource RDF-ized version <?xml version="1.0"?> <selectionRules xmlns="http://jazz.net/jfs/presentation/1.0" > <selectionRule> <presentationType>web</presentationType> <providerInfo> <id>abff6d9c-f6da-11dd-87af-0800200c9a66</id> <label>RQM Web Client</label> </providerInfo> <pattern>http://jf1/webui/user</pattern> <transformationFunction> ... </ transformationFunction> </selectionRule> <!-- others --> </selectionRules>

  6. Presentation registry resource* *providerInfo not included for clarity

  7. getPresentation Service • Input • Resource URL • PresentationType List : prioritized list of presentation types • Result • the single computed URL • Algorithm • Find the best matching rule for this resource URL for the first available presentation type • Return computed URL • Must not deference URL

  8. queryPresentation Service • Input • Resource URL • PresentationType list : collection of desired presentation types • Result • For each match • Computed result • Presentation Type • Provider Info • Algorithm • Find all matching rules for all requested presentation types • Return set of computed results • Must not deference URL

  9. Use Cases Revisited • Basic navigation • getPresentation(url, “web, desktop”) • Advanced navigation • queryPresentation(url, “web, desktop”) • Pre-navigation • getPresentation(url, “preview”) • Foreign data resources • Navigation presupposes registration

  10. Open questions • Support for rules based on mediaType? • Important for future implementation • Not necessary for today’s use cases

More Related