Alfresco 仅作为存储库:如何组织数据?
我需要管理 Spring Web 应用程序上的附件,并且我想使用开源存储库。我的应用程序是一个使用 Java EE / SPRING 3 Framework 和 postgress DB 的工作审批系统,允许用户在审批过程的每一步中跟踪工作。它是一个完全托管的协作系统,通过中央服务器运行并通过标准互联网浏览器访问。
我在 Alfresco 方面有一点经验,我正在使用它将数据存储到存储库中,但我对存储库中的数据组织有疑问。我是否需要关心数据的组织或仅在需要时将文件上传到存储库?例如,我可以为每个请求在存储库上创建一个新文件夹,这是正确的还是错误的?
任何建议都会非常有帮助!
预先感谢,安德里亚
I need to manage attachments on my Spring web application and I thought to use an open source repository. My app it's a job approval system using Java EE / SPRING 3 Framework and postgress DB to allow user to tracks the job, right through every step of the approval process. It is a fully managed, collaborative system that operates from a central server and is accessed by a standard internet browser.
I've a little bit of experience in Alfresco and I'm using it to store data into the repository and I've a doubt about the data organization into the repository. Have I to take care about the organization the data or just upload files into the repository when needed? For instance, I could create a new folder on repository for every request, is it a correct or no?
any suggestion will be really helpful!
thanks in advance, Andrea
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
没有关于存储库结构的广泛指南。这实际上取决于您存储的内容及其生命周期。有无数的问题可能会影响您的设计,例如:
您需要配置规则仅处理某些内容项 ->需要更多文件夹
,
您需要配置行为以对某些内容项执行操作(例如,Web 中的
cmis:document
到ws:asset
快速入门)您存储了无数内容项 ->您必须使用平衡的文件夹树来保持性能
您需要配置内容项子集的权限 ->更容易配置文件夹并让文档继承
There's no extensive guideline on the repository structure. It really depends on the content you store and its lifecycle. There are countless concerns that might affect your design, for instance:
you need to configure rules to handle only some content items -> more folders needed
you need to configure a behavior to act on some of the content items (e.g.
cmis:document
tows:asset
in the Web QuickStart)you store a gazillion content items -> you must use a balanced tree of folders to keep performance
you need to configure permissions on subsets of the content items -> easier to configure a folder and let documents inherit