CN112379880A - Method for dynamically updating system page characters by zero codes - Google Patents
Method for dynamically updating system page characters by zero codes Download PDFInfo
- Publication number
- CN112379880A CN112379880A CN202011387942.1A CN202011387942A CN112379880A CN 112379880 A CN112379880 A CN 112379880A CN 202011387942 A CN202011387942 A CN 202011387942A CN 112379880 A CN112379880 A CN 112379880A
- Authority
- CN
- China
- Prior art keywords
- code
- system page
- characters
- page
- zero
- 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
- 238000012986 modification Methods 0.000 claims abstract description 12
- 230000004048 modification Effects 0.000 claims abstract description 12
- 238000006467 substitution reaction Methods 0.000 claims abstract description 6
- 238000012217 deletion Methods 0.000 claims description 3
- 230000037430 deletion Effects 0.000 claims description 3
- 238000012790 confirmation Methods 0.000 description 3
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
-
- 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/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/186—Templates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Security & Cryptography (AREA)
- Data Mining & Analysis (AREA)
- Human Computer Interaction (AREA)
- Document Processing Apparatus (AREA)
Abstract
The invention discloses a method for dynamically updating system page characters by zero codes, which comprises the following steps: creating a database, generating the database, generating a system page character substitution code by adopting a code generator, inserting the code into a position corresponding to a dynamic page code, generating a control code association authority according to the code, judging whether a character template needs to be newly added or not, generating the character template by the character template generator if necessary, acquiring a modification authority, and then moving the character template to the system page character substitution code in logic; if not, directly selecting the characters from the character library, and then moving the character template to a system page to substitute the characters into the codes; the system page is refreshed, the system page characters can be dynamically updated directly through zero codes, the operation is simple, the control code associated authority is directly generated, independent authority acquisition is not needed, the efficiency is greatly improved, the page is not needed to be regenerated, and the storage space is greatly saved.
Description
Technical Field
The invention relates to the technical field of a method for dynamically updating system page characters by zero codes, in particular to a method for dynamically updating system page characters by zero codes.
Background
Most of traditional methods for updating system page characters need to use separate character codes to call character data, authority needs to be acquired before calling, efficiency is low, and a page needs to be regenerated after modification is completed, and occupied space is simple and large, so that an improved technology is urgently needed to solve the problem in the prior art.
Disclosure of Invention
The invention aims to provide a method for dynamically updating system page characters by zero codes, which can directly dynamically update the system page characters by the zero codes, is simple to operate, directly generates control code associated authority, does not need to obtain the authority independently, greatly improves the efficiency, does not need to regenerate the page, greatly saves the storage space and solves the problems in the background technology.
In order to achieve the purpose, the invention provides the following technical scheme: a method for dynamically updating system page characters by zero codes comprises the following steps:
the method comprises the following steps: creating a database;
step two: generating a database;
step three: generating system page characters by adopting a code generator, substituting the system page characters into a code, inserting the code into a position corresponding to a dynamic page code, and generating a control code association authority according to the code;
step four: then judging whether a new character template is needed, if so, generating the character template through a character template generator, acquiring a modification authority, and then moving the character template to a system page character substitution code in logic; if not, directly selecting the characters from the character library, and then moving the character template to a system page to substitute the characters into the codes;
step five: refreshing the system page, checking the text style of the system page, completing the operation of dynamically updating the text of the system page by the zero code if the text is confirmed to pass, and repeating the step four if the text is not confirmed to pass.
Preferably, in the first step, the database is any one of Mysql, SqlServer or NoSQL, and a conventional database is adopted to facilitate operation.
Preferably, the dynamic page in the third step adopts any one of asp, php, jsp or cgi, and the operation is convenient by adopting a conventional dynamic page.
Preferably, the code generator in the third step adopts one or more of CodeSmith, mygenerrator, NHibernate, CodePlus, CodeMaker and net code generator to realize code generation and is compatible with most languages.
Preferably, the control code association authority in the third step includes a modification authority, a deletion authority and an addition authority, so as to realize authority management.
Preferably, the step four chinese character library is stored in and called from a database.
Preferably, the refreshing system page in the fifth step is directly operated at the front end.
Compared with the prior art, the invention has the beneficial effects that:
the method adopted by the invention can directly dynamically update the system page characters through the zero codes, is simple to operate, directly generates the control code associated authority, does not need to obtain the authority independently, greatly improves the efficiency, does not need to regenerate the page, and greatly saves the storage space.
Drawings
FIG. 1 is a schematic flow chart of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, the present invention provides a technical solution: a method for dynamically updating system page characters by zero codes comprises the following steps:
the method comprises the following steps: creating a database;
step two: generating a database;
step three: generating system page characters by adopting a code generator, substituting the system page characters into a code, inserting the code into a position corresponding to a dynamic page code, and generating a control code association authority according to the code;
step four: then judging whether a new character template is needed, if so, generating the character template through a character template generator, acquiring a modification authority, and then moving the character template to a system page character substitution code in logic; if not, directly selecting the characters from the character library, and then moving the character template to a system page to substitute the characters into the codes;
step five: refreshing the system page, checking the text style of the system page, completing the operation of dynamically updating the text of the system page by the zero code if the text is confirmed to pass, and repeating the step four if the text is not confirmed to pass.
The database in the first step adopts any one of Mysql, SqlServer or NoSQL; in the third step, the dynamic page adopts any one of asp, php, jsp or cgi; in the third step, the code generator adopts one or more of CodeSmith, MyGenerator, NHibernate, Codeplus, CodeMaker and net code generators; the control code association authority in the step three comprises a modification authority, a deletion authority and an addition authority; the character library in the step four is stored in the database and called from the database; and in the fifth step, refreshing the system page and directly operating at the front end.
The first embodiment is as follows:
a method for dynamically updating system page characters by zero codes comprises the following steps:
the method comprises the following steps: creating a database (Mysql);
step two: generating a database;
step three: generating system page characters by adopting a code generator, substituting the system page characters into a code, inserting the code into a position corresponding to a dynamic page (. asp) code, and generating a control code association authority according to the code;
step four: a character template is required to be newly added, the character template is generated through CodeSmith, the modification authority is obtained, and then the character template is moved to a system page in logic, and characters are substituted into codes;
step five: and refreshing the system page, checking the text style of the system page, and finishing the operation of dynamically updating the text of the system page by zero codes after the text style of the system page passes the confirmation.
Example two:
a method for dynamically updating system page characters by zero codes comprises the following steps:
the method comprises the following steps: creating a database (SqlServer);
step two: generating a database;
step three: generating system page characters by adopting a code generator, substituting the system page characters into a code, inserting the code into a position corresponding to a dynamic page (. php) code, and generating a control code association authority according to the code;
step four: a character template is required to be added, the character template is generated through a MyGenerator, the modification authority is obtained, and then the character template is moved to a system page in logic, and characters are substituted into codes;
step five: and refreshing the system page, checking the text style of the system page, and finishing the operation of dynamically updating the text of the system page by zero codes after the text style of the system page passes the confirmation.
Example three:
a method for dynamically updating system page characters by zero codes comprises the following steps:
the method comprises the following steps: creating a database (NoSQL);
step two: generating a database;
step three: generating system page characters by adopting a code generator, substituting the system page characters into a code, inserting the code into a position corresponding to a dynamic page (.jsp) code, and generating a control code association authority according to the code;
step four: a character template is required to be newly added, the character template is generated through Codeplus, the modification authority is obtained, and then the character template is moved to a system page in logic, and characters are substituted into codes;
step five: and refreshing the system page, checking the text style of the system page, and if the system page is confirmed to pass the check, finishing the operation of dynamically updating the text of the system page by the zero code.
Example four:
a method for dynamically updating system page characters by zero codes comprises the following steps:
the method comprises the following steps: creating a database (Mysql);
step two: generating a database;
step three: generating system page characters by adopting a code generator, substituting the system page characters into a code, inserting the code into a position corresponding to a dynamic page (. cgi) code, and generating a control code association authority according to the code;
step four: the character template is moved to a system page to substitute characters into codes after being selected from the character library without adding a new character template;
step five: and refreshing the system page, checking the text style of the system page, and finishing the operation of dynamically updating the text of the system page by zero codes after the text style of the system page passes the confirmation.
The method adopted by the invention can directly dynamically update the system page characters through the zero codes, is simple to operate, directly generates the control code associated authority, does not need to obtain the authority independently, greatly improves the efficiency, does not need to regenerate the page, and greatly saves the storage space.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.
Claims (7)
1. A method for dynamically updating system page characters by zero codes is characterized in that: the method comprises the following steps:
the method comprises the following steps: creating a database;
step two: generating a database;
step three: generating system page characters by adopting a code generator, substituting the system page characters into a code, inserting the code into a position corresponding to a dynamic page code, and generating a control code association authority according to the code;
step four: then judging whether a new character template is needed, if so, generating the character template through a character template generator, acquiring a modification authority, and then moving the character template to a system page character substitution code in logic; if not, directly selecting the characters from the character library, and then moving the character template to a system page to substitute the characters into the codes;
step five: refreshing the system page, checking the text style of the system page, completing the operation of dynamically updating the text of the system page by the zero code if the text is confirmed to pass, and repeating the step four if the text is not confirmed to pass.
2. The method for zero-code dynamic update of system page text according to claim 1, wherein: in the first step, the database adopts any one of Mysql, SqlServer or NoSQL.
3. The method for zero-code dynamic update of system page text according to claim 1, wherein: and the dynamic page in the third step adopts any one of asp, php, jsp or cgi.
4. The method for zero-code dynamic update of system page text according to claim 1, wherein: the code generator in the third step adopts one or more of CodeSmith, MyGenerator, NHibernate, Codeplus, CodeMaker and net code generators.
5. The method for zero-code dynamic update of system page text according to claim 1, wherein: and the control code association authority in the third step comprises a modification authority, a deletion authority and an addition authority.
6. The method for zero-code dynamic update of system page text according to claim 1, wherein: the step four chinese character library is stored in and called from the database.
7. The method for zero-code dynamic update of system page text according to claim 1, wherein: and in the fifth step, the system page is refreshed and directly operated at the front end.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011387942.1A CN112379880A (en) | 2020-12-01 | 2020-12-01 | Method for dynamically updating system page characters by zero codes |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011387942.1A CN112379880A (en) | 2020-12-01 | 2020-12-01 | Method for dynamically updating system page characters by zero codes |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112379880A true CN112379880A (en) | 2021-02-19 |
Family
ID=74589624
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011387942.1A Pending CN112379880A (en) | 2020-12-01 | 2020-12-01 | Method for dynamically updating system page characters by zero codes |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112379880A (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000250841A (en) * | 1999-03-02 | 2000-09-14 | Hitachi Ltd | Method and device for generating page, storage medium recorded with the page generation program and electronic mole system |
US7316003B1 (en) * | 2002-12-18 | 2008-01-01 | Oracle International Corp. | System and method for developing a dynamic web page |
CN103635897A (en) * | 2011-06-23 | 2014-03-12 | 微软公司 | Dynamically updating a running page |
CN105426172A (en) * | 2015-10-30 | 2016-03-23 | 北京金海明天软件技术有限公司 | XML analysis technique and template language based dynamic WEB page generation method |
CN107133044A (en) * | 2017-05-05 | 2017-09-05 | 上海携程商务有限公司 | The quick development method and system of the data maintenance type page |
CN107273116A (en) * | 2017-05-22 | 2017-10-20 | 互联天下科技发展(深圳)有限公司 | The method that code is produced using the Code Generator based on framework |
CA3059630A1 (en) * | 2017-08-16 | 2019-02-21 | Alibaba Group Holding Limited | Page update method and apparatus |
CN109783094A (en) * | 2018-12-15 | 2019-05-21 | 深圳壹账通智能科技有限公司 | Front end page generation method, device, computer equipment and storage medium |
CN110221848A (en) * | 2019-04-23 | 2019-09-10 | 五八有限公司 | APP method for updating pages, device, electronic equipment and storage medium |
-
2020
- 2020-12-01 CN CN202011387942.1A patent/CN112379880A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000250841A (en) * | 1999-03-02 | 2000-09-14 | Hitachi Ltd | Method and device for generating page, storage medium recorded with the page generation program and electronic mole system |
US7316003B1 (en) * | 2002-12-18 | 2008-01-01 | Oracle International Corp. | System and method for developing a dynamic web page |
CN103635897A (en) * | 2011-06-23 | 2014-03-12 | 微软公司 | Dynamically updating a running page |
CN105426172A (en) * | 2015-10-30 | 2016-03-23 | 北京金海明天软件技术有限公司 | XML analysis technique and template language based dynamic WEB page generation method |
CN107133044A (en) * | 2017-05-05 | 2017-09-05 | 上海携程商务有限公司 | The quick development method and system of the data maintenance type page |
CN107273116A (en) * | 2017-05-22 | 2017-10-20 | 互联天下科技发展(深圳)有限公司 | The method that code is produced using the Code Generator based on framework |
CA3059630A1 (en) * | 2017-08-16 | 2019-02-21 | Alibaba Group Holding Limited | Page update method and apparatus |
CN109783094A (en) * | 2018-12-15 | 2019-05-21 | 深圳壹账通智能科技有限公司 | Front end page generation method, device, computer equipment and storage medium |
CN110221848A (en) * | 2019-04-23 | 2019-09-10 | 五八有限公司 | APP method for updating pages, device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111026777B (en) | Entity class code generation method, entity class code generation device, computer equipment and storage medium | |
CN106293664A (en) | Code generating method and device | |
US5459827A (en) | Layout method for structured documents | |
CN103645931B (en) | The method of code conversion and device | |
CN109388396A (en) | Page generation method, device, computer equipment and storage medium | |
CN101841515A (en) | Target variable protocol data unit codec code automatic generation implementation method | |
CN111221522A (en) | Automatic code generation method of front-end and back-end separation architecture for government intensive application development | |
CN112114933A (en) | Application program protection method, electronic device and storage medium | |
CN111428441B (en) | Information system cross-platform application oriented Chinese character code conversion method and equipment | |
CN108375952A (en) | A kind of PLC continuous functions schema compiler and explain method and apparatus | |
CN104731564A (en) | Generation method and device for system interface call records | |
CN112379880A (en) | Method for dynamically updating system page characters by zero codes | |
CN101201750B (en) | Method of providing data for encoding/decoding using syntax lexical analysis tool | |
CN105512096A (en) | Optimization method and device based on file embedded font | |
CN109902085B (en) | Configuration storage structure optimization method and system | |
CN115904480B (en) | Code reconstruction method, device, electronic equipment and storage medium | |
CN111815746A (en) | Method for generating hair data based on USD system | |
CN116796289A (en) | Operator processing method and device, electronic equipment and storage medium | |
CN104572608A (en) | Method and device for typesetting Mongolian characters vertically | |
CN112651214B (en) | Method for converting data table plaintext into binary ciphertext convenient for program to read | |
CN114281773B (en) | Animation display method, device, electronic equipment and computer readable storage medium | |
CN109224447A (en) | The block chain library CellLink and computer equipment based on C# | |
CN102968443A (en) | Optimized interface resource management system for automatic train supervision (ATS) system | |
CN112395657A (en) | Box construction method, device, system and computer readable medium | |
CN105678637A (en) | Data parsing system and application method thereof for vehicle charging posts |
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 |