<?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>Just Browsing &#187; sqlite</title>
	<atom:link href="http://browsing.justdiscourse.com/tag/sqlite/feed/" rel="self" type="application/rss+xml" />
	<link>http://browsing.justdiscourse.com</link>
	<description>A narrative on the future of web browsers and web browsing</description>
	<lastBuildDate>Mon, 24 May 2010 17:09:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Browser Trends: Site-Specific Browsers</title>
		<link>http://browsing.justdiscourse.com/2008/01/14/browser-trends-site-specific-browsers/</link>
		<comments>http://browsing.justdiscourse.com/2008/01/14/browser-trends-site-specific-browsers/#comments</comments>
		<pubDate>Mon, 14 Jan 2008 19:51:44 +0000</pubDate>
		<dc:creator>Matthew Gertner</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[air]]></category>
		<category><![CDATA[fluid]]></category>
		<category><![CDATA[gears]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[prism]]></category>
		<category><![CDATA[sqlite]]></category>
		<category><![CDATA[ssb]]></category>
		<category><![CDATA[trends]]></category>

		<guid isPermaLink="false">http://browsing.justdiscourse.com/2008/01/14/browser-trends-site-specific-browsers/</guid>
		<description><![CDATA[One thing that clearly differentiates web apps from their desktop counterparts is that the former run inside a tab or page in the web browser rather than in their own process. This has a number of drawbacks, several of which are elegantly set forth in the blog post announcing the launch of Mozilla Prism:
Personal computing [...]]]></description>
			<content:encoded><![CDATA[<p>One thing that clearly differentiates web apps from their desktop counterparts is that the former run inside a tab or page in the web browser rather than in their own process. This has a number of drawbacks, several of which are elegantly set forth in the blog post announcing the <a href="http://labs.mozilla.com/2007/10/prism/">launch of Mozilla Prism</a>:</p>
<blockquote><p>Personal computing is currently in a state of transition. While traditionally users have interacted mostly with desktop applications, more and more of them are using web applications. But the latter often fit awkwardly into the document-centric interface of web browsers. And they are surrounded with controls–like back and forward buttons and a location bar–that have nothing to do with interacting with the application itself.</p></blockquote>
<p>[<em>Author's note</em>: I am a contributor to Prism.]</p>
<p>The reality is that the current generation of web apps are trying to shove a square peg into a round hole. The fact that they&#8217;ve managed to jam it in there as far as they have is a testament to the ingenuity of the software developers involved, but it&#8217;s not a particularly satisfying solution. One possibility would be to address this by adding more and more application-oriented features to the web browser. But why bother when many years and countless investment in R&amp;D have led to modern operating systems like Windows and OS X that already give us everything we need?</p>
<p>There are a number of other reasons to prefer running a web app on the desktop rather than in the browser. By giving it its own operating system process, you isolate it from other applications. If it locks up or crashes, it doesn&#8217;t bring down the whole browser. You can use all the fancy docks and taskbars that the operating system provides to gain easy access to your applications. You can use tools like the Windows Task Manager to see how much memory and CPU power it is consuming. Once again, we could theoretically add these capabilities to existing web browsers, but the effort would be massive. Clearly the idea of fusing web apps with the desktop is a promising one.</p>
<p>The other main contender (besides Prism) in what have come to be known as <em>site-specific browsers</em> is Adobe AIR. Both products integrate a standalone browser engine (Gecko in the case of Mozilla and WebKit in the case of AIR). Both support SQLite so you can store application data locally. In other respects, however, the products are quite different.</p>
<p>The aim of Prism is to provide the aforementioned benefits to web developers with minimal effort on their part. In fact, you can run existing applications in Prism without any modification at all. In the future, developers will be able to write special configuration files that adapt the application to make it fit more comfortably into the desktop paradigm, adding things like a menu bar, drag-and-drop capabilities and popup notifications.</p>
<p>AIR is more about getting Flex, which lets developers write Flash applications using markup similar to HTML (and even more similar to Mozilla&#8217;s XUL), to run on the desktop. The product does support HTML as well, but the clear focus is on all-singing, all-dancing Flex-based user interfaces.</p>
<p>This distinction has already led to a minor skirmish between the principal actors. Mozilla&#8217;s Prism blog post claims that &#8220;unlike Adobe AIR and Microsoft Silverlight, we’re not building a proprietary platform to replace the web.&#8221; In the comments, Adobe&#8217;s Mike Chambers takes offense:</p>
<blockquote><p>Adobe AIR is built on top of web standards and can run existing web applications and content. It runs on Windows and Mac (and soon Linux), and it also provides additional desktop functionality.</p></blockquote>
<p>This is correct but somewhat disingenuous. It&#8217;s no coincidence that Adobe is <a href="http://labs.adobe.com/showcase/air/">showcasing</a> an array of slick-looking Flex-based applications while Mozilla is <a href="http://wiki.mozilla.org/WebRunner#Bundles">touting its support</a> for web stalwarts like Gmail, Facebook and Meebo. This doesn&#8217;t mean that one is bad and the other is good. Blind adherence to standards is not always the best way to drive innovation, and it&#8217;s hard to deny the visual appeal of Flash when compared with plain-jane HTML. Some canny moves on Adobe&#8217;s part might even lead to Flex becoming a standard in its own right.</p>
<p>There are other players entering this space, notably <a href="http://fluidapp.com/">Fluid</a>, which currently runs only on Mac OS 10.5 (Leopard). It&#8217;s also worth keeping an eye on Google Gears. Originally announced as a way to let web apps <a href="http://browsing.justdiscourse.com/2008/01/06/browser-trends-offline-storage/">function without a live internet connection</a>, it is being extended to support features like <a href="http://almaer.com/blog/gears-future-apis-desktop-shortcut-api">placing a shortcut to the application</a> on the desktop. The implication is that Gears will evolve into a direct competitor to Prism, AIR and Fluid.</p>
<p>It&#8217;s extremely early days for all of these products. I wouldn&#8217;t recommend any of them for use by mainstream users, but if you&#8217;re technically minded enough to be reading this you&#8217;re definitely a good candidate to take a look at them in their current form. By the end of the year, I expect them to have matured considerably. Soon enough we won&#8217;t know how we got along without them.</p>
]]></content:encoded>
			<wfw:commentRss>http://browsing.justdiscourse.com/2008/01/14/browser-trends-site-specific-browsers/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Browser Trends: Offline Storage</title>
		<link>http://browsing.justdiscourse.com/2008/01/06/browser-trends-offline-storage/</link>
		<comments>http://browsing.justdiscourse.com/2008/01/06/browser-trends-offline-storage/#comments</comments>
		<pubDate>Sun, 06 Jan 2008 16:32:36 +0000</pubDate>
		<dc:creator>Matthew Gertner</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[air]]></category>
		<category><![CDATA[gears]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[offline]]></category>
		<category><![CDATA[sqlite]]></category>
		<category><![CDATA[trends]]></category>
		<category><![CDATA[webkit]]></category>

		<guid isPermaLink="false">http://browsing.justdiscourse.com/2008/01/06/browser-trends-offline-storage/</guid>
		<description><![CDATA[I&#8217;ll start my exploration of the future of web browser technology by discussing some key trends that will come to the fore in 2008. The first is the addition of local storage capabilities to web browsers. This is an area that kicked into high gear last year with Mozilla&#8217;s work on offline apps, Google Gears [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll start my exploration of the future of web browser technology by discussing some key trends that will come to the fore in 2008. The first is the addition of local storage capabilities to web browsers. This is an area that kicked into high gear last year with <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=398161">Mozilla&#8217;s work on offline apps</a>, <a href="http://gears.google.com/">Google Gears</a> and <a href="http://www.whatwg.org/specs/web-apps/current-work/#storage">DOM Storage</a>, the <a href="http://developer.mozilla.org/en/docs/DOM:Storage">Mozilla term</a> for what the WHAT WG standards group has pithily dubbed &#8220;client-side session and persistent storage of name/value pairs&#8221;.</p>
<p>As web apps have continued to encroach on what was previously the sole realm of the desktop, the &#8220;airplane problem&#8221; has become increasingly evident. Although Ajax applications actually download their code onto the client before running it, they are still impossible to use if you&#8217;re not connected to the internet. In part this is because browsers don&#8217;t yet have the smarts to hold on to code that might be needed later. Leave your Gmail inbox and you won&#8217;t to be able to get it back without a live net connection. Moreover, you wouldn&#8217;t be able to do anything interesting anyway since all of your data is stored on some remote server and thus inaccessible when you&#8217;re offline.</p>
<p>The iPhone is a poignant illustration of this problem. When Apple announced that <a href="http://www.apple.com/pr/library/2007/06/11iphone.html">Safari would be the SDK</a> for its new phone, industry observers were skeptical. Although the central theme of this blog is that the distinction between web apps and their desktop-based counterparts is eroding, Safari is simply not yet up to the task. One of the main lacks is the need to be online to use third-party web apps. There are many instances when this is impossible or inconvenient: on airplanes, as mentioned, but also when roaming, when you don&#8217;t have an unlimited data plan (you dirty hacker you) or any time you&#8217;re away from a wifi connection and have to rely on the glacial EDGE network.</p>
<p>Mozilla began tackling the problem at the beginning of 2007. Browsers already store JavaScript downloaded from web sites in their cache to speed subsequent loading of these sites, but not in a way that makes it usable when offline. What is needed is a persistent cache specifically designed for this purpose. The new functionality, which is based on a <a href="http://www.whatwg.org/specs/web-apps/current-work/#offline">specification being fleshed out inside the WHATWG</a>, is slated to be included in Firefox 3. Complex applications like Zimbra have already <a href="http://www.bluishcoder.co.nz/2007/02/offline-zimbra-with-firefox.html">been adapted</a> to take advantage of it. According to Ars Technica, Apple is &#8220;<a href="http://arstechnica.com/journals/apple.ars/2007/10/03/source-iphone-sdk-will-remain-web-based-for-the-foreseeable-future">jamming on adding offline storage capabilities to Safari</a>&#8221; for use on the iPhone. Since Apple is an active participant in the WHATWG, it&#8217;s <a href="http://webkit.org/blog/126/webkit-does-html5-client-side-database-storage/">reasonable to expect</a> that their implementation will be compatible with Mozilla&#8217;s from the perspective of web developers.</p>
<p>The other contender is Google Gears, which also provides capabilities for storing code and data locally for use without internet access. Google has a couple of advantages over the WHATWG. For one thing, it controls some of the most popular Ajax applications on earth. Also, Gears is distributed as a browser plugin and supports Internet Explorer as well as Firefox (with Safari support on the way). This gives Google end-to-end control analogous to that enjoyed by Apple with iTunes (both the music store and the client) and the iPod. The WHATWG crowd has to convince web application developers to support its specification, and it has to deal with the fact that IE users are currently out in the cold.</p>
<p>So where is Microsoft in this story anyway? I couldn&#8217;t find any indication that they have offline capabilities at all, existing or planned. I suspect we may be in for a big surprise announcement when IE 8 is released this year. Perhaps they are even planning to support the WHATWG spec. That would be a real shocker but might make sense if they perceive their real rival in this game to be Google rather than Mozilla or Apple.</p>
<p>No discussion of offline capabilities for browsers would be complete without mentioning SQLite. Every solution in this space has one thing in common: they all use this small, fast, reliable embedded SQL database. Adobe has also adopted it for use in AIR, its platform for standalone web apps. It&#8217;s safe to say that SQLite has accelerated the rollout of offline-capable browsers by at least a year or two. It also has some of the most liberal licensing terms out there. D. Richard Hipp, its creator, is a genuine tech hero.</p>
<p>Next time in browser trends we&#8217;ll explore the rise of site-specific browsers and rich internet applications.</p>
]]></content:encoded>
			<wfw:commentRss>http://browsing.justdiscourse.com/2008/01/06/browser-trends-offline-storage/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
