Research on Technique of General Database Interface Based on PHP
- Author
- ZhangYaQing
- Advisor
- GuoPing
- School
- Chongqing University
- Major
- Computer technology
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 398
- Citations
- 11
Abstract
Common data manipulation techniques based on PHP is an economical, convenient and efficient approach, at the same time the way for the development of large-scale database application provides an effective way to solve. The general operation of the database and many other factors, makes the system very complex and the results of the current study can only be used in two well-known open source database, has earmarked the development of the interface, but not able to fully meet the actual needs of all database operations. In this paper, based on the analysis of the common database operations technology at home and abroad the latest research situation, the following main tasks: (1) First, the use of modularity, a PHP-based general-purpose database operations model. Of modularity, based on a common object, from the three processes detailed analysis of the common database operations model the function of each process and the corresponding algorithm. This model the current system have done before the system integration, the researchers have a complete and clear understanding of the common database operations common database operations technology, common database operations for future technology, in-depth The study provides a guiding role. This model shows the current common database operations technical difficulty lies in the characteristics of the integrated application of different databases. It is based on this consideration, the next will be the problem of heterogeneous database of general-purpose operating depth study. (2) in this model for theoretical guidance, MySQL, PostgreSQL's general-purpose operating depth study, by introducing the idea of ??the reference to the ODBC and JDBC, general-purpose data the operating techniques PDBC (PHP Open Database Connectivity) algorithm. Based on the principle of ODBC, JDBC, general-purpose data operating techniques PDBC, algorithm, and has to use the program. Case studies, show that the algorithm of this operation has the following advantages: the can completely eliminate MYSQL, the difference between PostgreSQL API database common operation; can greatly expand the scope of application of the method of PDBC; algorithm is simple, fast, stable performance , has a strong practical; database operations common rules of operation; has strong scalability, can further extensions to the interface provided by this model. In addition to the above advantages, the common database operations based on PHP with PHP-based Chinese template technology used in combination, form a powerful integrated development environment. ③ Finally, the use of this common database operations technology to actual project development, and the analysis of test. Real estate channel in Guizhou Harbor, New Zealand, China e-commerce network, the special network construction of the Organization Department of the CPC Guizhou Provincial use PHP-based general-purpose database operations, and have achieved good practical effect. lt; WP = 5 gt; detailed theoretical analysis and experiments of the actual database operations and its analysis to prove the correctness of the design model is a useful exploration technology research based on the PHP common database operations.
Table of contents
Chinese Abstract 4-6
Abstract 6-11
1 Introduction 11-18
1.1 of the problem and research significance 11-12
1.1.1 of the problem 11
1.1.2 Significance of the Research 11-12
1.2 research status 12 - 15
1.2.1 ODBC research status 12-13
1.2.2 JDBC research status 13-14
1.2.3 PHP common database research Status 14-15
1.3 The purpose of this study and research 15-18
1.3.1 The purpose of this study 15-17
1.3 .2 the main content of this paper 17-18
2 relational database describes 18-29
2.1 Basics 18-19
2.1.1 databases, database management systems and database systems 18-19
2.1.2 data integrity and security 19
2.2 Local and Remote Database 19 - 21
2.2.1 local database 19-20
2.2.2 remote database 20
2.2.3 Select the appropriate database type 20-21
2.3 database application 21-22
2.3.1 procedural language 21
2.3.2 Structured Query Language 21
2.3.3 Other proposed language 21-22
2.4 client / server, the browser / server architecture 22-23
2.4.1 client / server (C / S) architecture 22
2.4.2 Browser / Server (B / S) architecture 22-23
2.5 ASP, JSP, PHP development technology 23-29
2.5.1 ASP development technology advantages and disadvantages 23-25 ??
2.5.2 JSP development technology advantages and disadvantages 25-26
2.5.3 PHP Development Technical advantages and disadvantages 26-29
3 PHP database application development technology 29-46
3.1 PHP can access data sources 29
3.2 PHP database application development capabilities 29-32
3.2.1 Introduction of performance other programming languages ?? 29-30
3.2.2 database development tool integrated evaluation 30 - 31
3.2.3 Suggestions choice of development tools 31-32
3.3 PHP database application architecture 32-42
3.3.1 Overview 32-36
3.3.2 data access functions and data control functions 36-38
3.3.3 PHP in the C / S database application development 38 - 39
3.3.4 B / S database application development 39-42
3.4 PHP database application development 42-46
3.4.1 Overview 42
3.4.2 PHP database operations basic steps 42-46
4 PHP-based implementation of a common database operations 46-52
4.1 Universal Database action statement defines 46
4.1.1 Common database command 46
4.1.2 Universal database operation statement defines 46
4.2 configuration PHP common database operations like three ways 46
4.3 using ANSI SQL as a common database operations function 46
4.4 database manipulation language and database operations completely separated 46-47
4.5 API for database manipulation functions encapsulated in a common database operations class 47-48
4.6 design algorithms should pay attention to the principle 48
4.7 API for database manipulation functions encapsulated in a common database operations class algorithm 48-52
4.7.1 Algorithm reference 49
4.7.2 algorithm code 49-51
4.7.3 earmarked for the new database interfaces 51-52
5 PHP-based Universal Database experimental 52-63
5.1 based PHP's Universal Database experimental general idea 52-53
5.2 Hardware experimental environment described 53
5.3 configuration and software environment compiler optimization 53-61
5.3.1 installation and operation support library 53-54
5.3.2 install mysql, postgresql database 54-55
5.3.3 install and configure ODBC 55-59
5.3.4 integrated database, UnixODBC, PHP, Apache 59
5.3.5 configuration and optimization 59-61
5.4 Experimental results and analysis 61-62
5.4.1 direct access to MySQL, POSTGESQL results 61
5.4.2 Access through ODBC Mysql, Postgresql results 61 <br / > 5.4.3 By PDBC access Mysql, Postgresql results 61-62
5.4.4 Comprehensive comparative analysis of experimental results 62
5.5 Conclusion 62-63
6 Conclusion and outlook 63-65
6.1 Conclusion 63
6.2 Prospects for future research work 63-65
Thanks 65-66
References 66-68
Related dissertations
- China e-banking business management research and analysis Chinese bank Ji'nan branch service based on
- Study on the Construction of Agricultural Information Service System
- Study on the Integration and Application of the Second Land Survey Data
- Study on Database Construction and Application Research of Township Overall Land Use Planning
- Countermeasure Research on the Development of Digital Library Integrated Retrieval System in China
- The Design and Development of Unattended Remote Measurement and Monitoring System in Steel Business
- Design and Implementation on Three-dimensional Monitoring System of Data Center
- Large Network Monitoring System Based on ARM
- The Research on Fire-fighting Based on Image Processing in Large Space
- Design and Application of the Distributed Monitoring System Based on Embedded Web
- Excogitation and Implementation of Monitor System for the Greenhouse’s Host Machine
- Design of Circuit Testing System of Vehicle Fuse Box Based on LabVIEW
- Battery Sorting Detect System Design and Application
- The Reliable Data Transmission System in the Maternal and Child Health Information Platform
- The Development of Configuration Software for Monitoring and Controlling Based on C#
- Design and Implementation of Teaching Website Based on JAVA
- The development of government website based on ASP
- Higher Mathematics Teaching Design and Implementation of Research Site
- Design and Implementation of Secure E-commerce Website
- Research and Development of the Network File Management System Based on PHP Technology