Concepts & Terms (基本概念和用语)

To help quickly get started with myBase Javascript APIs, please read about the following concepts and terms at first.
要想快速了解myBase Javascript APIs,建议先阅读以下基本概念和用语。

  1. SSG: stands for the structured storage library on which myBase is built.
    指myBase基于的数据库引擎。
  2. Database: stands for myBase .nyf databases.
    指myBase的nyf数据库。
  3. SSG path: reference to file/folder entries in .nyf databases; it works like file system on hard disk.
    用来指向.nyf数据库里的文件夹或文件,和硬盘的文件系统相类似。
  4. SSG file: stands for a file-like entry (e.g. attachment) in .nyf databases, and is referred by SSG file path (e.g. /organizer/data/1/2/3/abc.txt).
    代表.nyf数据库里的每个条目,使用SSG file path作为指向(如:/organizer/data/1/2/3/abc.txt)。
  5. SSG folder: stands for a folder-like entry (e.g. info item) in .nyf databases, and is referred by SSG folder path (e.g. /organizer/data/1/2/3/).
    代表.nyf数据库中类似文件夹的条目(如:信息节点),使用SSG folder path来指定(如:/organizer/data/1/2/3/)
  6. SSG entry: stands for either a file or folder entry.
    代表文件或文件夹
  7. Nyf root path: SSG path to the container of all top-level info items in .nyf databases; it is hard-coded as '/Organizer/data';
    SSG的根路径,包含.nyf根信息节点,必须为'/Organizer/data'
  8. AppDataOfEntry: each SSG file/folder entry maintains a list of application-defined data (Integers). 每个SSG文件和目录的应用相关数据
  9. platform object: provides a set of API which wraps system specific functions.
    提供一些系统相关的API
  10. plugin object: provides a set of API which wraps myBase plugin API, for accessing selected content in views or controlling the main program.
    提供API用于访问当前视图中选中的内容或者程序
  11. CNyfDb class: provides a set of API which wraps the SSG structured storage library, for accessing to files/folders within .nyf databases by using SSG paths.
    提供API用于访问nyf数据库中的文件和目录
  12. CLocalFile class: provides a set of API for accessing to local files.
    提供API用于访问本地文件
  13. CLocalDir class: provides a set of API for accessing to local directories.
    提供API用于访问本地文件夹
  14. CAppWord classes: provides a set of API for controlling MS-Word by using OLE-Automation.
    提供API用于控制MS-Word。