Mashing up JavaScript – Advanced techniques for modern web applications
Bastian Hofmann(49:00)
sourced from DPC 2012
Bastian Hofmann(49:00)
sourced from DPC 2012
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 * 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.