Hi all - in order to reach consensus on declarative data definition, I think
it would help to first agree on requirements.
Requirements (not all agreed to) from previous thread:
- Support per-view specification of data requests
- Extensible for new data types
- Must be able to parametrize a data request (i.e., <os:PeopleRequest ...
page="${page}">)
- Must be possible to pass request data to client for processing
- Only one declarative syntax - we have to agree between templates and
preloads.
- 1:1 mapping of REST/RPC params to declarative syntax. No full XRDS
support
- Cannot require using <Content>
Some open questoins:
- Do we need to parameterize data requests for preloads or only for
templates?
- Do we need to support:
<Preload>
<os:PeopleRequest ... page="${page}">
</Preload>
- Is "Cannot require using <Content>" a requirement?
- The following would seem to be an option using <Content>
<Content type="proxied" href="http://yoursite.com">
<os:DataRequest key="friend_data" service="people"
params="group=FRIENDS&sort=name"/>
</Content>
Please send feedback on requirements - new ones, clarifications, or
questions about the requirements above.
I think if we all agree on these requirements we'll be left with a much
simpler discussion on spec choices to implement.