Method and system for establishing service logic component and service component and generating page

A business component and business logic technology, applied in software engineering design, software maintenance/management, program code conversion, etc., can solve problems such as difficulty in maintaining business logic code

Active Publication Date: 2020-02-14
KE COM (BEIJING) TECHNOLOGY CO LTD
View PDF4 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this case, if the business logic in the project page cannot be extracted and reused, it is necessary to write a large number of repetitive business logic codes, or a large number of business logic codes compatible with historical logic are difficult to maintain

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
  • Method and system for establishing service logic component and service component and generating page
  • Method and system for establishing service logic component and service component and generating page
  • Method and system for establishing service logic component and service component and generating page

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] Specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0053] Before describing the technical solution of the present invention, the following terms are briefly introduced.

[0054] User interface (UI) component: UI component is responsible for obtaining the business data assigned by the business logic component to display the page, and provides an interactive method, which can trigger the execution of the business process operation assigned by the business logic component.

[0055] Business logic component: The business logic component implements the data acquisition and initialization process involved in the business, and is responsible for handling the actual business processing flow of the interaction event trig...

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 relates to the technical field of front-end development, and discloses a method and a system for establishing a service logic component and a service component, and a method and a systemfor generating a page based on a template. The establishing method comprises the following steps: extracting service logic in a page; establishing a service process function component related to service logic; and reserving a first slot for connecting with the first user interface component and/or the service component in the service process function component to form a first service logic component, the service component being formed by connecting a second service logic component with a second user interface component through a second slot. According to the invention, decoupling of a servicelogic component and a user interface (UI) component can be realized. The service logic component and the UI component can be flexibly configured through the reserved slot position, so that incremental or customized continuous iteration of the service logic component and the UI component is realized, the establishment process of the service component is efficiently completed, and in addition, diversified and customized pages can be realized based on the template and the flexibly configured service component.

Description

technical field [0001] The present invention relates to the technical field of front-end development, in particular to a business logic component, a method and a system for establishing a business component, and a method and a system for generating a page based on a template. Background technique [0002] At present, in the development of front-end pages, measures to improve development efficiency by using componentized development methods have been greatly popularized. The component development of the front-end page refers to separating a certain part of the page, and encapsulating the data layer (M), view layer (V) and control layer (C) of this part into a component in the form of a black box. At the same time, some out-of-the-box functions and properties are exposed for external components to call. The components of the front-end page include HTML, CSS, JavaScript and the templates, styles and interactions of the components. External components only need to be called ac...

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): G06F8/38G06F8/41G06F8/71
CPCG06F8/38G06F8/427G06F8/71
Inventor 程亚杰
Owner KE COM (BEIJING) TECHNOLOGY CO LTD
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