PHP developing framework based on assemblies

A technology for developing frameworks and components, applied in the field of component-based PHP development frameworks, can solve the problems of not being able to meet developers' requirements for frameworks, the efficiency and flexibility of framework execution are uneven, and the efficiency of flexible execution is low. To achieve the effect of easy expansion, flexible use and powerful functions

Inactive Publication Date: 2014-01-15
BEIJING LIMEI TECH
View PDF3 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, there are many PHP development frameworks in the industry, but the execution efficiency and flexibility of the frameworks are uneven. Either the execution efficiency is high but the flexibility is lacking, or the flexibility is good but the execution efficiency is low and not very good. Meet the developer's requirements for the framework

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • PHP developing framework based on assemblies
  • PHP developing framework based on assemblies
  • PHP developing framework based on assemblies

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] Such as figure 1 The shown component-based PHP development framework uses the MVC pattern, which is divided into controllers, models, and views. The model is responsible for obtaining data, the view is responsible for data presentation, and the controller is responsible for business logic; framework initialization When creating an application instance and looking for routing to the corresponding controller method, the controller method can call the model to obtain and process data, and then send the obtained data to the view for rendering. The framework is developed in the form of components, and all functions exist in the form of components, and the components are respectively connected with the controller, the model and the view, and are used for loading when the function is called. The component loading process includes the following steps: Step A: When the framework is initialized, store all core component names and corresponding component file addresses in an array...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a PHP developing framework based on assemblies. An MVC mode is adopted for the framework. The framework comprises a controller, a model and a view, wherein the model is responsible for acquiring data, the view is responsible for data presentation, and the controller is responsible for service logic. By calling the model and processing the data, the data are sent into the view to undergo rendering. The framework is characterized by further comprising the assemblies which are used for developing extended functions, and the assemblies are respectively connected with the controller, the model and the view and used for performing loading when the functions are called. The developing mode based on the assemblies is adopted for the framework, the assemblies are loaded according to requirements, and operation efficiency is high; besides, all the extension can be packaged in a mode of the assemblies, and the framework is convenient to extend and flexible in use.

Description

technical field [0001] The invention relates to a WEB application development framework, in particular to a component-based PHP development framework. Background technique [0002] The PHP development framework puts PHP Web program development on the assembly line by providing a basic framework for developing Web programs. Code reuse between similar projects can save developers a lot of time and effort. The PHP development framework has built-in pre-built modules, eliminating tedious and tiresome programming work. PHP development frameworks help facilitate rapid software development and help create more stable programs. In recent years, as PHP has evolved as a scripting language chosen by many developers, PHP development frameworks have sprung up on the screen, such as the currently popular PHP development frameworks: The Zend Framework, Yii Framework , CakePHP, etc. [0003] At present, there are many PHP development frameworks in the industry, but the execution efficie...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44
Inventor 吴朝波
Owner BEIJING LIMEI TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products