Project function decoupling method based on programming education and electronic equipment

A function and project technology, applied in the field of project function decoupling method and electronic equipment based on programming education, can solve problems such as poor maintainability of project functions

Inactive Publication Date: 2019-09-10
SHENZHEN DIANMAO TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of the above deficiencies in the prior art, the purpose of the present invention is to provide a method for decoupling item functio

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
  • Project function decoupling method based on programming education and electronic equipment
  • Project function decoupling method based on programming education and electronic equipment
  • Project function decoupling method based on programming education and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The present invention provides a programming education-based project function decoupling method and electronic equipment. In order to make the purpose, technical solution and effect of the present invention clearer and clearer, the present invention will be further described in detail below. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0033] see figure 1 , figure 1 It is a flow chart of a preferred embodiment of a programming education-based project function decoupling method of the present invention, as shown in the figure, which includes steps:

[0034] S1. Extract the original function in the project, and split the original function into a public function and a private function;

[0035] S2. Move the public functions out of the project, and move the private functions into the project;

[0036] S3. Run the packaging script officially provided by egret to g...

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 project function decoupling method based on programming education and electronic equipment, and the method comprises the steps: extracting an original function in a project,and splitting the original function into a public function and a private function; moving a public function out of the project, and moving a private function in the project into the project; running apackaging script officially provided by the egret, and generating a file into an appointed folder; and when the public function needs to be used, calling the public function through the private library to complete decoupling. According to the method, the original function is split into the common function and the private function, the common function is moved out of the project, and the private function is moved into the project, so that the project packages and produces files, only the project operates and depends on, and the decoupling purpose is achieved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to an item function decoupling method based on programming education and electronic equipment. Background technique [0002] In projects, some functions and variables often need to be reused, such as the website server address, the user's login token or user's address information obtained from the background, etc. At this time, global variables and global functions need to be set. Similarly, for game projects, there are currently many general-purpose public functions, as well as many project-specific private functions. However, the existing technology cannot satisfy the overall maintenance and update of functions. For example, modifying a public function requires manual modification of all related functions of the project, which is extremely poor in maintainability. [0003] Therefore, the prior art still needs to be improved and developed. Contents of the invention [0004] I...

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
IPC IPC(8): G06F8/30
CPCG06F8/30
Inventor 李天驰孙悦
Owner SHENZHEN DIANMAO TECH CO LTD
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