实施简单文档管理系统的最佳方法是什么?
我计划建立一个简单的文档管理系统。最好是围绕java平台构建的。是否有这方面的最佳实践?要求是:
- 能够上传文档
- 能够标记文档
- 版本化文档
- 对文档发表评论
我目前正在考虑几个选项。第一个选项是 SVN 或 CVS 之上的简单 API,并使用数据库后端来跟踪标签、上传者、评论等。
另一个选项是使用文件系统。将文档版本化为版本文件夹中的副本并使用文件名。
或者,如果有一个开放的非 GPL 文档管理系统,我们可以根据我们的需求对其进行定制并将其打包到我们的应用程序中。有人有构建这样的东西的经验吗?
I am planning to build a simple document management system. Preferably built around the java platform. Are there are best practices around this? The requirements are :
- Ability to upload documents
- Ability to Tag documents
- Version the documents
- Comment on documents
There are a couple of options that I am currently considering. The first option would be a simple API on top of SVN or CVS and use a DB backend to track tags, uploader, comments etc
Another option is to use the filesystem. Version the documents as copies in a versions folder and work with filenames.
Or, if there is an Open non GPL'ed doc management system, we could customize it to our needs and package it in our application. Does anybody have any experience building something like this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可能想看看 Java 内容存储库 API 和几个实现(其中一些自由的)。
You may want to take a look at Content repository API for Java and the several implementations (some of them free).
看一下现有的许多面向文档的数据库系统。我不能谈论 MongoDB 或任何其他产品,但我使用 Couchdb 的体验非常棒。
http://couchdb.apache.org/
最好的部分是您可以通过 REST 协议与其进行通信。
Take a look at the many Document Oriented Database systems out there. I can't speak about MongoDB or any of the others, but my experience with Couchdb has been fantastic.
http://couchdb.apache.org/
best part of it is that you communicate with it via a REST protocol.
最好的办法就是重用别人的努力。这种特殊的轮子已经被发明了很多次了。
谁将使用它以及用于什么目的?
The best way is to reuse the efforts of others. This particular wheel has been invented quite a bit of times.
Who will use this and for what purpose?