CN111399835A - Service stripping method and device for WEB front-end project - Google Patents
Service stripping method and device for WEB front-end project Download PDFInfo
- Publication number
- CN111399835A CN111399835A CN202010186130.4A CN202010186130A CN111399835A CN 111399835 A CN111399835 A CN 111399835A CN 202010186130 A CN202010186130 A CN 202010186130A CN 111399835 A CN111399835 A CN 111399835A
- Authority
- CN
- China
- Prior art keywords
- web front
- module
- layer platform
- service
- independent
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 230000006870 function Effects 0.000 claims description 85
- 238000004590 computer program Methods 0.000 claims description 18
- 238000012360 testing method Methods 0.000 claims description 7
- 230000003068 static effect Effects 0.000 claims description 6
- 238000013479 data entry Methods 0.000 claims description 5
- 238000007429 general method Methods 0.000 claims description 4
- 238000011161 development Methods 0.000 description 16
- 238000010586 diagram Methods 0.000 description 14
- 238000012423 maintenance Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000008571 general function Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000001556 precipitation Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 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
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides a method and a device for stripping services of WEB front-end projects, wherein the method comprises the following steps: vue, integrating multiplexing function modules of a plurality of WEB front-end projects on a multiplexing layer platform; based on Vue and the function demand data of each WEB front-end project, obtaining an independent function module of each WEB front-end project, and integrating a plurality of independent function modules on an independent layer platform; based on Vue and the service requirement data of each WEB front-end project, acquiring a service module of each WEB front-end project, and integrating a plurality of service modules on a service layer platform; and constructing a management platform of the WEB front-end project based on the multiplexing layer platform, the independent layer platform and the service layer platform, and configuring the multiplexing layer platform, the independent layer platform and the service layer platform based on Vue. The invention can strip the WEB front-end service and is convenient to maintain.
Description
Technical Field
The invention belongs to the technical field of WEB, and particularly relates to a method and a device for stripping services of a WEB front-end project.
Background
The WEB front-end development adopts various WEB technologies such as HTM L, CSS and Javascript to convert data into a graphical interface, so that a user can view the data through a browser and interact with the data.
However, the existing WEB front-end development project involves processing of many services, if there are many different types of services, the same technology stack is used, multiple projects based on the technology stack need to be repeatedly created, and in each project, besides maintaining different services, it also needs to maintain common parts related to the technical architecture, and custom general component methods, etc., which makes it difficult to uniformly maintain all parts of all projects. For example, in the existing services such as container cloud, AI, big data, etc., when there are multiple items, each item maintains components, states, routes, etc., but for parts of these infrastructures, the multiple items have basically the same content, only a small part of the content is customized, when it is necessary to add a component that each item may use, or to change a page layout, etc., it is necessary to change the code of each item, which results in a high maintenance cost.
In summary, the existing WEB front-end service development has a problem of difficult maintenance.
Disclosure of Invention
The embodiment of the invention provides a method for stripping services of a WEB front-end project, which is used for stripping the WEB front-end service and is convenient to maintain, and comprises the following steps:
vue, integrating multiplexing function modules of a plurality of WEB front-end projects on a multiplexing layer platform;
based on Vue and the function demand data of each WEB front-end project, obtaining an independent function module of each WEB front-end project, and integrating a plurality of independent function modules on an independent layer platform;
based on Vue and the service requirement data of each WEB front-end project, acquiring a service module of each WEB front-end project, and integrating a plurality of service modules on a service layer platform;
and constructing a management platform of the WEB front-end project based on the multiplexing layer platform, the independent layer platform and the service layer platform, and configuring the multiplexing layer platform, the independent layer platform and the service layer platform based on Vue.
The embodiment of the invention provides a service stripping device for a WEB front-end project, which is used for stripping WEB front-end services and is convenient to maintain, and the device comprises:
a first unit, configured to integrate multiplexing functional modules of multiple WEB front-end projects into a multiplexing layer platform based on Vue;
the second unit is used for acquiring an independent function module of each WEB front-end project based on Vue and the function demand data of each WEB front-end project, and integrating a plurality of independent function modules on an independent layer platform;
a third unit, configured to obtain a service module of each WEB front-end project based on Vue and service demand data of each WEB front-end project, and integrate multiple service modules in a service layer platform;
and the fourth unit is used for constructing a management platform of the WEB front-end project based on the multiplexing layer platform, the independent layer platform and the service layer platform, and configuring the multiplexing layer platform, the independent layer platform and the service layer platform based on Vue.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the processor executes the computer program, the service stripping method of the WEB front-end project is realized.
The embodiment of the invention also provides a computer readable storage medium, and the computer readable storage medium stores a computer program for executing the service stripping method of the WEB front-end project.
In the embodiment of the invention, multiple multiplexing functional modules of WEB front-end projects are integrated on a multiplexing layer platform based on Vue; based on Vue and the function demand data of each WEB front-end project, obtaining an independent function module of each WEB front-end project, and integrating a plurality of independent function modules on an independent layer platform; based on Vue and the service requirement data of each WEB front-end project, acquiring a service module of each WEB front-end project, and integrating a plurality of service modules on a service layer platform; and constructing a management platform of the WEB front-end project based on the multiplexing layer platform, the independent layer platform and the service layer platform, and configuring the multiplexing layer platform, the independent layer platform and the service layer platform based on Vue. In the embodiment of the invention, as the three platforms are integrated and are respectively the multiplex layer platform, the independent layer platform and the service layer platform, all the multiplex function module, the independent function module and the service module can be separated, so that the independent management is realized, the maintenance is convenient, the repeated development of the multiplex function module is reduced, and the development efficiency of the WEB front-end project is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
FIG. 1 is a flowchart of a method for service stripping of a WEB front-end project according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a management platform for WEB front-end projects according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a business stripping apparatus for a WEB front-end project according to an embodiment of the present invention;
FIG. 4 is a diagram of a computer device in an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
In the description of the present specification, the terms "comprising," "including," "having," "containing," and the like are used in an open-ended fashion, i.e., to mean including, but not limited to. Reference to the description of the terms "one embodiment," "a particular embodiment," "some embodiments," "for example," etc., means that a particular feature, structure, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. The sequence of steps involved in the embodiments is for illustrative purposes to illustrate the implementation of the present application, and the sequence of steps is not limited and can be adjusted as needed.
Fig. 1 is a flowchart of a method for service stripping of a WEB front-end project in an embodiment of the present invention, as shown in fig. 1, the method includes:
101, integrating multiplexing functional modules of a plurality of WEB front-end projects on a multiplexing layer platform based on Vue;
102, acquiring an independent function module of each WEB front-end project based on Vue and function requirement data of each WEB front-end project, and integrating a plurality of independent function modules on an independent layer platform;
103, acquiring a service module of each WEB front-end project based on Vue and service requirement data of each WEB front-end project, and integrating a plurality of service modules on a service layer platform;
and 104, constructing a management platform of the WEB front-end project based on the multiplexing layer platform, the independent layer platform and the service layer platform, and configuring the multiplexing layer platform, the independent layer platform and the service layer platform based on Vue.
In the embodiment of the invention, as the three platforms are integrated and are respectively the multiplex layer platform, the independent layer platform and the service layer platform, all the multiplex function module, the independent function module and the service module can be separated, so that the independent management is realized, the maintenance is convenient, the repeated development of the multiplex function module is reduced, and the development efficiency of the WEB front-end project is improved.
In particular, Vue is a progressive framework for constructing a user interface. Unlike other large frames, Vue is designed to be applied layer by layer from the bottom up. Vue, the core library only focuses on the viewing layer, not only is it easy to get on hand, but also it is easy to integrate with third party libraries or existing projects. On the other hand, Vue is also fully capable of providing drivers for complex single page applications when used in conjunction with modern tool chains and various supporting class libraries.
Vue maintained some official repositories such as vue-router, vuex, and some official tools such as vue-cli, vue-server-renderer, vue-loader, vetur. Based on the official libraries and tools, WEB front-end applications can be conveniently constructed. Meanwhile Vue the growing community project provides all the required support for most projects.
Like the technical stacks of other frames at the front end of the WEB, Vue has rich ecosystems, such as scaffolds vue-cli for quickly building projects, component libraries Element-UI, iView, and some large single-page application solutions vue-Element-admin, iView-admin. These tools and projects greatly increase the development efficiency and initial set-up of front-end projects.
Based on the advantages of Vue, the embodiment of the invention builds a management platform of the final WEB front-end project based on Vue.
In step 101, determining a reusable function module to be used for all WEB front-end items, that is, the reusable function module is to be integrated in a reusable layer platform, which may also be referred to as an infrastructure layer platform, and in an embodiment, the reusable function module includes: the virtual device comprises one or any combination of an entry module of Vuex state, a router entry module, a local project international configuration entry module, a mock data entry module, components general components, assets general static files, utils general methods and/or constants, libs external libraries, directives general instruction module, filters general filter, mixins module, plugins general plug-ins, views general page, api component test and config project general configuration module.
In the above embodiment, the entry module of Vuex state mainly implements the state of dynamic loading project architecture layer and business layer.
The router routing entry module comprises a plurality of static routing entries and dynamic routing entries, the static routing entries comprise unified error handling and the like, and the dynamic routing entries comprise test routing of a multiplex layer platform and automatic loading service layer platform routing.
The entrance module for internationalized configuration of the locale project mainly realizes internationalized unified configuration and automatic loading of the business layer i18 n.
And the mock data entry module is used for defining the component test API route and automatically loading the mock route of the service layer platform.
Components are components that are needed to be used in all WEB front-end projects.
The views generic pages include error pages, as well as component test pages, and the like.
In step 102, based on Vue and the function requirement data of each WEB front-end project, an independent function module of each WEB front-end project is obtained, and a plurality of independent function modules are integrated on an independent layer platform.
In specific implementation, the independent layer platform may also be referred to as a project framework layer, inherits the self-multiplexing layer platform, and may add new content according to the needs of the service layer of each WEB front-end project, but may not modify most of the contents common to the multiplexing layer platform, such as existing components common components, so as to synchronize the contents of the multiplexing layer platform in the following. But for some contents needing to be adjusted according to WEB front-end items, such as layout parts of components general-purpose components and configurations of router route entry modules, customized modification can be carried out. Therefore, in an embodiment, obtaining an independent function module of each WEB front-end project based on Vue and the function requirement data of each WEB front-end project includes:
generating an independent function module of each WEB front-end project based on Vue and the function requirement data of each WEB front-end project;
and/or customizing the multiplexing module based on Vue and the function requirement data of each WEB front-end project to generate an independent function module of each WEB front-end project.
In step 103, based on Vue and the service requirement data of each WEB front-end project, obtaining a service module of each WEB front-end project, and integrating a plurality of service modules into a service layer platform, wherein in specific implementation, a service module is a sub-module of an independent function module of a WEB front-end project of an independent layer platform, for example, a service module of a WEB front-end project may have a store-modules module, which is used for providing module content required by Vuex and has a name space; the router-routes module only needs to provide routing path configuration; the locale service module provides global i18 n; the mock-routes module only needs to provide the mock's routing configuration. The service layer platform generally comprises two platforms, namely a container platform and a container management platform, wherein the container platform is a container cloud platform and is used for common users to manage resources including similar images, applications and storage volumes, the container management platform is an operation management platform and is used for an administrator, and the administrator can allocate quotas to the common users.
In an embodiment, the method further comprises:
when version management of WEB front-end projects is carried out, a module of a multiplexing layer platform is a main branch, an independent function module of each WEB front-end project of an independent layer platform is a branch, and each service module of a service layer platform is a sub-module of the independent function module of the WEB front-end project of the independent layer platform.
In the above embodiments, there are various version management tools, for example, it may use Git to perform version management, and the independent function module of each WEB front-end project of the independent layer platform is a branch, that is, each WEB front-end project establishes a new branch based on the principal, and when the principal updates, each branch also updates. Each service module of the service layer platform is a submodule of an independent function module of a WEB front-end project of the independent layer platform, the submodules of Git can be used for managing the submodules, and when the service platform layer is updated, the quoting of the independent platform layer to the service module needs to be updated.
In addition, in the embodiment of the invention, each WEB front-end project can be shared with other WEB front-end projects in a step-by-step precipitation mode, a service layer platform is required for the service module only used in a specific service, if a plurality of WEB front-end projects need to use the service module, the WEB front-end projects can be sunk to the independent layer platform, and after the independent layer platform is mature, if other projects also have the same requirements, the service module can be sunk to the multiplexing layer platform continuously. However, the functional modules that are obviously used for a plurality of WEB front-end items can be directly used as multiplexing functional modules to be added into a multiplexing layer platform.
In step 104, after the management platform of the WEB front-end project is constructed based on the multiplex layer platform, the independent layer platform and the service layer platform, the multiplex layer platform, the independent layer platform and the service layer platform are also configured, mainly interfaces among modules are configured, such as a routing entry, to ensure the overall consistency of the management platform of the WEB front-end project.
Fig. 2 is a schematic diagram of a management platform of a WEB front-end project in an embodiment of the present invention, and it can be seen that a relationship between three platforms of the management platform is provided.
In summary, in the method provided in the embodiment of the present invention, Vue is used to integrate multiplexing functional modules of multiple WEB front-end projects into a multiplexing layer platform; based on Vue and the function demand data of each WEB front-end project, obtaining an independent function module of each WEB front-end project, and integrating a plurality of independent function modules on an independent layer platform; based on Vue and the service requirement data of each WEB front-end project, acquiring a service module of each WEB front-end project, and integrating a plurality of service modules on a service layer platform; and constructing a management platform of the WEB front-end project based on the multiplexing layer platform, the independent layer platform and the service layer platform, and configuring the multiplexing layer platform, the independent layer platform and the service layer platform based on Vue. In the embodiment of the invention, as the three platforms are integrated and are respectively the multiplex layer platform, the independent layer platform and the service layer platform, all the multiplex function module, the independent function module and the service module can be separated, so that the independent management is realized, the maintenance is convenient, the repeated development of the multiplex function module is reduced, and the development efficiency of the WEB front-end project is improved.
In addition, through the embodiment of the invention, front-end developers can clearly find each layer of platform and module, and the customization flexibility is increased on the basis of multiplexing the general functions. The service module is stripped off completely, service developers can update and maintain without considering the architecture realization of a multiplex layer platform and an independent layer platform, newly added developers can be more easily handed, the newly added developers can be directly put into service development, and the whole development architecture for learning WEB front-end projects is reduced.
Based on the same principle, an embodiment of the present invention further provides a service stripping apparatus for a WEB front-end project, and fig. 3 is a schematic diagram of the service stripping apparatus for the WEB front-end project in the embodiment of the present invention, as shown in fig. 3, including:
a first unit 301, configured to integrate multiplexing functional modules of multiple WEB front-end projects into a multiplexing layer platform based on Vue;
a second unit 302, configured to obtain an independent function module of each WEB front-end project based on Vue and function requirement data of each WEB front-end project, and integrate multiple independent function modules in an independent layer platform;
a third unit 303, configured to obtain a service module of each WEB front-end project based on Vue and service demand data of each WEB front-end project, and integrate multiple service modules in a service layer platform;
a fourth unit 304, configured to construct a management platform for a WEB front-end project based on the multiplexing layer platform, the independent layer platform, and the service layer platform, and configure the multiplexing layer platform, the independent layer platform, and the service layer platform based on Vue.
In one embodiment, the multiplexing functional module includes: the virtual device comprises one or any combination of an entry module of Vuex state, a router entry module, a local project international configuration entry module, a mock data entry module, components general components, assets general static files, utils general methods and/or constants, libs external libraries, directives general instruction module, filters general filter, mixins module, plugins general plug-ins, views general page, api component test and config project general configuration module.
In an embodiment, the second unit 302 is specifically configured to:
generating an independent function module of each WEB front-end project based on Vue and the function requirement data of each WEB front-end project;
and/or customizing the multiplexing module based on Vue and the function requirement data of each WEB front-end project to generate an independent function module of each WEB front-end project.
In an embodiment, the apparatus further comprises a version management unit 305 configured to:
when version management of WEB front-end projects is carried out, a module of a multiplexing layer platform is a main branch, an independent function module of each WEB front-end project of an independent layer platform is a branch, and each service module of a service layer platform is a sub-module of the independent function module of the WEB front-end project of the independent layer platform.
In summary, in the apparatus provided in the embodiment of the present invention, Vue is used to integrate multiplexing function modules of multiple WEB front-end items into a multiplexing layer platform; based on Vue and the function demand data of each WEB front-end project, obtaining an independent function module of each WEB front-end project, and integrating a plurality of independent function modules on an independent layer platform; based on Vue and the service requirement data of each WEB front-end project, acquiring a service module of each WEB front-end project, and integrating a plurality of service modules on a service layer platform; and constructing a management platform of the WEB front-end project based on the multiplexing layer platform, the independent layer platform and the service layer platform, and configuring the multiplexing layer platform, the independent layer platform and the service layer platform based on Vue. In the embodiment of the invention, as the three platforms are integrated and are respectively the multiplex layer platform, the independent layer platform and the service layer platform, all the multiplex function module, the independent function module and the service module can be separated, so that the independent management is realized, the maintenance is convenient, the repeated development of the multiplex function module is reduced, and the development efficiency of the WEB front-end project is improved.
In addition, through the embodiment of the invention, front-end developers can clearly find each layer of platform and module, and the customization flexibility is increased on the basis of multiplexing the general functions. The service module is stripped off completely, service developers can update and maintain without considering the architecture realization of a multiplex layer platform and an independent layer platform, newly added developers can be more easily handed, the newly added developers can be directly put into service development, and the whole development architecture for learning WEB front-end projects is reduced.
An embodiment of the present application further provides a computer device, and fig. 4 is a schematic diagram of the computer device in the embodiment of the present invention, where the computer device is capable of implementing all steps in the service stripping method for a WEB front-end project in the foregoing embodiment, and the electronic device specifically includes the following contents:
a processor (processor)401, a memory (memory)402, a communication interface (communications interface)403, and a bus 404;
the processor 401, the memory 402 and the communication interface 403 complete mutual communication through the bus 404; the communication interface 403 is used for implementing information transmission between related devices such as server-side devices, detection devices, and user-side devices;
the processor 401 is configured to call the computer program in the memory 402, and when the processor executes the computer program, the processor implements all the steps in the service stripping method for the WEB front-end project in the foregoing embodiments.
An embodiment of the present application further provides a computer-readable storage medium, which can implement all steps in the service stripping method for a WEB front-end project in the foregoing embodiment, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the computer program implements all steps of the service stripping method for a WEB front-end project in the foregoing embodiment.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (10)
1. A method for stripping services of WEB front-end projects is characterized by comprising the following steps:
vue, integrating multiplexing function modules of a plurality of WEB front-end projects on a multiplexing layer platform;
based on Vue and the function demand data of each WEB front-end project, obtaining an independent function module of each WEB front-end project, and integrating a plurality of independent function modules on an independent layer platform;
based on Vue and the service requirement data of each WEB front-end project, acquiring a service module of each WEB front-end project, and integrating a plurality of service modules on a service layer platform;
and constructing a management platform of the WEB front-end project based on the multiplexing layer platform, the independent layer platform and the service layer platform, and configuring the multiplexing layer platform, the independent layer platform and the service layer platform based on Vue.
2. The method for service stripping of WEB front-end projects according to claim 1, wherein the multiplexing function module comprises: the virtual device comprises one or any combination of an entry module of Vuex state, a router entry module, a local project international configuration entry module, a mock data entry module, components general components, assets general static files, utils general methods and/or constants, libs external libraries, directives general instruction module, filters general filter, mixins module, plugins general plug-ins, views general page, api component test and config project general configuration module.
3. The method of claim 1, wherein the obtaining of the independent function module of each WEB front-end project based on Vue and the function requirement data of each WEB front-end project comprises:
generating an independent function module of each WEB front-end project based on Vue and the function requirement data of each WEB front-end project;
and/or customizing the multiplexing module based on Vue and the function requirement data of each WEB front-end project to generate an independent function module of each WEB front-end project.
4. The WEB front-end project business stripping method according to claim 1, further comprising:
when version management of WEB front-end projects is carried out, a module of a multiplexing layer platform is a main branch, an independent function module of each WEB front-end project of an independent layer platform is a branch, and each service module of a service layer platform is a sub-module of the independent function module of the WEB front-end project of the independent layer platform.
5. A service stripping device for WEB front-end projects is characterized by comprising:
a first unit, configured to integrate multiplexing functional modules of multiple WEB front-end projects into a multiplexing layer platform based on Vue;
the second unit is used for acquiring an independent function module of each WEB front-end project based on Vue and the function demand data of each WEB front-end project, and integrating a plurality of independent function modules on an independent layer platform;
a third unit, configured to obtain a service module of each WEB front-end project based on Vue and service demand data of each WEB front-end project, and integrate multiple service modules in a service layer platform;
and the fourth unit is used for constructing a management platform of the WEB front-end project based on the multiplexing layer platform, the independent layer platform and the service layer platform, and configuring the multiplexing layer platform, the independent layer platform and the service layer platform based on Vue.
6. The WEB front-end project business stripping device of claim 5, wherein the multiplexing function module comprises: the virtual device comprises one or any combination of an entry module of Vuex state, a router entry module, a local project international configuration entry module, a mock data entry module, components general components, assets general static files, utils general methods and/or constants, libs external libraries, directives general instruction module, filters general filter, mixins module, plugins general plug-ins, views general page, api component test and config project general configuration module.
7. The device for stripping services from a WEB front-end project according to claim 5, wherein the second unit is specifically configured to:
generating an independent function module of each WEB front-end project based on Vue and the function requirement data of each WEB front-end project;
and/or customizing the multiplexing module based on Vue and the function requirement data of each WEB front-end project to generate an independent function module of each WEB front-end project.
8. The WEB front-end project business peeling apparatus of claim 5, further comprising a version management unit, configured to:
when version management of WEB front-end projects is carried out, a module of a multiplexing layer platform is a main branch, an independent function module of each WEB front-end project of an independent layer platform is a branch, and each service module of a service layer platform is a sub-module of the independent function module of the WEB front-end project of the independent layer platform.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the method of any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010186130.4A CN111399835B (en) | 2020-03-17 | 2020-03-17 | Service stripping method and device for WEB front-end project |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010186130.4A CN111399835B (en) | 2020-03-17 | 2020-03-17 | Service stripping method and device for WEB front-end project |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111399835A true CN111399835A (en) | 2020-07-10 |
CN111399835B CN111399835B (en) | 2024-05-17 |
Family
ID=71436331
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010186130.4A Active CN111399835B (en) | 2020-03-17 | 2020-03-17 | Service stripping method and device for WEB front-end project |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111399835B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112148263A (en) * | 2020-09-28 | 2020-12-29 | 建信金融科技有限责任公司 | Front-end standard frame and generation method, device, equipment and storage medium thereof |
CN113378091A (en) * | 2021-06-08 | 2021-09-10 | 北京百度网讯科技有限公司 | Visual project generation method and device, electronic equipment and storage medium |
CN113805885A (en) * | 2021-09-18 | 2021-12-17 | 建信金融科技有限责任公司 | Workflow engine-based front-end construction system and method of flow management system |
CN114650224A (en) * | 2020-12-21 | 2022-06-21 | 北京金山云网络技术有限公司 | Node function configuration method and device, electronic equipment and system |
CN114860225A (en) * | 2022-05-20 | 2022-08-05 | 北京智源人工智能研究院 | Type safety system based on git submodule, implementation method and electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150199755A1 (en) * | 2014-01-16 | 2015-07-16 | Abraham L.B. Friedman | 3-d printing auction system |
CN106873969A (en) * | 2016-12-29 | 2017-06-20 | 广州凯耀资产管理有限公司 | A kind of development approach and development platform of J2EE projects |
CN109284093A (en) * | 2018-10-26 | 2019-01-29 | 深圳易嘉恩科技有限公司 | Cross-platform Development Framework and its implementation based on front-end technology |
CN109325203A (en) * | 2018-09-10 | 2019-02-12 | 北京亚鸿世纪科技发展有限公司 | The device of Web system visualization multiplexing is realized in a kind of automation |
CN109783083A (en) * | 2019-01-16 | 2019-05-21 | 福建天泉教育科技有限公司 | WEB application development approach and its system |
CN110780853A (en) * | 2019-09-28 | 2020-02-11 | 同程网络科技股份有限公司 | Front end framework, development method, storage medium and electronic device |
-
2020
- 2020-03-17 CN CN202010186130.4A patent/CN111399835B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150199755A1 (en) * | 2014-01-16 | 2015-07-16 | Abraham L.B. Friedman | 3-d printing auction system |
CN106873969A (en) * | 2016-12-29 | 2017-06-20 | 广州凯耀资产管理有限公司 | A kind of development approach and development platform of J2EE projects |
CN109325203A (en) * | 2018-09-10 | 2019-02-12 | 北京亚鸿世纪科技发展有限公司 | The device of Web system visualization multiplexing is realized in a kind of automation |
CN109284093A (en) * | 2018-10-26 | 2019-01-29 | 深圳易嘉恩科技有限公司 | Cross-platform Development Framework and its implementation based on front-end technology |
CN109783083A (en) * | 2019-01-16 | 2019-05-21 | 福建天泉教育科技有限公司 | WEB application development approach and its system |
CN110780853A (en) * | 2019-09-28 | 2020-02-11 | 同程网络科技股份有限公司 | Front end framework, development method, storage medium and electronic device |
Non-Patent Citations (1)
Title |
---|
王璐等: ""基于 Vue.js 的在线设计开放平台研究与实现"", 《信息技术与信息化》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112148263A (en) * | 2020-09-28 | 2020-12-29 | 建信金融科技有限责任公司 | Front-end standard frame and generation method, device, equipment and storage medium thereof |
CN112148263B (en) * | 2020-09-28 | 2024-03-08 | 建信金融科技有限责任公司 | Front-end standard framework, and generation method, device, equipment and storage medium thereof |
CN114650224A (en) * | 2020-12-21 | 2022-06-21 | 北京金山云网络技术有限公司 | Node function configuration method and device, electronic equipment and system |
CN114650224B (en) * | 2020-12-21 | 2023-06-30 | 北京金山云网络技术有限公司 | Configuration method, device, electronic equipment and system of node function |
CN113378091A (en) * | 2021-06-08 | 2021-09-10 | 北京百度网讯科技有限公司 | Visual project generation method and device, electronic equipment and storage medium |
CN113378091B (en) * | 2021-06-08 | 2024-05-14 | 北京百度网讯科技有限公司 | Visualized item generation method and device, electronic equipment and storage medium |
CN113805885A (en) * | 2021-09-18 | 2021-12-17 | 建信金融科技有限责任公司 | Workflow engine-based front-end construction system and method of flow management system |
CN113805885B (en) * | 2021-09-18 | 2023-06-02 | 建信金融科技有限责任公司 | Workflow engine-based front-end construction system and method for flow-type management system |
CN114860225A (en) * | 2022-05-20 | 2022-08-05 | 北京智源人工智能研究院 | Type safety system based on git submodule, implementation method and electronic equipment |
CN114860225B (en) * | 2022-05-20 | 2023-11-10 | 北京智源人工智能研究院 | Type security system based on git sub-module, implementation method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN111399835B (en) | 2024-05-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111399835A (en) | Service stripping method and device for WEB front-end project | |
US10649751B2 (en) | Deploying an application in a cloud computing environment | |
CN108140007B (en) | Securely deploying applications across deployment locations | |
JP5669861B2 (en) | Virtual image porting across platforms | |
US20070094641A1 (en) | Product configuration using configuration patterns | |
CN110109659A (en) | A kind of system that realizing front end applications scaffold and server | |
KR101782457B1 (en) | Application upgrade method and apparatus | |
US8533667B2 (en) | Call wizard for information management system (IMS) applications | |
CN112866333A (en) | Cloud-native-based micro-service scene optimization method, system, device and medium | |
US20110258620A1 (en) | Method and Apparatus for Making a BPM Application Available to Multiple Tenants | |
CN111264048A (en) | Method of defining a Network Service Descriptor (NSD) for a Network Service (NS) and Network Function Virtualization (NFV) orchestrator (NFVO) using the NSD | |
US20200302350A1 (en) | Natural language processing based business domain modeling | |
CN117149459A (en) | Micro front-end system, construction method and device of micro front-end system and electronic equipment | |
CN117859309A (en) | Automatically selecting a node on which to perform a task | |
CN115016784A (en) | Low code application multiplexing method, application analysis system, equipment and storage medium | |
CN112698930B (en) | Method, device, equipment and medium for obtaining server identification | |
CN108536447B (en) | Operation and maintenance management method | |
US20130191357A1 (en) | Managing multiple versions of enterprise meta-models using semantic based indexing | |
US8027362B2 (en) | Methods and systems for pushing and pulling network data in user interface design | |
Ahmed-Nacer et al. | Simulation of configurable resource allocation for cloud-based business processes | |
CN116932147A (en) | Streaming job processing method and device, electronic equipment and medium | |
CN115904467A (en) | Rollback of services with global variable changes | |
CN111158684B (en) | System creation method, device, electronic equipment and readable storage medium | |
KR20050066281A (en) | Descriptor file architecture based on sca system and file parsing method thereof | |
KR20050076762A (en) | Deterministic rule-based dispatch of objects to code |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20220906 Address after: 25 Financial Street, Xicheng District, Beijing 100033 Applicant after: CHINA CONSTRUCTION BANK Corp. Address before: 25 Financial Street, Xicheng District, Beijing 100033 Applicant before: CHINA CONSTRUCTION BANK Corp. Applicant before: Jianxin Financial Science and Technology Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |