<?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>Johan Mulder dot com &#187; Offline Storage</title>
	<atom:link href="https://johanmulder.com/?feed=rss2&#038;tag=offline-storage" rel="self" type="application/rss+xml" />
	<link>https://johanmulder.com</link>
	<description>Blogging about IT and stuff</description>
	<lastBuildDate>Mon, 19 Jan 2015 15:45:41 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.39</generator>
	<item>
		<title>Use an offline storage engine to store data in the browser</title>
		<link>https://johanmulder.com/?p=9</link>
		<comments>https://johanmulder.com/?p=9#comments</comments>
		<pubDate>Wed, 08 Jan 2014 19:44:35 +0000</pubDate>
		<dc:creator><![CDATA[johanmulder]]></dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Client-side database]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[IndexedDb]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Offline Storage]]></category>
		<category><![CDATA[W3C]]></category>
		<category><![CDATA[Web SQL]]></category>

		<guid isPermaLink="false">http://johanmulder.com/?p=9</guid>
		<description><![CDATA[Use an offline storage engine to store data in the browser At the moment of writing this article 2 off-line storage engines are available to the majority of the modern browsers. These database engines are also known as Web SQL Database and Indexed Database. While both serve more and less the same purpose they are &#8230; <a href="https://johanmulder.com/?p=9" class="more-link">Continue reading <span class="screen-reader-text">Use an offline storage engine to store data in the browser</span></a>]]></description>
				<content:encoded><![CDATA[<h3>Use an offline storage engine to store data in the browser</h3>
<p>At the moment of writing this article 2 off-line storage engines are available to the majority of the modern browsers. These database engines are also known as Web SQL Database and Indexed Database. While both serve more and less the same purpose they are totally different in use and in their capabilities.</p>
<p>Web SQL is basically a SQLite implementation and thus considered to be a relational database engine. In other words, you can use SQL to query data from tables and relations between tables exist to allow you to store and query data relationally. Indexed Database on the other hand stores records based on keys and indexes similar in having key-value lists. No query language is available so you have to write your own mechanism to get access to your data. Especially when it comes down to handle more complex data structures it can become a challenge.</p>
<p>Unfortunately, according to the <a title="W3C Web Database" href="http://www.w3.org/TR/webdatabase/" target="_blank">W3C specification </a>Web SQL is officially set to a standstill due to a lack of competition. The only  &#8216;future proof&#8217; alternative to store a considerate amount of off-line data is the Indexed Database which is <a title="W3C Indexed Db" href="http://www.w3.org/TR/IndexedDB/" target="_blank">specified here</a>. Also, according to the browser support table on <a title="HTML5Rocks - storage specification" href="http://www.html5rocks.com/en/features/storage" target="_blank">HTML5Rocks.com</a> both engines are not fully supported by all major browsers so that gives most of the web developers a big challenge: Do I need to write a Data Access Layer to support Web SQL, Indexed Database or both?</p>
<p>In the upcoming weeks I will write and post more articles to guide you through the wonder-world of both Web SQL and Indexed Database so you will have all the code and background information you need to build your own off-line storage engine. If you have any questions or remarks then please let me know.</p>
]]></content:encoded>
			<wfw:commentRss>https://johanmulder.com/?feed=rss2&#038;p=9</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
