Concepts & Terms (基本概念和用语)
To help quickly get started with myBase Javascript APIs, please read about the following concepts and terms at first.
要想快速了解myBase Javascript APIs,建议先阅读以下基本概念和用语。
- SSG: stands for the structured storage library on which myBase is built.
指myBase基于的数据库引擎。 - Database: stands for myBase .nyf databases.
指myBase的nyf数据库。 - SSG path: reference to file/folder entries in .nyf databases; it works like file system on hard disk.
用来指向.nyf数据库里的文件夹或文件,和硬盘的文件系统相类似。 - 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)。 - 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/) - SSG entry: stands for either a file or folder entry.
代表文件或文件夹 - 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' - AppDataOfEntry: each SSG file/folder entry maintains a list of application-defined data (Integers). 每个SSG文件和目录的应用相关数据
- platform object: provides a set of API which wraps system specific functions.
提供一些系统相关的API - plugin object: provides a set of API which wraps myBase plugin API, for accessing selected content in views or controlling the main program.
提供API用于访问当前视图中选中的内容或者程序 - 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数据库中的文件和目录 - CLocalFile class: provides a set of API for accessing to local files.
提供API用于访问本地文件 - CLocalDir class: provides a set of API for accessing to local directories.
提供API用于访问本地文件夹 - CAppWord classes: provides a set of API for controlling MS-Word by using OLE-Automation.
提供API用于控制MS-Word。