Software programming models are provided for supporting host-environment
agnostic content that can be hosted in different hosting environments
(e.g., browser or window) without needing to rewrite the content. The
models comprise a host-environment abstraction wrapper that provides a
transparent layer of abstraction between content and host-environment
specific instructions. The host-environment abstraction wrapper supports
the use of host-environment independent interaction instructions or
declarative statements in content by invoking host-environment specific
implementation details on behalf of the content. The host-environment
independent interaction instructions represent particular interactions
between some content and a hosting environment, but do not provide
host-environment implementation instructions that are specific to any
particular hosting environment.