m.soundcloud.com

8
new m.sc Eric Wahlforss / CTO [email protected] Thursday, April 21, 2011

description

Tech talk @ etsy 2011

Transcript of m.soundcloud.com

2. m.soundcloud.commobile version of scall ajaxhtml5 streaminghtml5 historyrequest cachingThursday, April 21, 2011 3. m.soundcloud.com2 ppl - 2 months, matas petrikas + jrn zffrerBased on the sc public apiModern stackFully test-drivencontinuous integration -> continuous deploymentgit push origin stable to live < 3 minThursday, April 21, 2011 4. techbackbone/underscore/jqueryjquery templatesnodebackbone patches: html5 history, oauth signing +https, sessionStorage request cachewill be open-sourcedhttp://documentcloud.github.com/backbone/#examples-soundcloudThursday, April 21, 2011 5. build pipeline + deploymentjs: load fake dom environment in node, pull out scripttags, bundle up, run through closure, generate newhtml le with all.jscss: same thing, cssmintemplates: load up fake dom env -> load templateswith jquery tmpl -> pre-compile -> attach to all.jsmostly the fs node moduledeployment all git + chefThursday, April 21, 2011 6. testing200+ testsQUnit - contributingmanually in browser and headless seleniumwell open-source the headless part soonhttp://vowsjs.org/ for node js testsapi responses mockedThursday, April 21, 2011 7. cross-domainunfortunately CORS is buggy--redirectsnode based http proxyhttps iframe to http via postMessage. oauth 2 dance +safe https storage of access tokensThursday, April 21, 2011 8. learningsbackbone is very lightweight--needs to be extended formore complex apps. routing gets messyworking on inheritance model with the backbone crewandroid 2.2, older webkits the new ie6mobile debugging sucksblackberry has no audio -- big hopes for wp7 ie9Thursday, April 21, 2011