TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

ForerunnerDB – Lightweight JavaScript Database with Persistence and Data-Binding

55 点作者 coolbloke1324大约 10 年前

14 条评论

dahjelle大约 10 年前
While I&#x27;ve not dug into ForerunnerDB, it sounds like it is playing in the same space as PouchDB[1]. PouchDB is a JS database that works in the browser or in Node with various back-ends for data storage, syncs with CouchDB (or compatible, such as PouchDB Server) on the back-end, and currently uses map-reduce queries, though there is work in-progress to implement a MongoDB-like query language[2]. (This will match the Mango query language soon to be seen in CouchDB [3].)<p>Plus I&#x27;ve been really impressed with the development team—responsive to issues, consistent releases, high code-quality. It&#x27;s a great project!<p>[1] <a href="http://pouchdb.com/" rel="nofollow">http:&#x2F;&#x2F;pouchdb.com&#x2F;</a> [2] <a href="https://github.com/nolanlawson/pouchdb-find" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;nolanlawson&#x2F;pouchdb-find</a> [3] <a href="https://github.com/cloudant/mango" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;cloudant&#x2F;mango</a>
评论 #9138250 未加载
评论 #9138144 未加载
caryfitz大约 10 年前
in one sense it&#x27;s cool. So congrats on that. I wonder though - if it&#x27;s not as good at updating the DOM as other libraries - what is it&#x27;s real &quot;place&quot; in the ecosystem?<p>Is it doing more than wrapping over IndexedDB &#x2F; LocalStorage?<p>I&#x27;d say, a nice wrapper for IndexedDB is a welcome thing (looks like minimongo already does that). And there&#x27;s a lot of space to grow in that (providing change events, etc).<p>Maybe I just don&#x27;t get the value prop?<p>Maybe the value prop only really shows up when you integrate the data binding? So it&#x27;s sort of like reactive programming but based on a structured data store, instead of raw JS objects?
评论 #9137530 未加载
phpnode大约 10 年前
&gt; LOVED BY 41169 DEVELOPERS<p>Where does this statistic come from? I only see 196 stars on github at <a href="https://github.com/Irrelon/ForerunnerDB" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Irrelon&#x2F;ForerunnerDB</a>
评论 #9137333 未加载
评论 #9137498 未加载
评论 #9137267 未加载
评论 #9137254 未加载
评论 #9137363 未加载
评论 #9137221 未加载
kenny_r大约 10 年前
Is this similar to Meteor.js&#x27; minimongo[1]?<p>[1] <a href="https://www.meteor.com/mini-databases" rel="nofollow">https:&#x2F;&#x2F;www.meteor.com&#x2F;mini-databases</a>
nolanl大约 10 年前
Under the hood, it seems [1] to be based on the excellent LocalForage project from Mozilla [2]. It would be nice to acknowledge that on the website somewhere.<p>[1]: <a href="https://github.com/Irrelon/ForerunnerDB/blob/master/package.json#L26" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Irrelon&#x2F;ForerunnerDB&#x2F;blob&#x2F;master&#x2F;package....</a><p>[2]: <a href="https://github.com/mozilla/localForage" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mozilla&#x2F;localForage</a>
评论 #9138128 未加载
tosh大约 10 年前
I&#x27;m always tripped up by &#x27;persistent&#x27;. Initially I&#x27;m super happy, then I realize it is yet another place-oriented thing :(
评论 #9137439 未加载
streptomycin大约 10 年前
Any transaction support? That&#x27;s one of the big features of IndexedDB, but I don&#x27;t see anything about it here. Are you doing each command in its own transaction? That&#x27;s going to be pretty slow for large amounts of data, and you lose the ability to group multiple queries into a single atomic operation.
davman大约 10 年前
View source on this page has some lovely commented out insights...<p>&quot;Plaid fingerstache craft beer&quot; is probably my favourite.
评论 #9137317 未加载
castell大约 10 年前
* WebSQL: <a href="http://en.wikipedia.org/wiki/WebSQL" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;WebSQL</a> (works almost everywhere)<p>* For NoSQL, ForerunnerDB sounds interesting. As IndexedDB has a flawed API and slow (using SQLite!) and buggy implementations - without a shim useless.
评论 #9139237 未加载
collyw大约 10 年前
So usually the point in a database is a central location to keep data, so you don&#x27;t pass various excels around. Or you might want the rich querying ability of SQL to produce detailed reports.<p>What is the point in a browser based NoSQL database? Browser persistence?
评论 #9138111 未加载
cwmma大约 10 年前
While it&#x27;s usable in node, the only persistence strategies seem to be based on local forage which doesn&#x27;t seem to support node. So can&#x27;t save data in node.
评论 #9137535 未加载
paulrd大约 10 年前
I think a lot of projects use sqlite for client side persistence. I know mega (<a href="https://mega.co.nz/" rel="nofollow">https:&#x2F;&#x2F;mega.co.nz&#x2F;</a>) did.
评论 #9138197 未加载
igvadaimon大约 10 年前
So it&#x27;s like PouchDB, but doesn&#x27;t sync?
评论 #9137523 未加载
评论 #9137563 未加载
bonn1大约 10 年前
What does is offer significantly more than the browser built-in IndexedDB?
评论 #9137551 未加载