Online coding dynamic effective method, device, equipment and medium
A dynamic and coding technology, applied in the computer field, can solve the problems of not being able to meet business needs, not being able to dynamically compile, and low efficiency, and achieve the effect of quick and easy deployment and efficient software development
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] This embodiment provides a method for online encoding to take effect dynamically, including the following steps:
[0034] S1, such as figure 1 As shown, the listening event of the foreground control accepts the enhanced code written. The enhanced code includes a pre-agreed character string used to obtain page parameters, and the code fragment, control ID or code block name, and code fragment type of the enhanced code (The code fragment type is intended to mark whether the enhanced code fragment is a code fragment that acts on the control event, or acts on a general code block fragment that can be called by the enhanced code) is passed as a parameter to the background;
[0035] S2, such as figure 2 As shown, after receiving the parameters in the background, use the regular matching rules to replace the strings used to obtain the page parameters in the code fragments with the values of the corresponding page controls in order, that is, replace them with List(String)...
Embodiment 2
[0044] In this embodiment, a device for dynamically validating online coding is provided, such as Figure 5 shown, including:
[0045] The foreground control is used to accept the enhanced code written by listening to the event. The enhanced code includes a pre-agreed character string used to obtain page parameters, and the code fragment, control ID or code block name, and code fragment type of the enhanced code are used as The parameters are passed to the background;
[0046] The parameter replacement module is used to replace the strings used to obtain the page parameters in the code fragments with the values of the corresponding page controls in order by using the regular matching rules after receiving the parameters in the background, and obtain the enhanced code of the replacement; in order The substitutions are: replace the first argument with args.get(0), the second with args.get(1), and so on.
[0047] The class class name generation module is used to query the lat...
Embodiment 3
[0056] This embodiment provides an electronic device, such as Figure 6 As shown, it includes a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, any implementation manner in Embodiment 1 can be realized.
[0057] Since the electronic device introduced in this embodiment is the device used to implement the method in Embodiment 1 of this application, based on the method described in Embodiment 1 of this application, those skilled in the art can understand the electronic device of this embodiment. Specific implementation methods and various variations thereof, so how the electronic device implements the method in the embodiment of the present application will not be described in detail here. As long as a person skilled in the art implements the equipment used by the method in the embodiment of the present application, it all belongs to the protection scope of the present application. ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com