<?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: Towards Better Browser Storage</title>
	<atom:link href="http://mozillalabs.com/blog/2009/04/towards-better-browser-storage/feed/" rel="self" type="application/rss+xml" />
	<link>http://mozillalabs.com/blog/2009/04/towards-better-browser-storage/</link>
	<description>Just another mozillalabs.com weblog</description>
	<lastBuildDate>Tue, 25 Jan 2011 12:12:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Ashok</title>
		<link>http://mozillalabs.com/blog/2009/04/towards-better-browser-storage/comment-page-1/#comment-5017</link>
		<dc:creator>Ashok</dc:creator>
		<pubDate>Fri, 08 May 2009 15:58:23 +0000</pubDate>
		<guid isPermaLink="false">http://mozillalabs.com/?p=1621#comment-5017</guid>
		<description>I&#039;m curious to understand whether anyone has explored using Berkeley DB for this purpose. If you&#039;re looking for a simple, get/put API for data management, I think Berkeley DB is ideal.

If Berkeley DB was not adequate, I would love to understand what the limitations are.</description>
		<content:encoded><![CDATA[<p>I&#8217;m curious to understand whether anyone has explored using Berkeley DB for this purpose. If you&#8217;re looking for a simple, get/put API for data management, I think Berkeley DB is ideal.</p>
<p>If Berkeley DB was not adequate, I would love to understand what the limitations are.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew</title>
		<link>http://mozillalabs.com/blog/2009/04/towards-better-browser-storage/comment-page-1/#comment-5016</link>
		<dc:creator>Matthew</dc:creator>
		<pubDate>Fri, 08 May 2009 13:57:22 +0000</pubDate>
		<guid isPermaLink="false">http://mozillalabs.com/?p=1621#comment-5016</guid>
		<description>With all due respect, I think you&#039;re missing the point here.

A relational database is most definitely higher-level (and more useful!) than a key-value store!

To say that &quot;SQL, is actually quite low-level&quot; compared with something like CouchDB is just plain wrong.

Now SQL may not be the ideal language, or the best-standardized, but that is a separate issue.

Just giving up and resorting to a lower-level non-relational document-oriented database is not the answer to my mind, especially not on the client, where many of the perceived scalability downsides of using a relational database server-side do not apply.</description>
		<content:encoded><![CDATA[<p>With all due respect, I think you&#8217;re missing the point here.</p>
<p>A relational database is most definitely higher-level (and more useful!) than a key-value store!</p>
<p>To say that &#8220;SQL, is actually quite low-level&#8221; compared with something like CouchDB is just plain wrong.</p>
<p>Now SQL may not be the ideal language, or the best-standardized, but that is a separate issue.</p>
<p>Just giving up and resorting to a lower-level non-relational document-oriented database is not the answer to my mind, especially not on the client, where many of the perceived scalability downsides of using a relational database server-side do not apply.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kas Thomas</title>
		<link>http://mozillalabs.com/blog/2009/04/towards-better-browser-storage/comment-page-1/#comment-5008</link>
		<dc:creator>Kas Thomas</dc:creator>
		<pubDate>Wed, 06 May 2009 11:27:41 +0000</pubDate>
		<guid isPermaLink="false">http://mozillalabs.com/?p=1621#comment-5008</guid>
		<description>Not being a database professional, I hate SQL, but in this case I think the right thing to do is to use a well-accepted standard (SQL) for the use-case it was designed to handle. In other words, this is exactly the sort of thing SQL was designed to be used for. So use it. Then, if anybody wants to add some kind of JavaScript shim-layer over the top of it, so much the better. I, for one, would use the JS API if one were available.</description>
		<content:encoded><![CDATA[<p>Not being a database professional, I hate SQL, but in this case I think the right thing to do is to use a well-accepted standard (SQL) for the use-case it was designed to handle. In other words, this is exactly the sort of thing SQL was designed to be used for. So use it. Then, if anybody wants to add some kind of JavaScript shim-layer over the top of it, so much the better. I, for one, would use the JS API if one were available.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: redapple</title>
		<link>http://mozillalabs.com/blog/2009/04/towards-better-browser-storage/comment-page-1/#comment-5015</link>
		<dc:creator>redapple</dc:creator>
		<pubDate>Sat, 02 May 2009 18:56:54 +0000</pubDate>
		<guid isPermaLink="false">http://mozillalabs.com/?p=1621#comment-5015</guid>
		<description>guys, rss refreshing still s*ks - +35 livemarks hangs browser at regular intervals, please do something with that.</description>
		<content:encoded><![CDATA[<p>guys, rss refreshing still s*ks &#8211; +35 livemarks hangs browser at regular intervals, please do something with that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Bonner</title>
		<link>http://mozillalabs.com/blog/2009/04/towards-better-browser-storage/comment-page-1/#comment-5014</link>
		<dc:creator>Tom Bonner</dc:creator>
		<pubDate>Fri, 01 May 2009 14:35:44 +0000</pubDate>
		<guid isPermaLink="false">http://mozillalabs.com/?p=1621#comment-5014</guid>
		<description>I agree totally with legoxx. Why muddy the waters with another flavor of storage? You suggest that SQL is &quot;actually quite low-level and not very easy to use.&quot;

That may be true, but the fact remains that MySql is one of the most widely used DB applications for web use. Try to install Wordpress without it. You will also find it used in dozens of other web applications. If you are going to manage online data structures, sooner or later you are going to have to work with SQL.

Since knowledge of SQL will be extremely useful in any event, why not encourage users to learn it, rather than a much less widely-used solution? Not saying there isn’t room for CouchDB, as competition is always good for encouraging forward progress. In the end, however, the many flavors of SQL are too entrenched to be ignored.</description>
		<content:encoded><![CDATA[<p>I agree totally with legoxx. Why muddy the waters with another flavor of storage? You suggest that SQL is &#8220;actually quite low-level and not very easy to use.&#8221;</p>
<p>That may be true, but the fact remains that MySql is one of the most widely used DB applications for web use. Try to install WordPress without it. You will also find it used in dozens of other web applications. If you are going to manage online data structures, sooner or later you are going to have to work with SQL.</p>
<p>Since knowledge of SQL will be extremely useful in any event, why not encourage users to learn it, rather than a much less widely-used solution? Not saying there isn’t room for CouchDB, as competition is always good for encouraging forward progress. In the end, however, the many flavors of SQL are too entrenched to be ignored.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: legoxx</title>
		<link>http://mozillalabs.com/blog/2009/04/towards-better-browser-storage/comment-page-1/#comment-5013</link>
		<dc:creator>legoxx</dc:creator>
		<pubDate>Tue, 28 Apr 2009 09:01:07 +0000</pubDate>
		<guid isPermaLink="false">http://mozillalabs.com/?p=1621#comment-5013</guid>
		<description>tbh i belive that SQL is pretty wide used language for data manipulation. CouchDB with a javascript flawor seems much like reinventing a wheel to me. In my opinion we should stick with version of SQL. SQLight seems like a good choice for me, good for simple queries.. complex queries should run on the server anyway.</description>
		<content:encoded><![CDATA[<p>tbh i belive that SQL is pretty wide used language for data manipulation. CouchDB with a javascript flawor seems much like reinventing a wheel to me. In my opinion we should stick with version of SQL. SQLight seems like a good choice for me, good for simple queries.. complex queries should run on the server anyway.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Finkle</title>
		<link>http://mozillalabs.com/blog/2009/04/towards-better-browser-storage/comment-page-1/#comment-5012</link>
		<dc:creator>Mark Finkle</dc:creator>
		<pubDate>Wed, 22 Apr 2009 01:56:05 +0000</pubDate>
		<guid isPermaLink="false">http://mozillalabs.com/?p=1621#comment-5012</guid>
		<description>I really like the way you are using localStorage/globalStorage as the persistence mechanism for the blob/document style data. The JSON access is pretty sweet too.

I&#039;m curious though, why a BrowserCouch-like API would need to be a standard? Shouldn&#039;t we be able to use other JS wrappers, like Persevere&#039;s JavaScriptDB, without needing one to be the standard?

I guess I like localStorage/globalStorage being the standard and other wrappers being built on top of that. Since we have a blob/document type of storage standard, why wouldn&#039;t we want a relation style storage standard too? Who knows what kind of cool JS wrappers will be built on that style of storage.

I&#039;d rather keep the standards at a lower level - more of a foundation - and allow JS libraries to blossom. Kind of like we see with Canvas.</description>
		<content:encoded><![CDATA[<p>I really like the way you are using localStorage/globalStorage as the persistence mechanism for the blob/document style data. The JSON access is pretty sweet too.</p>
<p>I&#8217;m curious though, why a BrowserCouch-like API would need to be a standard? Shouldn&#8217;t we be able to use other JS wrappers, like Persevere&#8217;s JavaScriptDB, without needing one to be the standard?</p>
<p>I guess I like localStorage/globalStorage being the standard and other wrappers being built on top of that. Since we have a blob/document type of storage standard, why wouldn&#8217;t we want a relation style storage standard too? Who knows what kind of cool JS wrappers will be built on that style of storage.</p>
<p>I&#8217;d rather keep the standards at a lower level &#8211; more of a foundation &#8211; and allow JS libraries to blossom. Kind of like we see with Canvas.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://mozillalabs.com/blog/2009/04/towards-better-browser-storage/comment-page-1/#comment-5011</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Tue, 21 Apr 2009 23:37:42 +0000</pubDate>
		<guid isPermaLink="false">http://mozillalabs.com/?p=1621#comment-5011</guid>
		<description>Looks pretty cool... the query syntax is a bit more complicated than SQL for simple examples, but looks like it&#039;d be much better for doing anything complicated. And honestly, SQL is good for querying, but often poor for insert/update - a more OO syntax of &quot;persist(object)&quot; is usually much more convenient...</description>
		<content:encoded><![CDATA[<p>Looks pretty cool&#8230; the query syntax is a bit more complicated than SQL for simple examples, but looks like it&#8217;d be much better for doing anything complicated. And honestly, SQL is good for querying, but often poor for insert/update &#8211; a more OO syntax of &#8220;persist(object)&#8221; is usually much more convenient&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gil</title>
		<link>http://mozillalabs.com/blog/2009/04/towards-better-browser-storage/comment-page-1/#comment-5010</link>
		<dc:creator>Gil</dc:creator>
		<pubDate>Tue, 21 Apr 2009 22:19:46 +0000</pubDate>
		<guid isPermaLink="false">http://mozillalabs.com/?p=1621#comment-5010</guid>
		<description>You know, I like it, but I think it could become tedious having to retype the &quot;columns&quot;.  I&#039;d like the option to also do something like...

blogDb.put(
  [author,title,content]
  [{&#039;Myk&#039;, &#039;Burritos&#039;,&#039;Burritos are yum.&#039;},
   {&#039;Thunder&#039;, &#039;Bacon&#039;,&#039;I like bacon.&#039;},
   {&#039;Thunder&#039;, &#039;Beer&#039;,&#039;Beer is good too.&#039;}],
  function onDone() { /* Do stuff... */ }
);

Poor syntax, but you see what I mean.</description>
		<content:encoded><![CDATA[<p>You know, I like it, but I think it could become tedious having to retype the &#8220;columns&#8221;.  I&#8217;d like the option to also do something like&#8230;</p>
<p>blogDb.put(<br />
  [author,title,content]<br />
  [{'Myk', 'Burritos','Burritos are yum.'},<br />
   {'Thunder', 'Bacon','I like bacon.'},<br />
   {'Thunder', 'Beer','Beer is good too.'}],<br />
  function onDone() { /* Do stuff&#8230; */ }<br />
);</p>
<p>Poor syntax, but you see what I mean.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Huggins</title>
		<link>http://mozillalabs.com/blog/2009/04/towards-better-browser-storage/comment-page-1/#comment-5009</link>
		<dc:creator>Jason Huggins</dc:creator>
		<pubDate>Tue, 21 Apr 2009 21:19:40 +0000</pubDate>
		<guid isPermaLink="false">http://mozillalabs.com/?p=1621#comment-5009</guid>
		<description>You rock, Atul. Great stuff!</description>
		<content:encoded><![CDATA[<p>You rock, Atul. Great stuff!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

