CN110196846A - A kind of general helping method for BS system - Google Patents
A kind of general helping method for BS system Download PDFInfo
- Publication number
- CN110196846A CN110196846A CN201910491964.3A CN201910491964A CN110196846A CN 110196846 A CN110196846 A CN 110196846A CN 201910491964 A CN201910491964 A CN 201910491964A CN 110196846 A CN110196846 A CN 110196846A
- Authority
- CN
- China
- Prior art keywords
- help
- database
- general
- helping
- configuration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 230000004048 modification Effects 0.000 claims abstract description 23
- 238000012986 modification Methods 0.000 claims abstract description 21
- 238000011068 loading method Methods 0.000 claims abstract description 17
- 230000001360 synchronised effect Effects 0.000 claims description 8
- 238000011161 development Methods 0.000 abstract description 9
- 238000004883 computer application Methods 0.000 abstract 1
- 238000012423 maintenance Methods 0.000 description 6
- 238000005538 encapsulation Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/21—Design, administration or maintenance of databases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
- G06F9/453—Help systems
Abstract
The invention discloses a kind of general helping methods for BS system, belong to computer application technology, this method is configured in such a way that web front-end configuration combines database, realize the relationship maps for helping component and showing content, configuration storage is carried out to help content from database, realizes the dynamic importing of the dynamically load and data that help component.The present invention may be implemented to the general quick exploitation needs for helping component, while increasing development efficiency, support flexibly modification, after the completion of exploitation, loading configuration can be modified in real time in database, also support pattern is customized, provides a quick, convenient and fast development technique for developer.
Description
Technical field
The present invention relates to computer software application technical field, specifically a kind of general help for BS system
Method.
Background technique
In traditional web application development process, we have the load largely commonly set and open with what form data backfilled
Work is sent out, these demands require to show data mostly writes work with a large amount of code of progress is selected.Such development scheme
Higher cost needs to realize complete front and back logic according to every kind of business demand.Often occur during written in code
Excessive repetitive operation, and develop after the completion of can not dynamic flexible modification.
Summary of the invention
Technical assignment of the invention be against the above deficiency place, a kind of general helping method for BS system is provided,
It may be implemented to the general quick exploitation needs for helping component, while increasing development efficiency, support flexibly modification.
The technical solution adopted by the present invention to solve the technical problems is:
A kind of general helping method for BS system, this method are configured by database and are combined with web front-end configuration
Mode, realize help component and show content relationship maps, configuration storage is carried out to help content from database, realize
Help the dynamically load of component and the dynamic importing of data.
By introducing the components such as mysql, Spring, jquery, combined by database configuration with web front-end configuration
Mode realize web help component it is flexible, quickly generate, cross-platform can use.Matched by database and the quick of front end
It sets, can conveniently generate web and help component, and can make it that can support project the characteristics of database flexible configuration is modified
The not maintenance shut-downs configured after online provide convenience for the maintenance work after the completion of exploitation.
Specifically, from database to help content carry out configuration storage include:
1) data to be shown, are configured by database;
2) type, is shown by database configuration component;
3) loading method, Selective type, are configured by database and whether data search function is provided.
Preferably, which supports page help to set, selects to help to set, selects to help three kinds of list displayings
Type.
It is set specifically, providing page help, i.e. ordinary load mode, introducing is quickly developed as page assembly;
It provides selection to help to set, select to help list, i.e. pop-up loading mode, the click event as page elements adds
It carries, the exploitation of the exploitation demand of the data backfill for selecting user introduces.
Preferably, asynchronous load and synchronous load two ways are supported in the load of this method data,
The data for supporting asynchronous load to simply request user every time and can see load;
It supports synchronous load to request all data in initialization and loads.
The synchronous loading method supported required resulting asynchronous loading method in data load and be not required to also obtain, with branch
Hold the loading method selection to different data amount business.
Preferably, the support that customized pattern is realized by configuring, while providing the default style, developer can
The customized pattern for helping to set, such as node pattern, to realize the needs of different business scene difference pattern displaying.
Preferably, according to business needs, flexibly modification is supported to help the content of type and displaying, for helping component
Modification can not only be realized by modification program, can also be provided database configuration and be modified, and configuration modification comes into force in real time,
Realize the flexible configuration that component is helped load with this.
Specifically, flexibly modification helps the content of type and displaying, including
It supports to help type by database configuration modification in the non-stop-machine situation of program;
Support the data content shown in the non-stop-machine situation of program by configuration modification.
Preferably, database configuration includes helping type, supporting multiselect, multiselect type, show information, hiding information, tree
Root node information, tree type, loading method, support search and pattern, each configuration represents one and helps needed for complete load
Information.
Backstage carries out logical process, and foreground provides unified JavaScript API encapsulation, and developer is by introducing js text
Part, which can be realized, quickly helps component load.
A kind of general helping method and system for BS system of the invention compared with prior art, has with following
Beneficial effect:
This method database configuration with web front-end configuration combine by way of realize web help component it is flexible,
It quickly generates.Compared with prior art, this technology cross-platform can use, can be square by the rapid configuration of database and front end
Just, quickly generate web and help component, development cost is greatly saved, shortens the development cycle.Meanwhile this technology can be in number
Feature is modified according to library flexible configuration, the not maintenance shut-downs configured after making it that project can be supported online, for the maintenance after the completion of exploitation
Work provides convenient and fast mode.
The present invention is used for the general side group technology of BS system, not only realizes to the general quick exploitation needs for helping component,
While increasing development efficiency, flexibly modification is supported, after the completion of exploitation, can modify in real time loading configuration in database,
It also supports the customized of pattern, provides a quick, convenient and fast development technique for developer.
Detailed description of the invention
Fig. 1 is a kind of realization principle figure of the general helping method for BS system of the present invention.
Specific embodiment
A kind of general helping method for BS system, including
A, it is configured in such a way that web front-end configuration combines database, realizes the pass for helping component and showing content
Connection mapping carries out configuration storage to help content from database, realizes that the dynamic of the dynamically load and data that help component carries
Enter.
By introducing the components such as mysql, Spring, jquery, combined by database configuration with web front-end configuration
Mode realize web help component it is flexible, quickly generate, cross-platform can use.Matched by database and the quick of front end
It sets, can conveniently generate web and help component, and can make it that can support project the characteristics of database flexible configuration is modified
The not maintenance shut-downs configured after online provide convenience for the maintenance work after the completion of exploitation.
Specifically, from database to help content carry out configuration storage include:
1) data to be shown, are configured by database;
2) type, is shown by database configuration component;
3) loading method, Selective type, are configured by database and whether data search function is provided.
B, it supports page help to set, selects to help to set, selects to help three kinds of displaying types of list:
It provides page help to set, i.e. ordinary load mode, introducing is quickly developed as page assembly;
It provides selection to help to set, select to help list, i.e. pop-up loading mode, the click event as page elements adds
It carries, the exploitation of the exploitation demand of the data backfill for selecting user introduces.
C, asynchronous load and synchronous load two ways are supported in load,
The data for supporting asynchronous load to simply request user every time and can see load;
It supports synchronous load to request all data in initialization and loads.
The synchronous loading method supported required resulting asynchronous loading method in data load and be not required to also obtain, with branch
Hold the loading method selection to different data amount business.
D, the support of customized pattern is realized by configuring,
While providing the default style, developer can customize the pattern for helping to set, such as node pattern, with reality
The needs that existing different business scene difference pattern is shown.
E, according to business needs, flexibly modification is supported to help the content of type and displaying,
It for helping the modification of component, can not only be realized by modification program, database configuration can also be provided and carried out
Modification, configuration modification come into force in real time, and the flexible configuration for helping load component is realized with this.
Specifically, flexibly modification helps the content of type and displaying, including
It supports to help type by database configuration modification in the non-stop-machine situation of program;
Support the data content shown in the non-stop-machine situation of program by configuration modification.
By taking jquery, Bootstrap, Spring, MyBatis, MySQL as an example, the technical program logic is realized and is carried out
It is described in detail:
Mysql database configuration example, can be to help type, support multiselect, multiselect type, displaying information, hiding letter
Breath, tree type, loading method, supports that search, pattern are configured at the root node information of tree, and each configuration represents a help
Information needed for complete load:
Background logic processing core code is as follows:
Foreground provides unified JavaScript API encapsulation, and developer can be realized quickly by introducing js file
Component load is helped, core code is as follows:
It defines the page and loads element core code:
Help configures load core code:
Help loads core code:
Help tree load core code:
List is helped to load core code:
The technical personnel in the technical field can readily realize the present invention with the above specific embodiments,.But it answers
Work as understanding, the present invention is not limited to above-mentioned specific embodiments.On the basis of the disclosed embodiments, the technology neck
The technical staff in domain can arbitrarily combine different technical features, to realize different technical solutions.
Except for the technical features described in the specification, it all is technically known to those skilled in the art.
Claims (9)
1. a kind of general helping method for BS system, it is characterised in that this method is configured by database matches with web front-end
The mode combined is set, realizes the relationship maps for helping component and showing content, configuration is carried out to help content from database and is deposited
The dynamic importing of the dynamically load and data that help component is realized in storage.
2. a kind of general helping method for BS system according to claim 1, it is characterised in that from database to side
Help content carry out configuration storage include:
1) data to be shown, are configured by database;
2) type, is shown by database configuration component;
3) loading method, Selective type, are configured by database and whether data search function is provided.
3. a kind of general helping method for BS system according to claim 1 or 2, it is characterised in that the general help
Method supports page help to set, selects to help to set, selects to help three kinds of displaying types of list.
4. a kind of general helping method for BS system according to claim 3, it is characterised in that
It provides page help to set, i.e. ordinary load mode, introducing is quickly developed as page assembly;
It provides selection to help to set, select to help list, i.e. pop-up loading mode, the click event as page elements loads, and uses
It is introduced in the exploitation of the exploitation demand for the data backfill for selecting user.
5. a kind of general helping method for BS system according to claim 3, it is characterised in that this method data add
It carries and supports asynchronous load and synchronous load,
The data for supporting asynchronous load to simply request user every time and can see load;
It supports synchronous load to request all data in initialization and loads.
6. a kind of general helping method for BS system according to claim 5, it is characterised in that
The support that customized pattern is realized by configuring, while providing the default style, developer can customize help tree
Pattern.
7. a kind of general helping method for BS system according to claim 6, it is characterised in that the configuration includes
According to business needs, the content for supporting flexibly modification to help type and displaying can not only pass through for helping the modification of component
It modifies program to realize, database configuration can also be provided and modified.
8. a kind of general helping method for BS system according to claim 7, it is characterised in that
It supports to help type by database configuration modification in the non-stop-machine situation of program;
Support the data content shown in the non-stop-machine situation of program by configuration modification.
9. a kind of general helping method for BS system according to claim 1, it is characterised in that database configuration packet
It includes and helps type, support multiselect, multiselect type, show information, hiding information, the root node information of tree, tree type, load side
Formula, support search and pattern, each configuration represent the information helped needed for completely loading.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910491964.3A CN110196846A (en) | 2019-06-06 | 2019-06-06 | A kind of general helping method for BS system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910491964.3A CN110196846A (en) | 2019-06-06 | 2019-06-06 | A kind of general helping method for BS system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110196846A true CN110196846A (en) | 2019-09-03 |
Family
ID=67754188
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910491964.3A Pending CN110196846A (en) | 2019-06-06 | 2019-06-06 | A kind of general helping method for BS system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110196846A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112596709A (en) * | 2020-12-17 | 2021-04-02 | 湖南中南智能装备有限公司 | Industrial APP development process |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090183237A1 (en) * | 2008-01-12 | 2009-07-16 | Ricardo Cortes | Contextual and customized help information |
CN102937898A (en) * | 2012-11-29 | 2013-02-20 | 广东全通教育股份有限公司 | Xml (Extensive Makeup Language) technique-based web application dynamic assisting method and system |
-
2019
- 2019-06-06 CN CN201910491964.3A patent/CN110196846A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090183237A1 (en) * | 2008-01-12 | 2009-07-16 | Ricardo Cortes | Contextual and customized help information |
CN102937898A (en) * | 2012-11-29 | 2013-02-20 | 广东全通教育股份有限公司 | Xml (Extensive Makeup Language) technique-based web application dynamic assisting method and system |
Non-Patent Citations (2)
Title |
---|
于振梅: "一个通用帮助组件的设计与实现", 《计算机系统应用》 * |
周铁军等: "一种基于ASP的管理型联机帮助系统――MOHS", 《微计算机信息》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112596709A (en) * | 2020-12-17 | 2021-04-02 | 湖南中南智能装备有限公司 | Industrial APP development process |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11301635B2 (en) | Style extensibility applied to a group of shapes by editing text files | |
CN103809975B (en) | The implementation method of intelligent cloud list | |
CN1364260A (en) | Introspective editor system, program, and method for software translation | |
CN108509339A (en) | Method for generating test case, device based on browser and mind map and equipment | |
JP2015532991A (en) | Modernization of legacy software systems based on modeled dependencies | |
JP2005346722A (en) | Method and apparatus for generating form using form type | |
US8421816B1 (en) | Selection of colors | |
CN102810057A (en) | Log recording method | |
CN105117234A (en) | Web control combination method | |
CN105912324A (en) | Method and device for generating Web page | |
CN111708528A (en) | Method, device and equipment for generating small program and storage medium | |
CN107977203A (en) | The creation method of storage device, application program control and user interface | |
CN112668290A (en) | Dynamic form generation method and system based on gridding design | |
CN108958731A (en) | A kind of Application Program Interface generation method, device, equipment and storage medium | |
JP5626333B2 (en) | Program creation support apparatus, program, and information system | |
CN1987775A (en) | Method and apparatus for resolving events | |
CN109947425A (en) | A kind of the dealing with information flow method and device | |
CN107766519B (en) | Method for visually configuring data structure | |
CN110196846A (en) | A kind of general helping method for BS system | |
CN106447751A (en) | Character display method and apparatus | |
CN105468570B (en) | A kind of document synthesis methods of exhibiting and device | |
CN108536434A (en) | A kind of method and device for realizing Hook Function based on high-level programming language | |
CN108363574A (en) | Front end method for customizing, device, terminal device and storage medium based on SDK | |
US8037015B2 (en) | Flexible interface using scalable vector graphics with metalevel palette | |
CN102184105A (en) | Data processing method based on modularity and data center system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |