Research and Implementation of PHP Development Framework
- Author
- KangXianKun
- Advisor
- ZhaoZheng
- School
- Tianjin University
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 979
- Citations
- 13
Abstract
As the demands of individuals and enterprises for Web applications are greatly increasing, PHP with its good platform compatibility and easy-to-use advantages gradually becomes a mainstream Web development language. However, the existing procedures for PHP developments without structural organization have poor reusability. This thesis therefore introduces a PHP Development Framework to simplify the development process, shorten the development cycle, save development costs, and improve the efficiency of the development.After discussing and researching on the current PHP development patterns and techniques, this thesis designs and implements a PHP Development Framework, which performs the functions of the collection, organization and management of PHP codes. The framework consists of a interactive unit, a core unit and a library unit. The core unit and the library unit package rich PHP function modules, including class modules, third-party components and etc. These modules are transparent to the programmers and offer them various programming interfaces. The PHP programmers implement the interactive unit by just calling these interface modules to complete the whole process of the project development. The framework introduces the techniques of template and Ajax, provides functions of data operation abstraction, check filter, debug, multi-languages support, module expansion and so on. It offers a favorable development environment and a variety of alternative development patterns. The framework structures the organization of codes, supports a number of parallel development teams, and has self-learning ability. It could integrate new modules in the process of developing procedures, and serve the future development.The framework is lightweight and easy-to-use. It could not only manage the PHP resources effectively, but also provide various modules and detailed documentation supports for PHP developments. After applying the PHP Development Framework to many practical PHP developments, it is confirmed that the framework is able to improve procedures for the development of PHP.
Table of contents
Chinese Abstract 3-4
ABSTRACT 4-8
The first chapter 8-16
1.1 Introduction 8
1.2 Introduction 8-10
1.2.1 PHP Introduction 8-9
1.2.2 Open Source Profile 9-10
1.2.3 Framework Introduction 10
1.3 topics sources and significance 10-12
1.4 research status 12-14
1.5 my main job 14-15
1.6 The paper is organized 15-16
Chapter frame structure design 16-29
2.1 framework organization 16-19
2.1.1 overall framework 16-17
2.1.2 interaction unit 17
2.1.3 core unit 17-18
2.1.4 library unit 18
2.1.5 configuration file 18-19
2.2 framework document 19-21
2.2.1 Framework Document Organization 19-20
2.2.2 Extended File Organization 20
2.2.3 project file organization 20-21
2.3 framework for the operation of the 21-23
2.3.1 framework for the overall operation of the process 21-22
2.3.2 from the program user's perspective 22
2.3.3 From the developer's perspective 22
2.3.4 Framework interfaces 22-23
2.4 framework architecture 23-29
2.4.1 Stratification and sub- module development 23-24
2.4.2 The traditional three-tier architecture 24-25
2.4.3 MVC architecture 25-26
2.4.4 Architecture Distinctions and select 26-27
2.4.5 framework simulation 27-29
concrete implementation of the framework of Chapter III 29-45
3.1 programmatically 29-30
3.2 using the platform 30-31
3.2.1 Framework environment 30
3.2.2 Development Tools 30-31
3.3 Coding Standards 31
3.4 view technology 31-35
3.4.1 using traditional embedded 31-32
3.4.2 introduces template technology 32-33
3.4.3 introducing Ajax technology 33-35
3.5 Data Manipulation 35-38
3.5.1 database operations function 35-36
3.5.2 database operations abstraction layer 36-37
3.5.3 database operations 37-38
3.5.4 Other data types 38
3.6 Control calls 38-42
3.6.1 controller calls the method to achieve 38-39
3.6.2 single entry scheduling 39-41
3.6.3 multi- entry scheduling 41-42
3.7 Advanced Features 42-44
3.7.1 debugging mechanism 42
3.7.2 Multilanguage support 42-43
3.7.3 External support the expansion 43-44
3.8 Framework learning function 44-45
framework for the practical application of Chapter IV 45-54
4.1 Project description and design 45-48
4.1.1 Project Description 45-46
4.1.2 Item Function 46-47
4.1.3 module frame technology 47
4.1.4 System Structure 47-48
4.2 project file organization 48-49
4.3 framework for the technical implementation 49-53
4.3.1 page development 49-50
4.3.2 information search 50-51
4.3.3 External Interface 51-52
4.3.4 database operations 52-53
4.4 project release 53-54
Chapter Summary and Outlook 54-57
5.1 Summary 54-55
5.2 Prospects 55-57
References 57-60
published papers and scientific information note 60-61
Thanks 61
Related dissertations
- General Invoicing Management Platform Based on PHP
- Design and Implementation of Shenyang Metro Construction and Passenger Transport Management System
- The Design and Implementation of Housing Rental Information Management System Based on J2EE
- Design and Implement of Energy-saving and Generation Dispatching Information System Based on Struts Framework
- Design and Realise of the Education and Administrative Office System
- Design and Implementation of the Small and Medium Enterprises Online Shopping Mall
- Web-application Development Based on Java Framework
- The Master Plan of YC Enterprise Information
- Research on Registeration Access System of Structural Engineer
- Research on Institutional Innovation for Promoting China’s Urban-rural Integration
- The Frame of News Commentary Writing Medthods Critic in the Chinese Academic Journals’ Papers during Lately Decade
- Research and Implementation of the Microblogging Content Distribution System
- Design and Implementation of Heating Meter Reading Information System Basing on GPRS
- The Design and Implementation of Statistical Data Collection and Process System of Dujiangyan Statistical Bureau
- Research and Application on Discriminating Technique of "Socialbots" in Social Network
- Research and Development of the Network File Management System Based on PHP Technology
- A Design and Development of Operation and Maintenance System for Zhejiang Social Security Center
- Key Technology Research of Ontology Mapping for the Semantic Web
- The Design and Implementation of Multi-sight Traffic Video Joint Interactive System
- Design and Development of C Language Program Design of Excellent Course Website