Mashing up JavaScript – Advanced techniques for modern web applications

Bastian Hofmann (ResearchGate GmbH)
Javascript & HTML5
Location: Portland 251
Presentation: external link
Average rating: ****.
(4.43, 23 ratings)

Nowadays many modern web applications are solely relying on JavaScript to render their frontend and only provide an API endpoint at their backend, resulting in a much more fluent and desktop-application-like user experience. But if you want to create mashups, load data from many different places or include external widgets into your site, you are quickly running into boundaries because of browser and security restrictions. In this presentation I will talk about techniques, some older, some brand new which will help you to:

  • create rich JavaScript based Web Applications
  • make API calls to external domains
  • authenticate these calls through OAuth2 without compromising your secrets
  • load external content and JavaScript widgets safely with OEmbed and Caja
  • send JavaScript messages between frames on different domains
  • get real-time notifications from your backend with ActivityStrea.ms, PubsubHubbub, node.js and Websockets
  • and use the browser to store the some of the user’s data.

Additionally to talking about it, I’ll show you how this works all together in a real JavaScript mashup based on the StatusNET micro blogging platform.

Photo of Bastian Hofmann

Bastian Hofmann

ResearchGate GmbH

Bastian is a Software Engineer at ResearchGate, the leading social network for scientists, working there on everything API related. Before that he was responsible for the integration of OpenSocial, OAuth, OpenID and other open standards into the largest german based social networks, studiVZ, schülerVZ and meinVZ. He is also a frequent speaker on international web technology conferences, always trying to promote open standards and protocols. This, together with his activity in the OpenSocial foundation and as a committer and PMC member for the Apache Shindig project makes him a strong advocate for the vision of an truly open and distributed social web.

Sponsors

For information on exhibition and sponsorship opportunities at the conference, contact Sharon Cordesse at (707) 827-7065 or scordesse@oreilly.com.

View a complete list of OSCON contacts