<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>codefoster   - Channel 9</title>
    <atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Blogs/codefoster/feed"></atom:link>
    <itunes:summary>Blogging about Windows 8 development using HTML and JavaScript. Life is good! This is a companion blog to my primary at http://codefoster.com </itunes:summary>
    <itunes:author>Microsoft</itunes:author>
    <itunes:subtitle></itunes:subtitle>
    <image>
      <url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
      <title>codefoster   - Channel 9</title>
      <link>http://channel9.msdn.com/Blogs/codefoster</link>
    </image>
    <itunes:image href="http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png"></itunes:image>
    <itunes:category text="Technology"></itunes:category>
    <description>Blogging about Windows 8 development using HTML and JavaScript. Life is good! This is a companion blog to my primary at http://codefoster.com </description>
    <link>http://channel9.msdn.com/Blogs/codefoster</link>
    <language>en</language>
    <pubDate>Fri, 24 May 2013 10:43:14 GMT</pubDate>
    <lastBuildDate>Fri, 24 May 2013 10:43:14 GMT</lastBuildDate>
    <generator>Rev9</generator>
    <c9:totalResults>1</c9:totalResults>
    <c9:pageCount>1</c9:pageCount>
    <c9:pageSize>25</c9:pageSize>
  <item>
      <title>Retrieving remote data using xhr</title>
      <description><![CDATA[<p>You know the story.&nbsp;A call to a website used to be little more than a single request with its single response. But times have changed. The web is all grown up and any given visit to a website is often accompanied by multiple requests for more atomic bits of data.</p><p>The popular thing to do now, in fact, is to implement websites using a single page architecture where the user does one primary request and response to get the core document, and then the rest of his or her time spent in the app consists only of these tiny requests/response cycles that bring just what's necessary.</p><p>This is how Windows 8 apps using HTML/JS work - they are single page apps. And to play in this sandbox, you need to get good at using WinJS.xhr(). WinJS.xhr() is not a fancy function. It doesn't do a lot more than any of the other libraries do when they wrap the XmlHttpRequest. It makes for good, simple, elegant though and I like that.</p><p>Watch this screencast of the xhr() function in action and enjoy.</p> <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Blogs/codefoster/feed&WT.dl=0&WT.entryid=Entry:RSSView:5e99b25bda634f3f8a21a0dd01032f86">]]></description>
      <comments>http://channel9.msdn.com/Blogs/codefoster/xhrfetch</comments>
      <itunes:summary>You know the story.&amp;nbsp;A call to a website used to be little more than a single request with its single response. But times have changed. The web is all grown up and any given visit to a website is often accompanied by multiple requests for more atomic bits of data. The popular thing to do now, in fact, is to implement websites using a single page architecture where the user does one primary request and response to get the core document, and then the rest of his or her time spent in the app consists only of these tiny requests/response cycles that bring just what&#39;s necessary. This is how Windows 8 apps using HTML/JS work - they are single page apps. And to play in this sandbox, you need to get good at using WinJS.xhr(). WinJS.xhr() is not a fancy function. It doesn&#39;t do a lot more than any of the other libraries do when they wrap the XmlHttpRequest. It makes for good, simple, elegant though and I like that. Watch this screencast of the xhr() function in action and enjoy. </itunes:summary>
      <itunes:duration>588</itunes:duration>
      <link>http://channel9.msdn.com/Blogs/codefoster/xhrfetch</link>
      <pubDate>Mon, 01 Oct 2012 17:17:11 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/Blogs/codefoster/xhrfetch</guid>
      <media:thumbnail url="http://media.ch9.ms/ch9/7d2c/e5cfbdd9-1f20-4d98-8c0c-e284701e7d2c/XHRFetch_100.jpg" height="56" width="100"></media:thumbnail>
      <media:thumbnail url="http://media.ch9.ms/ch9/7d2c/e5cfbdd9-1f20-4d98-8c0c-e284701e7d2c/XHRFetch_220.jpg" height="123" width="220"></media:thumbnail>
      <media:thumbnail url="http://media.ch9.ms/ch9/7d2c/e5cfbdd9-1f20-4d98-8c0c-e284701e7d2c/XHRFetch_512.jpg" height="288" width="512"></media:thumbnail>
      <media:group>
        <media:content url="http://media.ch9.ms/ch9/7d2c/e5cfbdd9-1f20-4d98-8c0c-e284701e7d2c/XHRFetch.mp3" expression="full" duration="588" fileSize="1" type="audio/mp3" medium="audio"></media:content>
        <media:content url="http://media.ch9.ms/ch9/7d2c/e5cfbdd9-1f20-4d98-8c0c-e284701e7d2c/XHRFetch.mp4" expression="full" duration="588" fileSize="1" type="video/mp4" medium="video"></media:content>
        <media:content url="http://media.ch9.ms/ch9/7d2c/e5cfbdd9-1f20-4d98-8c0c-e284701e7d2c/XHRFetch.webm" expression="full" duration="588" fileSize="1" type="video/webm" medium="video"></media:content>
        <media:content url="http://media.ch9.ms/ch9/7d2c/e5cfbdd9-1f20-4d98-8c0c-e284701e7d2c/XHRFetch.wma" expression="full" duration="588" fileSize="1" type="audio/x-ms-wma" medium="audio"></media:content>
        <media:content url="http://media.ch9.ms/ch9/7d2c/e5cfbdd9-1f20-4d98-8c0c-e284701e7d2c/XHRFetch.wmv" expression="full" duration="588" fileSize="1" type="video/x-ms-wmv" medium="video"></media:content>
        <media:content url="http://media.ch9.ms/ch9/7d2c/e5cfbdd9-1f20-4d98-8c0c-e284701e7d2c/XHRFetch_high.mp4" expression="full" duration="588" fileSize="1" type="video/mp4" medium="video"></media:content>
        <media:content url="http://media.ch9.ms/ch9/7d2c/e5cfbdd9-1f20-4d98-8c0c-e284701e7d2c/XHRFetch_mid.mp4" expression="full" duration="588" fileSize="1" type="video/mp4" medium="video"></media:content>
        <media:content url="http://media.ch9.ms/ch9/7d2c/e5cfbdd9-1f20-4d98-8c0c-e284701e7d2c/XHRFetch_Source.wmv" expression="full" duration="588" fileSize="1" type="video/x-ms-wmv" medium="video"></media:content>
      </media:group>      
      <enclosure url="http://media.ch9.ms/ch9/7d2c/e5cfbdd9-1f20-4d98-8c0c-e284701e7d2c/XHRFetch.wmv" length="0" type="video/x-ms-wmv"></enclosure>
      <dc:creator>Jeremy Foster</dc:creator>
      <itunes:author>Jeremy Foster</itunes:author>
      <slash:comments>2</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/Blogs/codefoster/xhrfetch/RSS</wfw:commentRss>
      <category>JavaScript</category>
      <category>Windows 8</category>
    </item>    
</channel>
</rss>