Research and implementation of PHP framework based on RIA and MVC

Author
WangZhiYong
Advisor
LuoHuiQiong
School
University of Electronic Science and Technology
Major
Computer System Architecture
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2012
Downloads
30
Citations
0

Request the full text

Abstract

PHP has become the most widely used web development language, but has been the development of PHP there is no uniform standard. The developer must have strong development capability in order to develop a high performance, scalability, strong, high maintainability of Web applications, but, development efficiency is still a major challenge facing the system development process.In recent years, due to the rapid promotion of the popularity and performance of the PC, the PC-side data processing has been a great process improvements then before, so based on the development of the RIA (rich client applications) Web system has came into being.But,The common PHP development framework has problems of complicated architecture, learning difficulties, low efficiency, lack of support for rich client development and so on. In this paper, for the problems of PHP framework currently, PHP lightweight development framework based on the RIA rich client applications and MVC design pattern be proposed. And we gave the details of the framework works and implementation process.The main contents of this article are as follows:(1) Study analyzed the current domestic and international main PHP development framework, and pointed out that their development efficiency, architecture, easy to learn and RIA development problems. Proposed to a lightweight PHP development framework which supports the RIA, rapid development and easy to learn.(2) To discuss the current main web development framework and the popular MVC design pattern. Combination of RIA applications and the PHP language features, the MVC design pattern for a thin-controller side has been proposed.(3) The framework has a strong cache system, including a project compile cache, fields cache, data cache, the template cache and the static page cache. In terms of performance, it has good performance. (4) Implements a framework for the view layer, model layer, control layer and related tools class library, and based on the MVC design pattern we do some necessary optimization of each layer to make it easier for developers to understand and use.(5) the Extjs As a popular RIA development framework, this framework has implemeted the support of Extjs, and on this basis to implement a RIA logistics information management systems. From the test of the performance of the system, we can see the framework has rapid response capability and can been used in the development of the RIA system easily.

Table of contents

Summary 4-5 Abstract 5-10 first chapter background and significance 10-14 1.1 topics 10 1.2 research status proposed 10-11 1.3 issues research purposes and chapters 11-12 1.4 herein arrangements 12-14 The second chapter PHP-RM framework theoretical foundation 14-22 2.1 Ajax 14 2.2 RIA 14-15 2.3 PHP 15-16 2.4 MVC design pattern 16-19 2.4.1 traditional MVC design pattern 16-17 2.4.2 RIA-based MVC architecture 17-19 2.5 template engine 19-20 2.6 data access layer 20-21 2.6.1 ORM 20 2.6.2 ActiveRecord 20-21 2.7 Summary design 21-22 Chapter PHP-RM framework 22 - 34 3.1 PHP-RM framework design ideas execution flow 22-23 3.2 PHP-RM framework 23-24 3.3 PHP-RM framework directory structure module 24-26 3.4 PHP-RM framework design 26-31 3.4.1 entry document design 26-27 3.4. 2 control layer design 27 3.4.3 model layer design 27-29 3.4.4 view layer design 29 3.4.5 cache design 29-31 3.5 PHP-RM framework configuration files using 31 3.6 PHP-RM framework 31-33 3.7 Summary 33-34 Chapter IV implementation PHP-RM framework 34-65 4.1 development environment 34-35 4.1.1 LAMP Introduction 34-35 4.1.2 integrated development tools (IDE) 35 4.2 framework tool library 35-37 4.2.1 URL processor 35-36 4.2.2 class autoloader 36-37 4.2.3 configuration file processing tool 37 4.3 framework to achieve import documents 37-44 4.3.1 project preprocessing module 38-39 4.3.2 project initialization module 39-40 4.3.3 project execution module 40-44 4.4 controller layer implementation 44-45 4.5 model layer to achieve 45-56 4.5.1 model Interface Layer achieve 46-52 4.5.2 database abstraction layer and driver layer 52-56 4.6 view layer to achieve 56-60 4.6. a view class and template 56-57 4.6.2 Built- tag library 57-60 4.7 cache implementation 60-64 4.7.1 project cache implementation 61-62 4.7.2 module cache implementation 62 4.7.3 field cache implementation 62 4.7.4 data cache implementation 62-63 4.7.5 template cache implementation 63-64 4.7.6 static page cache implementation 64 4.8 Summary 64-65 Chapter RIA view model 65-73 5.1 basic Concepts 65 5.2 integrated Extjs 65-72 5.2.1 achieve 66-69 5.2.2 RIA template 69-70 5.2.3 local model synchronization 70-72 <br / > 5.3 Summary 72-73 framework of Chapter VI of the efficiency of PHP-RM test 73-83 6.1 based logistics management system PHP-RM framework 73-76 nbsp 6.2 test environment ; 76 6.3 database CURD test 76-79 6.4 template rendering test 79-80 6.5 server load testing 80-82 6.6 Summary 82-83 Chapter VII Conclusion 83-85 Thanks 85 - 86 References 86-88

Related dissertations

  1. Design and Implementation of Teaching Management System Based on ExtJS Framework
    LiuZuoZuo ·Ocean University of China ·2013 ·Master's thesis
  2. Design and Implementation of the Electric Energy Production Management System
    ShaoZuo ·Tianjin University ·2012 ·Master's thesis
  3. RIA-based Quality and Safety Traceability System for Chicken Industry
    WuWei ·Zhejiang University ·2013 ·Master's thesis
  4. Research and Implementation of PHP Fast Development Framework Based on MVC Pattern
  5. Design and Implementation of Rich Interface Based on Ajax
    FanWenJuan ·Lanzhou University ·2010 ·Master's thesis
  6. WEB-based leave management software system design
  7. Minority Literature-based Information Collection ExtJS Cataloging System Design
  8. Design and Implementation of LAMP-based Network Office System
    ZouXianFang ·Nanchang University ·2011 ·Master's thesis
  9. The Constructure Analysis of Establishing Ria System in China
    YouJia ·Anhui University of Finance ·2012 ·Master's thesis
  10. Research and Implementation of the Microblogging Content Distribution System
    WangZhenXing ·Tianjin University ·2012 ·Master's thesis
  11. Research on the RIA-based Techniques for Remotely Monitoring and Controlling Experiments
  12. Research and Application on Discriminating Technique of "Socialbots" in Social Network
    LinYongCheng ·Jilin University ·2013 ·Master's thesis
  13. Research and Development of the Network File Management System Based on PHP Technology
    YangMing ·Hubei University ·2013 ·Master's thesis
  14. Construction of IPv6Network System in Chengdu Institute of Biological
  15. Research on Multi-level Multi-domain Network Topology Dynamically Present System
    JiaYanDang ·Chang'an University ·2013 ·Master's thesis
  16. The Design of Virtual Instrument Program Development Tools Based on Flex
  17. Network Based Remote Digital Circuit Experiment under Virtual and Real Combination Framework
    ZhangHuan ·Zhejiang University ·2014 ·Master's thesis
  18. Design and Implementation of Human Resources Outsourcing Service Platform Based on J2EE and ExtJS
    XuQianJin ·Hefei University of Technology ·2013 ·Master's thesis
  19. The Design and Implementation of the Hospital Wards Management System Based on J2EE
    ChenHao ·Hubei University ·2013 ·Master's thesis
  20. The Research of Applications Based on Combination of SSH2and ExtJs