[http://creativecommons.org/licenses/by/3.0/]
This work is licensed under a CC
Attribution 3.0 Unported License [http://creativecommons.org/licenses/by/3.0/]
Until now we have discussed the Web in terms of interactions between Web servers (where content is published) and Web browsers (where content is displayed). In actuality, things are a bit more complicated than that. There are many different kinds of Web intermediaries that may occupy the path between where content originates and where it is consumed. These intermediaries can provide a number of services, from improving performance to filtering content to protecting privacy.
Amazon CloudFront [http://aws.amazon.com/cloudfront/]
HTML pages served by one web server can "host" content from a 3rd-party web server. That functionality is basic to the Web, but it has only really been exploited in recent years. In this lecture we'll look at methods for including 3rd-party content in web page, and some common patterns of application that use these methods.
iframe
element can be used to include any HTML page within any other HTML page<iframe src="http://mobile.yelp.com/biz/qHmamQPCAKkia9X0uryA8g" width="50%" height="450px" style="float: right; margin: 20px;">
object
and embed
elements are used to transclude non-HTML content<object width="640" height="385" style="float: right; margin: 20px;"> <param name="movie" value="http://www.youtube.com/v/lAl28d6tbko&hl=en_US&fs=1&"></param> <param name="allowFullScreen" value="true"></param> <param name="allowscriptaccess" value="always"></param> <embed src="http://www.youtube.com/v/lAl28d6tbko&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed> </object>
<script type="text/javascript" src="http://cdn.widgetserver.com/syndication/subscriber/InsertWidget.js"></script> <script>if (WIDGETBOX) WIDGETBOX.renderWidget('d8e2e8e9-8b6d-4f9f-a143-b1dd4347e398');</script>