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…
Đang tạo bản xem trước...
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
… Tải file gốc để đọc toàn bộ tài liệu.
- Tên tài liệu
- Phân tích thiết kế hướng đối tượng - Chương 4.3 (HUST) GV.Phạm Ngọc Nam
- Trường / Môn
- Đại học Bách khoa Hà Nội · Thiết kế hướng đối tượng
- Tác giả (trong tài liệu)
- GV.Phạm Ngọc Nam
- Nội dung
- 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.
- Mục lục
- 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
- Doc.pages
- 48 trang
- Người đăng
- lienhejb
Câu hỏi thường gặp
Tài liệu này có miễn phí không?
Có. “Phân tích thiết kế hướng đối tượng - Chương 4.3 (HUST) GV.Phạm Ngọc Nam” miễn phí — bạn chỉ cần đăng nhập rồi bấm Tải xuống để lấy file gốc.
Tài liệu dài bao nhiêu trang?
Tài liệu gồm 48 trang, thuộc môn Thiết kế hướng đối tượng. Bạn có thể xem trước online trước khi tải.
Tôi có thể xem trước trước khi tải không?
Có. Bạn xem trước tài liệu ngay trên trang này bằng trình đọc online, rồi quyết định tải về.

Bình luận (0)
Chưa có bình luận nào. Hãy là người đầu tiên!