Method and system for achieving visualized edition and combination of codes

A code and editing technology, applied in the computer field, can solve the problems of low efficiency of code generation and output, inability to reuse common codes efficiently, lack of modifiable and non-modifiable regions, etc., so as to improve the reuse rate, code generation and Output efficiency, realize the effect of visualization

Active Publication Date: 2014-09-17
北京思特奇信息技术股份有限公司
View PDF4 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The above code generation method has the following disadvantages: 1. Commonly used codes cannot be reused efficiently, 2. The configuration of code par

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
  • Method and system for achieving visualized edition and combination of codes
  • Method and system for achieving visualized edition and combination of codes
  • Method and system for achieving visualized edition and combination of codes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0040] Such as figure 1 As shown, a method for implementing code visual editing combination includes the following steps:

[0041] Step 1: the server transmits the escape of one or more code fragments to be processed to the web page;

[0042] Step 2: the web page loads the escaped code fragments into different page label containers respectively, and each page label container binds a drag event;

[0043] Step 3: The web page displays the corresponding name, input parameter and output parameter format of the code fragment on the page according to the content of each page label container;

[0044] Step 4: Drag the code fragments to be processed to the code editing area in turn for visual editing and combination, and ...

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 relates to a method and system for achieving visualized edition and combination of codes. The method comprises the steps that a server transmits one or more code snippets to a web page in an escaping mode; the web page loads the escaped code snippets into different web page label containers, and each web page label container is bound to a dragging incident; the web page displays the name, and the web page displays the incoming parameter and outgoing parameter formats corresponding to the code snippets in the web page according to the content of each web page label container; the code snippets to be processed are dragged into a code edition area in sequence for visualized edition and combination, and a combined editable code is generated; the combined editable code is escaped to obtain a target code, and the combined editable code and the target code are both transmitted to the server and stored in the server. The method and system for achieving visualized edition and combination of codes largely improve the multiplex rate of common codes, achieve visualization of code parameter configuration, mark a revisable area and a non-revisable area, and largely improve code generation and output efficiency.

Description

technical field [0001] The present invention relates to the field of computers, in particular to a method and system for realizing visual editing and combination of codes. Background technique [0002] In the prior art, the web front-end code is usually manually edited and saved through an online or offline editor of a browser. The above code generation method has the following disadvantages: 1. Commonly used codes cannot be reused efficiently, 2. The configuration of code parameters cannot be visualized, 3. There is no indication of modifiable and unmodifiable regions, 4. The efficiency of code generation and output is low. Contents of the invention [0003] The technical problem to be solved by the present invention is to provide a method and system for realizing code visual editing and combination aiming at the deficiencies of the prior art. [0004] The technical solution of the present invention to solve the above-mentioned technical problems is as follows: a method ...

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): G06F9/44
Inventor 汪国庆
Owner 北京思特奇信息技术股份有限公司
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