最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

mongodb - flat file database system especially for javascript - Stack Overflow

programmeradmin1浏览0评论

Is there any flat file database system that works well with javascript such as one in JSON format or similar. I have heard about mongodb, couchdb and others but it seems whole setup of it must be installed on the puter.

Of course, I can't use sqlite beause I think I won't be able manipulate it via javascript and I don't want to use any server-side language for my small apps.

I searched on google as well. Basically I am just looking for flat file database system that I can put in javascript app's folder (meaning portable database and app) and be able to use it anywhere, for example on some other puter without having to install any dependencies ? Does such portable flat file database exist out there ?

Is there any flat file database system that works well with javascript such as one in JSON format or similar. I have heard about mongodb, couchdb and others but it seems whole setup of it must be installed on the puter.

Of course, I can't use sqlite beause I think I won't be able manipulate it via javascript and I don't want to use any server-side language for my small apps.

I searched on google as well. Basically I am just looking for flat file database system that I can put in javascript app's folder (meaning portable database and app) and be able to use it anywhere, for example on some other puter without having to install any dependencies ? Does such portable flat file database exist out there ?

Share Improve this question edited Sep 22, 2017 at 17:57 CommunityBot 11 silver badge asked Feb 1, 2014 at 8:30 Dev01Dev01 4,2225 gold badges32 silver badges46 bronze badges 2
  • Since JS has a hard time using the local file system, perhaps localstorage suits your needs, assuming you are talking client side JS – mplungjan Commented Feb 1, 2014 at 8:32
  • @mplungjan: True but LocalStorage is way small in size that's why looking if there is some other portable solution. – Dev01 Commented Feb 1, 2014 at 8:34
Add a ment  | 

1 Answer 1

Reset to default 4

How about PouchDB? It's intended for web apps that cache data offline.

发布评论

评论列表(0)

  1. 暂无评论