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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Offline-First with CouchDB and PouchDB in 2025

68 点作者 felideon17 天前

6 条评论

matlin16 天前
PouchDB and CouchDB were what inspired me to build Triplit[1]. The idea of having an identical (or merely similar in the case of Pouch&#x2F;Couch) query engine accessible on client and server is insanely powerful.<p>The author links to a much longer post on handling conflicts which is worthy of its length because it&#x27;s not a pleasant experience with this setup.<p>I highly recommend trying a modern setup from one of the many new local first solutions [2]<p>1. <a href="https:&#x2F;&#x2F;triplit.dev">https:&#x2F;&#x2F;triplit.dev</a><p>2. <a href="https:&#x2F;&#x2F;www.localfirst.fm&#x2F;landscape" rel="nofollow">https:&#x2F;&#x2F;www.localfirst.fm&#x2F;landscape</a>
评论 #43867038 未加载
评论 #43865935 未加载
评论 #43870641 未加载
评论 #43866220 未加载
评论 #43865980 未加载
spiffytech16 天前
I would love to see a sync solution that didn&#x27;t want to replace my datastore, or mediate all access to it.<p>This approach means the tools have to be good at not just sync, but also querying, business logic, validation, authn, authz, trigger background jobs, etc. That&#x27;s a lot!<p>I&#x27;m not trying to eliminate my backend, nor an all-in-one frontend DB. I&#x27;ve tried tools that do that, and I&#x27;ve come to think the approach has severe limits.<p>I wonder if there&#x27;s not a way to offer a two-way stream of data change events, with conflict detection&#x2F;resolution, which I can process with my own code.
评论 #43875349 未加载
k__16 天前
I had quite the offline-firat déjà vu, when I saw local-first trending the last two years.
chrismorgan16 天前
&gt; <i>Vite, well, it’s in the name. Fast build tooling.</i><p>Can someone explain this to me? I’m clearly missing something about its name.
评论 #43866861 未加载
tty716 天前
I used PouchDB w&#x2F; CouchDB as the datastore for a digital wallet. Used to store ZKs for proof of age etc.<p>Worked a treat
jimbobthemighty16 天前
CouchDB - is JD Vance a power user?