Achievement method for webpage paging plug-in

A paging and plug-in technology, applied in the direction of program control devices, etc., can solve the problem of inapplicability of non-tabular data paging, and achieve the effect of less code, unified style, and strong scalability

Inactive Publication Date: 2015-01-21
蓝盾信息安全技术有限公司
View PDF2 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this technology completely encapsulates the plug-in in the form of a table, and it is not applicable to the pagination of non-table form data

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
  • Achievement method for webpage paging plug-in

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] 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.

[0019] The main innovation point of the present invention is that the paging function is plugged and encapsulated, so that when the paging function is required, only a small amount of code is needed to realize it, and the style is more uniform and the expansion is more flexible. Such as figure 1 Shown is the method flowchart of the present invention, and its concrete implementation steps are as follows:

[0020] 1. Define a div tag that contains the id attribute, ...

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 an achievement method for a webpage paging plug-in. A label is defined, a json object is configured, JavaScript code carrying out corresponding rendering according to parameters is compiled, an external call function is exposed and is called to transmit related parameters, html elements of the paging plug-in are rendered according to the parameters, event binding is carried out, and after an event is triggered, parameters of the current page are modified, and the external function is called again. By means of the technical scheme, the plug-in package is carried out on the paging function, the paging function can be achieved only through an extremely small number of codes, the number of the codes is small, the style is uniform, and expandability is high.

Description

technical field [0001] The invention relates to the technical field of computer software, in particular to a method for realizing a web page paging plug-in. Background technique [0002] With the continuous development of industrial informatization and networking, systems based on B / S architecture are more and more widely used in various industries due to the characteristics of no installation and easy distribution. Therefore, the security and flexibility of such programs Sex requirements are also getting higher and higher. The traditional web client permission control method mainly adopts to read the user session saved in the website session, and then display different web page elements and functions on the page according to the different types of users, so as to achieve the effect of giving different users different permissions . This method requires writing a lot of logic codes on different web pages to control permissions, which is not easy in terms of scalability, and...

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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products