Pliant Computing
Flexible. Supple. Adaptable.
Embedding Pliant Content
 
Embedding Demo

Pliant web applications can be easily integrated into other websites using a <script> tag. In this example we are including an application from a pliant-powered website vancouver broadway florists.

The HTML source code to include above application is,

<script src=
"http://www.broadwayflorists.com/app.html?pliant_embed"
></script>
              

 
Three kinds of embeds

The three kinds of embed modes are client side bootstrap (above demo), client side inline, and server side inline.

The difference between client side bootstrap and inline modes is that in bootstrap mode only a small bit of code is loaded at first, and the rest of the content is loaded asynchronously. This allows the page to continue processing while the embedded content is loading. In contrast, in inline mode the page stalls until all embedded content has loaded.

The best embed mode to use depends on the situation. If the content you are embedding is a represented as a gadget, as in the case for this page, you should use the asynchronous bootstrap mode. If however, the content of the page has no value without the embedded content you should use inline mode, and if possible server side one.

Please visit external demo page for illustration of different embed options.