Delphi deep programming and project application development
DelphiTutorial Series of books(026)《DelphiDeep programming and project application development Organize netizens (state)Email:Shuaihj@163.com
:
PDF
- Prepared by Li cunbin Wang Bing
- Series name: wanshui software project application and instance Development Series
- Press: China Water Conservancy and hydropower Press
- ISBN: 7508412133
- Mounting time: 2002-10-24
- Published on: February 1, September 2002
- Start: 16
- Page number: 391
- Version: 1-1
Introduction
This book is compiled based on the author's years of Delphi development experience. The book is divided into basic and application. This topic describes Delphi's deep programming technology in combination with examples, including Chapter 9: understand Windows messages, processes and threads, writing custom components, file operations, creating DLL applications, two-layer database applications, multi-layer database applications, socket programming, and serial programming; in combination with the application development technology and experience of the material management information system project, this article describes in detail the development of general modules of software for general management information systems, including Chapter 10: overview of material management information system and its overall framework design, material management information system background database design, application server implementation, client application design, dynamic connection to application server implementation, general permission management module design, general query component and report module creation, general basic data maintenance module design, material management information system business operation module design, integrated query module design. Based on a certain degree of Delphi knowledge, readers can quickly improve the programming capability and practical development level of Delphi through the study of this book. This book is applicable to readers with preliminary programming ability, and can also be used as a guide for graduation design of senior students in colleges and universities. The website of China Water Conservancy and hydropower Publishing House (www.waterpub.com.cn) contains examples in the book and source code files of a complete Material Management Information System, which provides readers with easy learning, it also provides shortcuts and references for the actual application development of software developers.
Directory
Basic: Delphi deep Programming Technology
Chapter 4 understanding Windows messages
1.1 message Overview
1.2 Windows message Working Mechanism
1.3 VCL message system processing principle of Delphi
1.4 send messages
1.4.1 perform ()
1.4.2 sendmessage () and postnessage ()
1.4.3 message sending
1.5 Message Processing
1.6 message filtering
Chapter 2 processes and threads
2.1 processes and threads
2.1.1 Process Overview
2.1.2 Direct Process Creation
2.1.3 list processes opened by the System
2.1.4 thread Overview
2.2 inter-process communication (IPC)
2.2.1 use the wm_copydata message to implement inter-process communication
2.2.2 use memory ing files for inter-process communication
2.3 tthread object
2.3.1 thread Creation
2.3.2 thread suspension and Restoration
2.3.3 thread termination
2.3.4 synchronization with VCL
2.4 Thread Synchronization
2.4. 1 critical section)
2.4.2 mutex)
2.4.3 semaphores (semaphore)
2.5 process priority
2.5.1 priority of processes
2.5.2 relative priority
2.6 backend multi-threaded Data Query instance
Chapter 4 writing custom components
3.1 basic concepts of components
3.1.1 attributes
3.1.2 Method
3.1.3 events
3.1.4 ownership
3.1.5 parent-child relationship
3.2 Create instance by component
3.3 advanced technology of components-Attribute Editor and component Editor
3.3.1 Component Attribute Editor
3.3.2 component Editor
3.3.3 custom component instance with Attribute Editor and component Editor
3.4 create dialog box component
Chapter 4 File Operations
4.1 basic file operations
4.1. 1 Text File
4.1.2 type files
4.1.3 INI File
4.1.4 non-typed files
4.1.5 file copying
4.2 memory ing File
4.2.1 rejection of memory ing files
4.2.2 use of ing files
4.3 Application of memory ing files
Chapter 4 Create a DLL Application
5.1 DLL Overview
5.2 DLL Creation
5.2.1 DLL project file
5.2.2 use of the exports keyword
5.2.3 DLL Variables
5.2.4 DLL instance: Form in dynamic DLL
5.3 DLL call
5.3.1 static call
5.3.2 dynamic call
5.4 DLL Entry and Exit Functions
5.4.1 process/thread initialization and routine termination
5.4.2 DLL entry/exit example
5.5 use DLL to create plug-in programs
5.5.1 idea of plug-in Program Design
5.5.2 create a plug-in Application
5.5.3 create the main program that calls the plug-in program
Chapter 2 two-tier database applications
6.1 Relational Database
6.1.1 relational database Overview
6.1.2 Structured Query Language (SQL)
6.2 database connection
6.2.1 BDE-based database connection
6.2.2 0dbc-based database connection
6.2.3 ad0-based database connection technology
6.3 tsession Element
6.4 1 dahbase component
6.4.1 use of tdatabase Components
6.4.2 use the configuration file to dynamically set BDE
6.5 Data Access Component
6.5.1 tTable component
6.5.2 tquery component
6.5.3 tstoredproc Process
6.6 data sensing components
Transaction 6.7
Chapter 2 multi-tier database applications
7.1 a simple multi-layer application system
7.1.1 Establishment of server-side applications
7.1.2 creation of client applications
7.2 principles of multi-layer application system Data Processing
7.2.1 multi-layer Application System Structure
7.2.2 operating principles of data access
7.2.3 how data is updated
7.3 fault tolerance Processing and load balancing
7.4 active form
Chapter 2 socket programming
8.1 Winsock Basics
8.1.1 TCP, UDP, and IP protocols
8.1.2 socket)
8.1.3 customer/Server mode
8.1.4 connection-oriented protocol SOCKET call
8.1.5 call to socket without connection protocol
8.2 use Winsock API to implement socket programming
8.2.1 common winsockapi Functions
8.2.2 use winsockapi to implement socket programming
8.3 use components to implement socket programming
8.3.1 tclientsocket component
8.3.2 tserversocket component
8.3.3 remote screen capture example
8.4 production of Communication Middleware
8.4.1 Implementation of disk queue
8.4.2 establish a socket between the client and the server that sends and receives data from the disk queue
8.4.3 simple application of Middleware
Chapter 2 serial Programming
9.1 basic knowledge of Serial Communication
9.1.1 synchronous and asynchronous communication
9.1.2 baud rate and data transmission rate
9.2 serial communication API
9.2.1 DCB Data Structure
9.2.2 functions related to serial communication
9.3 create a Serial Communication Example Using API functions
9.3.1 data transmission design (writing data to the serial port)
9.3.2 Data Part Design (read data from the serial port)
9.3.3 specific program design and implementation
9.4 use the SPC 0MM component to implement serial communication programming
9.4.1 install the Spcomm component
9.4.2 attributes, methods, and events of the Spcomm component
9.4.3 use Spcomm communication components to implement serial communication instances
Application: Material Management Information System Project Application Development
Chapter 2 Overview of material management information system and its overall framework design
10.1 overall System Structure Design
10.2 material management information system requirement definition and business flow chart
10.2.1 Warehousing Management
10.2.2 Plan Management
10.2.3 Contract Management
10.2.4 Material Management System Business Process
Chapter 2 Design of background database of Material Management Information System
11.1 relational database Overview
11.1.1 Relational Database
11.1.2 Establishment of Material Management Information System database
11.2 Data Structure Design of Material Management Information System
11.2.1 Design of permission management Data Structure
11.2.2 Design of Warehouse Management Data Structure
11.2.3 Plan Management Data Structure Design
11.2.4 Design of Contract Management Data Structure
11.2.5 Basic Data Structure Design
Chapter 4 Application server implementation
12.1 create an application server instance
12.2 state zone Programming
12.3 dynamic database connection
12.4 Remote Data Module Establishment
Chapter 2 Design of client applications
13.1 client application system process and system functions
13.1.1 system process
13.1.2 system functions
13.2 construct a client application framework
Chapter 3 Implementation of Dynamic connection to Application Server
Chapter 2 Design of general permission management module
15.1 system login Design
15.2 maintenance of data in the permission design table
Chapter 4 General query and report component creation
16.1 create a common query component
16.2 create a general report module
Chapter 4 Design of general basic data maintenance module
17.1 Interface Design
17.2 code implementation
17.2.1 display Department archive data in directory tree format
17.2.2 use directory tree navigation data
17.2.3 operate data using the directory tree
17.2.4 sort by table title
17.2.5 print Department Archives
Chapter 2 Design of business operation module of Material Management Information System
18.1 data table settings
18.2 display area of the main table of the receiving documents
18.3 specific material list display area
18.4 data operation zone
Chapter 4 Design of the comprehensive query module
19.1 data source settings
19.2 Form Style Design
19.3 code implementation
19.3.1 query data
19.3.2 print data
19.3.3 browse all