Mashing up JavaScript – Advanced techniques for modern web applications

A session at OSCON 2012

Thursday 19th July, 2012

4:10pm to 4:50pm (PST)

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, 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.

About the speaker

This person is speaking at this event.
Bastian Hofmann

ResearchGate GmbH

Next session in Portland 251

5pm Wikipedia's Next Billion Users with WebFonts by Alolita Sharma

Bastian Hofmann at previous events

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!


Time 4:10pm4:50pm PST

Date Thu 19th July 2012


Portland 251, Oregon Convention Center

Short URL

View the schedule



See something wrong?

Report an issue with this session