Git Product home page Git Product logo

spainjs-2013's Introduction

Cross-platform application development

Code examples and resources, for 'Cross-platform application development using web technologies', talk presented at SpainJS.

This talk presents how Spotify uses web technologies to develop and maintain key features in the different platforms . Hybrid apps is a hot topic nowadays, and we will explain how our architecture abstracts a web developer from the platform, making it possible to share code across multiple devices.

In the second part of the talk we will describe the architecture of the Spotify Embedded Platform, that allows external developers to include spotify entities inside their webpages, including a technology for remote controlling spotify clients, the webplayer and the desktop client.

Slides

[Slide share] (http://www.slideshare.net/tomasperezv/spotify-presentation-spainjs2013)
(Or check the included pdf file)

Authors

[@JMPerez] (https://github.com/JMPerez)
[@tomasperezv] (https://github.com/tomasperezv)

Reference

[Spotify Apps API] (https://developer.spotify.com/technologies/apps/)
[Spotify Apps Tutorial] (https://github.com/spotify/apps-tutorial)
[HTML5 Web Messaging] (http://dev.w3.org/html5/postmsg/)
[Web Storage] (http://www.w3.org/TR/webstorage/)
[IE8 support for html5 and postmessages] (http://blogs.msdn.com/b/ieinternals/archive/2009/09/16/bugs-in-ie8-support-for-html5-postmessage-sessionstorage-and-localstorage.aspx)
[Is local storage performance a problem?] (http://calendar.perfplanet.com/2012/is-localstorage-performance-a-problem/)
[HTML5 Hard Disk Filler] (http://feross.org/fill-disk/)
[window.postMessage mozilla documentation] (https://developer.mozilla.org/en-US/docs/Web/API/window.postMessage)
[Chrome prerender] (https://developers.google.com/chrome/whitepapers/prerender)
[Firefox prefetch] (https://developer.mozilla.org/en/Link_prefetching_FAQ)
[Using Iframes Sparingly] (http://www.stevesouders.com/blog/2009/06/03/using-iframes-sparingly/)
[Updated JSPerf about IFrames performance] (http://jsperf.com/time-to-create-elements)
[HTML5 Sandboxed IFrames] (http://www.html5rocks.com/en/tutorials/security/sandboxed-iframes/)

spainjs-2013's People

Contributors

tomasperezv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

spainjs-2013's Issues

Hello World

I think we can include links to resources: jsperf examples, link to the slides, etc. In this repo.

I tried to created at the Spotify org project, but unfortunately I don't have permissions to create new repos and I wanted to start adding stuff already. So maybe we should move it later.

Anyway feel free to include whatever you want related with the talk here.

JSPerf example: postMessage transfer rate based on size of message

Environment

Current document initializes an IFrame. We send postMessages to it.
We want to see the number of messages we can send depending on the size of the message, and how that evolves depending on the browser.

Case1

Size of the message: 50 characters

Case 2

Size of the message: 100 characters

Case 3

Size of the message: 500 characters

Case 4

Size of the message: 1000 characters

Case 5

Size of the message: 10000 characters

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.