際際滷

際際滷Share a Scribd company logo
Look Ma, No Server!
   Building Windows 8 Apps That
 Connect Directly to Cloud Services
Hello
Twilio
Web Apps Today
Win 8 Apps Tomorrow
Lets Code
Thanks




           Agenda
HELLO
Im Carter
@CarterRabasa
github.com/crabasa
(206) 745-5000
carter@twilio.com
   Follow & Fork Me
http://www.tbray.org/o
ngoing/When/201x/201
2/06/07/Speaking-
Antipatterns



 Speaker Anti-Patterns
TWILIO
Telephony REST APIs, eh?
Your very own
programmable
phone company
- @SteveGraham

twilio.com/api
     How it works
Please send a
goofy text to
206-XXX-YYYY

Audience Participation
WEB APPS
 TODAY
DB




         Server

                     Cloud
                    Service




Client / Server / Cloud
WIN8 APPS
TOMORROW
DB




                Cloud
               Service




Win8 / Cloud
LETS CODE
S.O.S.
http://windows.github.com/
Paul Betts  GitHub  San Francisco, CA


https://github.com/fitzgen/github-api
Nick Fitzgerald  Mozilla - Bellingham, WA


https://gist.github.com/2938355




             Resources
WinJS-style Promises
doSomething(params, success_cb, fail_cb);


Everyone Else
doSomething(params, callback);

function callback(err, res) {
   if (err) {
        // handle error
   }
   else {
        // woo hoo!
   }
}



         WinJS vs. the world
THANKS!
 QUESTIONS?

@CARTERRABASA

More Related Content

Seattle code camp 2012

Editor's Notes

  • #13: Request / ResponseAJAX Asynchronous JS and XMLJSONP JSON with paddingCORS cross-origin resource sharing
  • #15: WinJS.xhr