Phân tích thiết kế hướng đối tượng - Chương 4.3 (HUST) GV.Phạm Ngọc Nam
Chương 4.3 giới thiệu về thiết kế tầng quản lý dữ liệu theo quy trình 4 bước, bao gồm lựa chọn định dạng lưu trữ (tệp, cơ sở dữ liệu quan hệ, hướng đối tượng) và các phương pháp tổ chức dữ liệu. Tài liệu chi tiết về các loại tệp (tuần tự, ngẫu nhiên) và các loại tệp ứng dụng (master files, lookup files, transaction…
正在生成预览...
1. Introduction Design of data management layer is four-step process [1] Select format of storage; Alternatives are: Files (Sequential and Random) Relational databases Object-relational databases Object-oriented databases [2] Map problem domain classes to selected storage format Problem domain objects drive object storage design [3] Optimise storage for efficient performance [4] Design appropriate data access classes and manipulation classes to: Separate problem domain classes from storage format Handle all communication with the database 2. Files Files contain lists of data, e.g. bytes, characters, strings, integers, records(which contain fields), etc. Usually supported via programming language-dependent operations, e.g. as defined by methods of pre-defined classes FileInputStream, FileOutputStream for byte streams in Java, FileReader and FileWriter classes character streams in Java, RandomAccessFile in Java. Files may be used as masterfiles, look-up files, transaction files, audit files, history files. Sequential access files are accessed by sequential file operations, e.g. read, write, search Such files are very efficient for sequential processing via sequential operations But are very inefficient for random processing, i.e. on average 50% of contents must be accessed to find desired random record 2.1 Sequential Files May be: Unordered Data is in sequence that it was written to the file, i.e. data is organised serially New data is added to end of file Ordered Data is in sorted order, e.g. ascending order of some component in the data
… 下载原始文件以阅读完整文档。
- 文档名称
- Phân tích thiết kế hướng đối tượng - Chương 4.3 (HUST) GV.Phạm Ngọc Nam
- 学校 / 课程
- Đại học Bách khoa Hà Nội · Thiết kế hướng đối tượng
- 作者(文档中)
- GV.Phạm Ngọc Nam
- 内容
- Tài liệu mô tả quy trình thiết kế lớp quản lý dữ liệu, tập trung vào các phương pháp lưu trữ dữ liệu như tệp tin và cơ sở dữ liệu quan hệ, cùng với các loại tệp tin ứng dụng.
- 目录
- 1. Introduction
- 2. Files
- 2.1 Sequential Files
- 2.2 Random Access Files
- 2.3 Sequential and random processing
- 2.4 Application File Types
- 3. Relational Databases
- 页数
- 48 页
- 上传者
- lienhejb
常见问题
此文档免费吗?
是的。“Phân tích thiết kế hướng đối tượng - Chương 4.3 (HUST) GV.Phạm Ngọc Nam”是免费的 — 只需登录并点击“下载”即可获取原始文件。
这份文档有多少页?
该文档共有 48 页,适用于课程 Thiết kế hướng đối tượng。您可以在下载前进行在线预览。
我可以在下载前预览吗?
是的。您可以通过在线阅读器直接在本页面预览此文档,然后再决定是否下载。

评论 (0)
暂无评论。快来抢沙发吧!