当前位置: 首页 > 工具软件 > eXo JCR > 使用案例 >

内容管理核心JCR (JSR-170) 学习笔记

丁俊爽
2023-12-01

看eXo JCR (JSR-170)  过程中认为比较重要的摘抄如下: 

  http://www.exoplatform.org/documents/exo-jcr.site/concepts.html

1. As the main purpose of content repository is to maintain the data - the heart of CR is data model.

2. The main data storage abstraction of JCR's data model is workspace. Each repository should have one or more workspaces. Content is stored in workspace as hierarchy of items. Each workspace has own hierarchy of items. There are 2 types of item: node and property. Each item (node and property) has one parent Node (except root node). Each node can have one or more child nodes and properties.

3. Node is intended to support data hierarchy. They are typed using namespaced names which allows content to be structured according to standardized constraints.

4. It is important to note that the data model for the interface (the repository model) is rarely the same as the data models used by the repository's underlying storage subsystems. The repository knows how to make the client's changes persistent because that is part of the repository configuration, rather than part of the application programming task.

http://www.exoplatform.org/documents/exo-jcr.site/level1.html

5. All content of repository is ultimately accessed through properties and stored in property values of predefined types (Boolean, Binary, Data, Double, Long, String) and special types Name, Reference, Path. It is possible to read property value without knowing its real name as primary item.

 类似资料: