The main use-case is making gadgets more friendly as a general purpose
component model for composing sites. Along the way we're righting
some syntactic wrongs as well.
Use Case: (Assume that inline gadgets from trusted sources are being
allowed)
For trivial use cases where gadgets are being used to compose a larger
site experience, a lot of the cruft in ModulePrefs is simply not
needed. The containing site can make assumptions about the gadget
code being run because the pool of allowed gadgets are under strict
control, so many of the feature directive are not necessary.
The other thing being done in this proposal is providing a single
universal format for template definition and allowing for not using of
<script> tags for data tags and templates.
In the spec, you can see two formats called out for template
definition - one inline and one for external template libraries. This
would allow for the canonical format to be used universally.
http://opensocial-resources.googlecode.com/svn/spec/1.1/OpenSocial-Templating.xml#rfc.section.4
http://opensocial-resources.googlecode.com/svn/spec/1.1/OpenSocial-Templating.xml#rfc.section.15
Use of the <script > tags for both data and inline templates goes back
to an initial attempt by the Shindig team to implement a wholly client-
side OSML and data pipelining processor. That attempt failed, but not
before use of the <script type="text/os-template"> and <script
type="text/os-data"> tags were codified into the spec. Script tags
were used because they were the only tags where the browser wouldn't
render the internal contents prior to the client-side processor
engaging.
The simple gadget proposal supplements the obtuse use of <script> tags
with the more obvious and canonical <Template> and <Data> blocks.
At this point my position WRT support is containers MUST support the
existing 1.0 gadget format and SHOULD support the simple gadget format
as well.
--
clc