Tutorials > Lynda-HTML5 Messaging And Communications In Depth
Lynda-HTML5 Messaging And Communications In DepthDate: 6 March 2012 | Posted by: pm1 |
![]() Lynda-HTML5 Messaging And Communications In Depth-iNKiSO | 123.70 MB This course shows how to communicate between web pages, both within a single domain and across one or more domains, using the HTML5 Messaging API. Author Bill Weinman reviews security and the same origin policy, details cross-origin scripting techniques, and explores examples of cross-document messaging. The course describes how to register and send messages to listeners and handle errors. Exercise files accompany the course. Introduction Welcome Using the exercise files 1. Overview Overview of HTML5 messaging Security and the same-origin policy An example application 2. Event Listeners Registering a listener Sending messages to a listener Handling errors 3. Cross-Document Messaging An interactive example Exploring the example code Conclusion Goodbye See full article |