Front-end configuration method and system and electronic equipment
A configuration method and page configuration technology, applied in the computer field, can solve the problems of experienced developers, reduce the efficiency of front-end development, and poor code readability, so as to improve reusability and readability, improve development efficiency, and avoid The effect of frequent switching
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] Such as figure 1 As shown, this embodiment discloses a front-end configuration method, including the following steps.
[0047] Firstly, step S1 is executed to pre-define the component configuration including the attribute configuration in the component library.
[0048] The component configuration in step S1 includes the properties and methods of the component. Components in this embodiment can be understood as objects with certain functions that can be formed into visual controls and written by code. One or more objects constitute the front end. Components are specifically text, lines, dialog boxes, check switches, Slider, accordion or navigation bar etc. The properties of the component are expressed as the color of the text, the size of the text, the display effect of the text, and so on. The method of the component can be expressed as the calling method of the component, the processing method of the component, and so on. combine figure 2 As shown, developers en...
Embodiment 2
[0074] This embodiment shows a modified example of a front-end configuration method, and compared with the front-end configuration direction disclosed in Embodiment 1, the main difference is that in this embodiment, the configuration information is executed according to the configuration of the components. After secondary editing of definition and / or page configuration data also includes:
[0075] For the unexecuted front-end configuration business request, at least one attribute and / or function contained in the executed front-end configuration business request is reused in a reverse inheritance manner through the high-level component 44, and then the back-end service resource library 45 is called The page configuration data matched with the component is rendered to form the front end.
[0076] The front-end configuration method disclosed in the second embodiment causes the rendering module 43 to appear in scenarios such as an unknown error in receiving the front-end configura...
Embodiment 3
[0079] combine figure 2 As shown, it shows a specific implementation of a front-end configuration system of the present invention.
[0080] The front-end configuration system disclosed in this embodiment runs the technical solution shown in the front-end configuration method shown in Embodiment 1, and has a similar inventive idea.
[0081] Specifically, the front-end configuration system includes:
[0082] Business requirements configuration module 41 , component library 42 , rendering module 43 , high-level components 44 and backend service resource library 45 .
[0083] The business requirements configuration module 41 receives the front-end configuration request (i.e. figure 2 The business configuration 411 to business configuration 41m in the business configuration, the parameter m is a positive integer greater than or equal to 1), the front-end configuration request is made by the developer in image 3 UI input shown. A specific service configuration, such as servic...
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