<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>sam birk</title>
	<atom:link href="http://www.sambirk.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sambirk.com</link>
	<description>Web Developer / Management Scholar</description>
	<lastBuildDate>Mon, 16 Feb 2015 16:09:41 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1</generator>
	<item>
		<title>Offline First*</title>
		<link>http://www.sambirk.com/offline-first/</link>
		<comments>http://www.sambirk.com/offline-first/#comments</comments>
		<pubDate>Tue, 06 Jan 2015 19:27:14 +0000</pubDate>
		<dc:creator><![CDATA[samuel.birk]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.sambirk.com/?p=94</guid>
		<description><![CDATA[What is offline first and why does it matter? As more and more users access web applications via wifi and cellular networks permanent connectivity becomes less certain. As a result travel, bad connections, or time spent in rural areas can often cause intermittent or absent connectivity. Thus, although the web offers a unique platform for [&#8230;]]]></description>
				<content:encoded><![CDATA[<h2>What is offline first and why does it matter?</h2>
<p>As more and more users access web applications via wifi and cellular networks permanent connectivity becomes less certain. As a result travel, bad connections, or time spent in rural areas can often cause intermittent or absent connectivity. Thus, although the web offers a unique platform for collaboration and making data available to multiple devices, it also suffers from usability in some contexts.</p>
<p>Offline First represents a mentality toward building applications that continue to work seamlessly in an offline environment. In order to achieve this goal in modern browsers, offline first applications must consider: </p>
<ol>
<li>Caching Files in the Browser (e.g., css, js, and view files)</li>
<li>Browser Centric Data Storage and Retrieval (i.e., IndexedDB)</li>
<li>Browser Centric Languages (e.g., javascript instead of PHP)</li>
</ol>
<h3>Caching Files in the Browser</h3>
<p>In order for a web application to do anything offline the browser must have access to the relevant code for displaying views and interacting with the application. One option would be to create a downloadable application built in iOS, node.js, or android. But these languages are often not as familiar to web developers and in some cases are platform specific.</p>
<p>Alternatively, we could use the manifest appcache available in modern browsers. Although somewhat tedious, this method allows developers to build a native web application and inform the browser about what files should be cached for offline usage.</p>
<p><code>CACHE MANIFEST<br />
            # 2014-12-24:v6</p>
<p>            # Explicitly cached 'master entries'.<br />
            CACHE:<br />
            /index.php<br />
            /offline.js<br />
            /offline.css<br />
            # Resources that require the user to be online.<br />
            NETWORK:<br />
            *</p>
<p>            FALLBACK:<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sambirk.com/offline-first/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://www.sambirk.com/hello-world/</link>
		<comments>http://www.sambirk.com/hello-world/#comments</comments>
		<pubDate>Wed, 12 Feb 2014 16:28:20 +0000</pubDate>
		<dc:creator><![CDATA[samuel.birk]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.sambirk.com/?p=1</guid>
		<description><![CDATA[Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!]]></description>
				<content:encoded><![CDATA[<p>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sambirk.com/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
