Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for generating web control

A control and automatic generation technology, applied in the field of web framework, can solve the problems of many codes, low control generation efficiency, poor flexibility, etc., and achieve the effect of good flexibility and high control generation efficiency

Active Publication Date: 2014-05-28
广州手拉手互联网股份有限公司
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem to be solved by the present invention is to provide a control system with less codes, better flexibility and higher control generation efficiency in view of the defects of the prior art that there are many codes, poor flexibility, and low control generation efficiency. Method and device for generating web controls

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 device for generating web control
  • Method and device for generating web control
  • Method and device for generating web control

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0039] The generation method of the web control or the development method of the webUI framework of the present invention adopts a different design idea.

[0040] Various webUI controls (web controls) are regarded as being composed of 1 or N similar objects. This object is named a in the embodiment, because it can also realize the function of a tag in the web. Usually a is represented as a div object with several tags nested. The complete composition of a is as f...

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 provides a method for generating a web control. The method comprises the following steps that essential information for generating the web control is input; whether the web control to be generated exists or not is judged, if the web control exists, the web control is removed, and the next step is executed; if the web control does not exist, the next step is executed; the essential information is processed, so that the essential information becomes format data meeting the json standard; the format data comprise a necessary array, and the array is composed of one or more elements; the elements in the array are read in sequence, and the web control is obtained after an object is automatically generated. The invention further relates to a method for achieving the method. The method and device for generating the web control have the advantages that codes are few, flexibility is good, and control generation efficiency is high.

Description

technical field [0001] The invention relates to the field of web frameworks, in particular to a method and device for generating web controls. Background technique [0002] The existing webUI library / framework implemented by Javascript implements various UI controls separately during design, and each control needs to be generated by a different program, so there is a problem with more codes. At the same time, when changing from one control to another, the program used to generate the control will be completely changed, requiring the developer to rewrite the program, which has a large workload and greatly consumes the energy of the developer, resulting in poor flexibility. , low control generation efficiency and other issues. Contents of the invention [0003] The technical problem to be solved by the present invention is to provide a control system with less codes, better flexibility and higher control generation efficiency in view of the defects of the prior art that the...

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 广州手拉手互联网股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products