<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Embedding a database in IE</title>
	<atom:link href="http://ajaxian.com/archives/embedding-a-database-in-ie/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/embedding-a-database-in-ie</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Thu, 09 Feb 2012 06:55:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>By: Francois Orsini</title>
		<link>http://ajaxian.com/archives/embedding-a-database-in-ie/comment-page-1#comment-245561</link>
		<dc:creator>Francois Orsini</dc:creator>
		<pubDate>Wed, 27 Dec 2006 02:58:18 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1957#comment-245561</guid>
		<description>Also, most current and specific client-side browser storage solutions have a name-value pair scheme which is alright for some applications but very limited by nature...If you need to store more than just a name-value pair and run some query, than having a transaction storage such as a database service (portable across mostly known browsers) is great - The browser client-store service w/ Java DB demo is portable across browsers and yet is easy to interface from a scripting interface such as Javascript - Do all internet applications need it? nope, but if you want to empower some rich internet application to run offline, then it&#039;s like (auto) installing an extra plug-in or module to enable you to run offline - It is a choice left to the end-user and it is easy enough to get it installed...</description>
		<content:encoded><![CDATA[<p>Also, most current and specific client-side browser storage solutions have a name-value pair scheme which is alright for some applications but very limited by nature&#8230;If you need to store more than just a name-value pair and run some query, than having a transaction storage such as a database service (portable across mostly known browsers) is great &#8211; The browser client-store service w/ Java DB demo is portable across browsers and yet is easy to interface from a scripting interface such as Javascript &#8211; Do all internet applications need it? nope, but if you want to empower some rich internet application to run offline, then it&#8217;s like (auto) installing an extra plug-in or module to enable you to run offline &#8211; It is a choice left to the end-user and it is easy enough to get it installed&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sartre</title>
		<link>http://ajaxian.com/archives/embedding-a-database-in-ie/comment-page-1#comment-245556</link>
		<dc:creator>Sartre</dc:creator>
		<pubDate>Tue, 26 Dec 2006 23:18:22 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1957#comment-245556</guid>
		<description>Maurits Dekkers,
1. Web clients may be able to run in disconnected mode in a very limited sense. Think about a webmail client. How about being able to finish all your emails on the train/plane in a disconnected mode and they get sent as soon as you are back online. This is just one real world use case. Another example: edit your google spreadsheets off line and synch them with the server when back online.
2. Yes the OS is very good for this kind of stuff, but how about being able to write an ajax enabled app in the browser which runs on all platforms, does not need per client installation for updates. True write once run anywhere...
3. I think once rich client apps move beyond the &quot;toy&quot; stage, a local database will be indispensible. Lets take a spread sheet application. Lets say you want to have 10,000 rows of data. Now any sensible app will bring back the first couple of hundred rows and fetch the remaining from the server as the user scrolls down. But what if I scroll down to row#5000 and then go back to top. Currently you have 2 options, 1.remove whatever is not in your viewpane and then go back to the server to fetch it, when it comes back into view (I think Yahoo mail beta version uses this technique). 
or..keep increasing you DOM size, until everything slows down to a crawl.
A local database gives you a 3rd very good option:
Show the first 200 rows, bring the remaining asynchronously. now display whatever you need by swapping from the local database rather than making a network hop every time a user scrolls. If you compare the performance for retrieving 200 rows of data from a database v/s remote network I think it would be several orders of magnitude.
regards</description>
		<content:encoded><![CDATA[<p>Maurits Dekkers,<br />
1. Web clients may be able to run in disconnected mode in a very limited sense. Think about a webmail client. How about being able to finish all your emails on the train/plane in a disconnected mode and they get sent as soon as you are back online. This is just one real world use case. Another example: edit your google spreadsheets off line and synch them with the server when back online.<br />
2. Yes the OS is very good for this kind of stuff, but how about being able to write an ajax enabled app in the browser which runs on all platforms, does not need per client installation for updates. True write once run anywhere&#8230;<br />
3. I think once rich client apps move beyond the &#8220;toy&#8221; stage, a local database will be indispensible. Lets take a spread sheet application. Lets say you want to have 10,000 rows of data. Now any sensible app will bring back the first couple of hundred rows and fetch the remaining from the server as the user scrolls down. But what if I scroll down to row#5000 and then go back to top. Currently you have 2 options, 1.remove whatever is not in your viewpane and then go back to the server to fetch it, when it comes back into view (I think Yahoo mail beta version uses this technique).<br />
or..keep increasing you DOM size, until everything slows down to a crawl.<br />
A local database gives you a 3rd very good option:<br />
Show the first 200 rows, bring the remaining asynchronously. now display whatever you need by swapping from the local database rather than making a network hop every time a user scrolls. If you compare the performance for retrieving 200 rows of data from a database v/s remote network I think it would be several orders of magnitude.<br />
regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francois Orsini</title>
		<link>http://ajaxian.com/archives/embedding-a-database-in-ie/comment-page-1#comment-245547</link>
		<dc:creator>Francois Orsini</dc:creator>
		<pubDate>Tue, 26 Dec 2006 07:43:28 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1957#comment-245547</guid>
		<description>Re: Embed

1) SQLite within Firefox has a lot of restrictions today - Can you save application data locally via a simple Javascript call? No. Not saying it won&#039;t happen but today you can&#039;t. 2) SQLite/Firefox is well, Mozilla Firefox only, you can&#039;t really discount IE, can you? I don&#039;t think so.

Re: Jason Kolb

Sarte&#039;s comments described it all - Being able to empower today&#039;s and tomorrow&#039;s Rich Internet Applications with offline capability is not fiction, but a reality which can be damn useful and convenient when one does not have internet connectivity - This happens all the time and for a lot of users - we&#039;re are not living in an always connected world; even in places where internet access should be a given.

Re: Stephen

This does not serve the same purposes as WhatWG - Here we&#039;re talking about enabling web developers to access a local client store via a scripting interface (i.e. Javascript) to store application data and in a simple manner (no extra syntax) as they&#039;re used to. Installing a Java Plug-in Web ClientStore service extension that works across browsers and that is accessible via Javascript is a few clicks aways (basically)...

Re: Maurits

1) Maybe, but it depends on the application (RIA) requirements (i.e. what needs to be stored or searched, etc)

2) Portability and enabling RIA to run offline

3) If the browser does not have it, well it&#039;s a few clicks away or the user does not get the application to be able to run offline...

It is not just about being able to run internet applications offline - there can also be a need to store user sensitive data on the client side (due to privacy issues) - just another use case...besides caching, offline mode, etc...

Zimbra has enabled their web application to run offline using such technic:
http://www.zimbra.com/blog/archives/2006/11/taking_zimbra_offline.html
http://www.annezelenka.com/2006/11/zimbra-introduces-offline-version</description>
		<content:encoded><![CDATA[<p>Re: Embed</p>
<p>1) SQLite within Firefox has a lot of restrictions today &#8211; Can you save application data locally via a simple Javascript call? No. Not saying it won&#8217;t happen but today you can&#8217;t. 2) SQLite/Firefox is well, Mozilla Firefox only, you can&#8217;t really discount IE, can you? I don&#8217;t think so.</p>
<p>Re: Jason Kolb</p>
<p>Sarte&#8217;s comments described it all &#8211; Being able to empower today&#8217;s and tomorrow&#8217;s Rich Internet Applications with offline capability is not fiction, but a reality which can be damn useful and convenient when one does not have internet connectivity &#8211; This happens all the time and for a lot of users &#8211; we&#8217;re are not living in an always connected world; even in places where internet access should be a given.</p>
<p>Re: Stephen</p>
<p>This does not serve the same purposes as WhatWG &#8211; Here we&#8217;re talking about enabling web developers to access a local client store via a scripting interface (i.e. Javascript) to store application data and in a simple manner (no extra syntax) as they&#8217;re used to. Installing a Java Plug-in Web ClientStore service extension that works across browsers and that is accessible via Javascript is a few clicks aways (basically)&#8230;</p>
<p>Re: Maurits</p>
<p>1) Maybe, but it depends on the application (RIA) requirements (i.e. what needs to be stored or searched, etc)</p>
<p>2) Portability and enabling RIA to run offline</p>
<p>3) If the browser does not have it, well it&#8217;s a few clicks away or the user does not get the application to be able to run offline&#8230;</p>
<p>It is not just about being able to run internet applications offline &#8211; there can also be a need to store user sensitive data on the client side (due to privacy issues) &#8211; just another use case&#8230;besides caching, offline mode, etc&#8230;</p>
<p>Zimbra has enabled their web application to run offline using such technic:<br />
<a href="http://www.zimbra.com/blog/archives/2006/11/taking_zimbra_offline.html" rel="nofollow">http://www.zimbra.com/blog/archives/2006/11/taking_zimbra_offline.html</a><br />
<a href="http://www.annezelenka.com/2006/11/zimbra-introduces-offline-version" rel="nofollow">http://www.annezelenka.com/2006/11/zimbra-introduces-offline-version</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Roussey</title>
		<link>http://ajaxian.com/archives/embedding-a-database-in-ie/comment-page-1#comment-245527</link>
		<dc:creator>Steven Roussey</dc:creator>
		<pubDate>Fri, 22 Dec 2006 23:59:13 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1957#comment-245527</guid>
		<description>Maybe Mozilla will use sqlite to store cookies, and finally support httpOnly. One can always hope!</description>
		<content:encoded><![CDATA[<p>Maybe Mozilla will use sqlite to store cookies, and finally support httpOnly. One can always hope!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maurits Dekkers</title>
		<link>http://ajaxian.com/archives/embedding-a-database-in-ie/comment-page-1#comment-245526</link>
		<dc:creator>Maurits Dekkers</dc:creator>
		<pubDate>Fri, 22 Dec 2006 23:24:49 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1957#comment-245526</guid>
		<description>Re: sartre

Just to heat up the discussion a little bit ;-)

1) It seems that is already possible without using databases
2) Why would this be necessary? Do we not have an OS that is delivering us a framework to build &lt;b&gt;regular&lt;/b&gt; applications instead?
3) You have a point. I don&#039;t know what the performance benefits would be over traditional caching, but I&#039;m not sure they&#039;ll be that much better.

In my opinion something like an embedded database will only add to the immense variety in browser functionality. Imagine going through the hell of developing an application built on several completely different data storage methods... (and what if your user doesn&#039;t have the embedded db functionality at all?)</description>
		<content:encoded><![CDATA[<p>Re: sartre</p>
<p>Just to heat up the discussion a little bit ;-)</p>
<p>1) It seems that is already possible without using databases<br />
2) Why would this be necessary? Do we not have an OS that is delivering us a framework to build <b>regular</b> applications instead?<br />
3) You have a point. I don&#8217;t know what the performance benefits would be over traditional caching, but I&#8217;m not sure they&#8217;ll be that much better.</p>
<p>In my opinion something like an embedded database will only add to the immense variety in browser functionality. Imagine going through the hell of developing an application built on several completely different data storage methods&#8230; (and what if your user doesn&#8217;t have the embedded db functionality at all?)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sartre</title>
		<link>http://ajaxian.com/archives/embedding-a-database-in-ie/comment-page-1#comment-245523</link>
		<dc:creator>sartre</dc:creator>
		<pubDate>Fri, 22 Dec 2006 21:09:20 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1957#comment-245523</guid>
		<description>I see a lot of applications:
1. Clients can run in disconnected mode
2. Full blown apps with no internet dependencies (except occasional updates) can be created within the browser
3. Reduce load time for ajax heavy pages (store the scripts in database and load dynamically with occasional refresh for updates). 
As ajax heavy applications become the norm, from a performance perspective, we are going to reach the limits of DOM size. It may be a good idea to near store certain dom section in the database and swap them with others when needed.</description>
		<content:encoded><![CDATA[<p>I see a lot of applications:<br />
1. Clients can run in disconnected mode<br />
2. Full blown apps with no internet dependencies (except occasional updates) can be created within the browser<br />
3. Reduce load time for ajax heavy pages (store the scripts in database and load dynamically with occasional refresh for updates).<br />
As ajax heavy applications become the norm, from a performance perspective, we are going to reach the limits of DOM size. It may be a good idea to near store certain dom section in the database and swap them with others when needed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Kolb</title>
		<link>http://ajaxian.com/archives/embedding-a-database-in-ie/comment-page-1#comment-245521</link>
		<dc:creator>Jason Kolb</dc:creator>
		<pubDate>Fri, 22 Dec 2006 20:09:27 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1957#comment-245521</guid>
		<description>I don&#039;t see how this is useful technology.  The only reason I can think of to keep data on the client is if it is needed by the UI in some way, maybe for a comet-type message queue or something.  But this doesn&#039;t particularly excite me.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t see how this is useful technology.  The only reason I can think of to keep data on the client is if it is needed by the UI in some way, maybe for a comet-type message queue or something.  But this doesn&#8217;t particularly excite me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Embed</title>
		<link>http://ajaxian.com/archives/embedding-a-database-in-ie/comment-page-1#comment-245520</link>
		<dc:creator>Embed</dc:creator>
		<pubDate>Fri, 22 Dec 2006 20:04:29 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1957#comment-245520</guid>
		<description>The Mozilla/Derby link is from 2005. SQLite is going to be the official database embedded into Mozilla.</description>
		<content:encoded><![CDATA[<p>The Mozilla/Derby link is from 2005. SQLite is going to be the official database embedded into Mozilla.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

