CN107291458A - A kind of plug-in unit construction method, system and the server of Web applications - Google Patents
A kind of plug-in unit construction method, system and the server of Web applications Download PDFInfo
- Publication number
- CN107291458A CN107291458A CN201710431511.2A CN201710431511A CN107291458A CN 107291458 A CN107291458 A CN 107291458A CN 201710431511 A CN201710431511 A CN 201710431511A CN 107291458 A CN107291458 A CN 107291458A
- Authority
- CN
- China
- Prior art keywords
- plug
- unit
- code
- web
- server
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
- G06F8/22—Procedural
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of plug-in unit construction method of Web applications and system, this method includes:Plug-in unit catalogue is scanned, is that each plug-in unit in plug-in unit catalogue installs corresponding dependence storehouse;The service of Web server end is initialized, general purpose module is registered and creates Web using corresponding server application example, general purpose module includes static resource service;For each plug-in unit in each plug-in unit, if its plug-in code includes server-side code, the server end registration code of the plug-in unit is obtained and parses, so as to which the server end of the plug-in unit is performed into code injection into server application example;Initialize Web client service and apply corresponding client's end entrance there is provided Web;For each plug-in unit in each plug-in unit, if its plug-in code includes client code, client code is packed, and is put into static resource catalogue will pass through static resource service to be supplied to client as static resource, to complete the structure of Web applications.
Description
Technical field
The present invention relates to Internet technology and software architecture field, more particularly to a kind of plug-in unitization structure side of Web applications
Method, system, server and computing device.
Background technology
In software architecture field, wish to build the system being made up of plug-in unit or component always, to replace whole style.
Whole style refers to a complete application as development block, internal natural division be client, server end and
Database, but with the expansion of business function, the maintenance difficulties of whole style are increased, it is difficult to the coupling depth between control module,
Trouble is brought for issue, maintenance and expansion.And plug-in unit wind transmission lattice refer to by small service development into single application form, often
Individual application can be substituted and independently updated with stand-alone development, independence.When it is determined that plug-in unit border when, plug-in unit wind transmission lattice surround business work(
It can be divided, realize the centralized management that bottom line is kept to each plug-in unit.
Nowadays, greatly developing with Internet technology, being widely popularized and being used for Web applications, should for Web
For, if carrying out application build using whole style, it can to hold in face of client and in face of the function of server
Easily obscure, cause module coupling deeply, be highly detrimental to the maintenance and renewal in later stage, thus generally using plug-in unit wind transmission lattice come
Build Web applications.
In the plug-in unit construction method of existing Web applications, the Web based on Node.js by representative of Express, Koa
Using rear end Development Framework there is provided the scheme of Web applications is strengthened with middleware, various functions itself are extracted from application
Come, be added to as middleware in framework, but middleware is not suitable for realizing service logic, and rear end Development Framework can not be carried
For front-end functionality, such as user interface still needs to separately realize, this equivalent to business function exploitation still based on whole style.It is another
Aspect, for front-end functionality, the common user interface of such as sidebar, bulletin board for the purpose of displaying is defined more
The plug-in unit that user interface is included, it is impossible to support changeable business scenario, and onrelevant between plug-in unit, it is impossible to interdepend or join
It is dynamic, and as front-end technology, it is not directed to the realization of rear end.Accordingly, it would be desirable to a kind of plug-in unit construction method of new Web applications
To optimize above-mentioned processing procedure.
The content of the invention
Therefore, the present invention provides the technical scheme that a kind of plug-in unitization of Web applications is built, to try hard to solve or at least delay
The problem of solution exists above.
According to an aspect of the present invention there is provided a kind of plug-in unit construction method of Web applications, suitable for holding in the server
OK, Web, which is applied, is suitable to by multiple plug-in unit combination producings, and each plug-in unit has corresponding dependence storehouse and plug-in code, plug-in code
Including server-side code and/or client code, server-side code includes server end registration code and server end is held
Line code, this method comprises the following steps:Plug-in unit catalogue is scanned first, is that each plug-in unit in plug-in unit catalogue installs corresponding rely on
Storehouse;The service of Web server end is initialized, general purpose module is registered and creates Web using corresponding server application example, common group
Part includes static resource service;For each plug-in unit in each plug-in unit, if its plug-in code includes server-side code, obtain
And the server end registration code of the plug-in unit is parsed, so as to which the server end of the plug-in unit is performed into code injection to server application
In example;Initialize Web client service and apply corresponding client's end entrance there is provided Web;For each slotting in each plug-in unit
Part, if its plug-in code includes client code, client code is packed, and be put into static resource mesh as static resource
Client is supplied to will pass through static resource service in record, to complete the structure of Web applications.
Alternatively, in the plug-in unit construction method applied according to the Web of the present invention, create Web and apply corresponding service
The step of device application example, includes:The initial configuration information of reading Web service device end service, initial configuration information includes
The configurations of Web applications;Web, which is created, according to configurations applies corresponding server application example.
Alternatively, in the plug-in unit construction method applied according to the Web of the present invention, configurations include Web server
The port held the IP address of service and monitored.
Alternatively, in the plug-in unit construction method applied according to the Web of the present invention, corresponding clothes are applied creating Web
After the step of business device application example, in addition to:All plug-in units in plug-in unit catalogue are traveled through, the configuration file of each plug-in unit is obtained,
And export configuration file.
Alternatively, in the plug-in unit construction method applied according to the Web of the present invention, configuration file includes plug-in unit ID, clothes
Business device end code entrance and/or client code entrance.
Alternatively, in the plug-in unit construction method applied according to the Web of the present invention, in addition to:Obtained from configuration file
Take client code entrance;Obtain the path of corresponding client code according to client code entrance, and passage path is looked into
Find client code.
Alternatively, in the plug-in unit construction method applied according to the Web of the present invention, client code is noted including client
Volume code and client executing code, before the step of client code is packed, method also includes:Parse client generation
Code, to obtain the corresponding plug-in unit ID of client code and complete the registration of corresponding plug-in unit;The plug-in unit parsed is put into plug-in unit
In set, corresponding plug-in unit is searched from plug-in unit set to will pass through plug-in unit ID and is called.
According to a further aspect of the invention there is provided a kind of plug-in unit constructing system of Web applications, the system is suitable to resident
In the server, Web, which is applied, is suitable to by multiple plug-in unit combination producings, and each plug-in unit has corresponding dependence storehouse and plug-in code,
Plug-in code includes server-side code and/or client code, and server-side code includes server end registration code kimonos
Business device end performs code, and the system includes installing module, the first initialization module, first processing module, the second initialization module
And Second processing module.Wherein, module is installed and is suitable to scanning plug-in unit catalogue, be each plug-in unit in plug-in unit catalogue install it is corresponding according to
Lai Ku;First initialization module is suitable to the service of initialization Web server end, registers general purpose module and creates Web using corresponding
Server application example, general purpose module includes static resource service;First processing module is suitable to for each slotting in each plug-in unit
Part, when its plug-in code includes server-side code, obtains and parses the server end registration code of the plug-in unit, so as to should
The server end of plug-in unit performs code injection into server application example;Second initialization module is suitable to initialization web client
End service applies corresponding client's end entrance there is provided Web;Second processing module is suitable to for each plug-in unit in each plug-in unit, when
When its plug-in code includes client code, client code is packed, and is put into as static resource in static resource catalogue
Client is supplied to will pass through static resource service, to complete the structure of Web applications.
Alternatively, in the plug-in unit constructing system applied according to the Web of the present invention, the first initialization module is further fitted
In:The initial configuration information of reading Web service device end service, initial configuration information includes the configurations that Web is applied;Root
Web, which is created, according to configurations applies corresponding server application example.
Alternatively, in the plug-in unit constructing system applied according to the Web of the present invention, configurations include Web server
The port held the IP address of service and monitored.
Alternatively, in the plug-in unit constructing system applied according to the Web of the present invention, in addition to export module, it is suitable to:Time
All plug-in units gone through in plug-in unit catalogue, obtain the configuration file of each plug-in unit, and configuration file is exported.
Alternatively, in the plug-in unit constructing system applied according to the Web of the present invention, configuration file includes plug-in unit ID, clothes
Business device end code entrance and/or client code entrance.
Alternatively, in the plug-in unit constructing system applied according to the Web of the present invention, in addition to acquisition module, it is suitable to:From
Client code entrance is obtained in configuration file;The path of corresponding client code is obtained according to client code entrance, and
Passage path finds client code.
Alternatively, in the plug-in unit constructing system applied according to the Web of the present invention, client code is noted including client
Volume code and client executing code, Second processing module are further adapted for:Client code is parsed, to obtain client code correspondence
Plug-in unit ID and complete the registration of corresponding plug-in unit;The plug-in unit parsed is put into plug-in unit set, with will pass through plug-in unit ID from
Corresponding plug-in unit is searched in plug-in unit set to be called.
According to a further aspect of the invention there is provided a kind of server, including the plug-in unit applied according to the Web of the present invention
Constructing system.
According to a further aspect of the invention there is provided a kind of computing device, including one or more processors, memory with
And one or more programs, wherein one or more program storages in memory and are configured as by one or more processors
Perform, one or more programs include being used to perform the instruction according to the Web of the present invention plug-in unit construction methods applied.
According to a further aspect of the invention, a kind of computer-readable storage medium for storing one or more programs is also provided
Matter, one or more programs include instruction, and instruction is when executed by a computing apparatus so that computing device is according to the present invention's
The plug-in unit construction method of Web applications.
The technical scheme that the plug-in unitization applied according to the Web of the present invention is built, is inserted to constitute each of Web applications first
Part install for dependence storehouse, the service of initialization Web server end with create Web apply for server application example, it is right
Include the plug-in unit of server-side code in plug-in code, it is real to server application that the server end of the plug-in unit is performed into code injection
In example, and Web client service is initialized, the plug-in unit of client code is included for plug-in code, client code is packed
Static resource catalogue is put into be supplied to client as static resource, so as to complete the structure of Web applications.In above-mentioned technology
In scheme, serviced by the Web server end for providing basis so that taken when other Web of subsequent development are applied without overlapping development
Business device end basic function, and each plug-in unit of reusable, realize primary development, are used for multiple times.Moreover, a plug-in unit can be gathered
Web server end and the logic of client, in other words a plug-in unit rear end and front-end functionality can be provided in the lump, enhance this insert
The availability and compatibility of part.Simultaneously as each plug-in unit is after operational angle is decomposed to Web applications, mark off
The plug-in unit that function is single, exploitation is independent, realizes the mutual decoupling between plug-in unit, the influence of other plug-in units need not be considered during exploitation.
The function of other plug-in units is used, without developing packaging code, can be directly called, and replacing, the upgrading of a plug-in unit
Or eliminate do not interfere with other plug-in units so that the dependence between plug-in unit is apparent and can safeguard.
Brief description of the drawings
In order to realize above-mentioned and related purpose, some illustrative sides are described herein in conjunction with following description and accompanying drawing
Face, these aspects indicate the various modes of principles disclosed herein that can put into practice, and all aspects and its equivalent aspect
It is intended to fall under in the range of theme claimed.The following detailed description by being read in conjunction with the figure, the disclosure it is above-mentioned
And other purposes, feature and advantage will be apparent.Throughout the disclosure, identical reference generally refers to identical
Part or element.
Fig. 1 shows the structured flowchart of computing device 100 according to an embodiment of the invention;
Fig. 2 shows the flow chart of the plug-in unit construction method 200 of Web applications according to an embodiment of the invention;
Fig. 3 shows the schematic diagram of the plug-in unit constructing system 300 of Web applications according to an embodiment of the invention;
And
Fig. 4 shows the signal of the plug-in unit constructing system 400 of Web applications according to still another embodiment of the invention
Figure.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Complete conveys to those skilled in the art.
Fig. 1 is the block diagram of Example Computing Device 100.In basic configuration 102, computing device 100, which is typically comprised, is
System memory 106 and one or more processor 104.Memory bus 108 can be used in processor 104 and system storage
Communication between device 106.
Depending on desired configuration, processor 104 can be any kind of processing, include but is not limited to:Microprocessor
(μ P), microcontroller (μ C), digital information processor (DSP) or any combination of them.Processor 104 can be included such as
The cache of one or more rank of on-chip cache 110 and second level cache 112 etc, processor core
114 and register 116.The processor core 114 of example can include arithmetic and logical unit (ALU), floating-point unit (FPU),
Digital signal processing core (DSP core) or any combination of them.The Memory Controller 118 of example can be with processor
104 are used together, or in some implementations, Memory Controller 118 can be an interior section of processor 104.
Depending on desired configuration, system storage 106 can be any type of memory, include but is not limited to:Easily
The property lost memory (RAM), nonvolatile memory (ROM, flash memory etc.) or any combination of them.System is stored
Device 106 can include operating system 120, one or more apply 122 and routine data 124.In some embodiments,
It may be arranged to be operated using routine data 124 on an operating system using 122.
Computing device 100 can also include contributing to from various interface equipments (for example, output equipment 142, Peripheral Interface
144 and communication equipment 146) to basic configuration 102 via the communication of bus/interface controller 130 interface bus 140.Example
Output equipment 142 include graphics processing unit 148 and audio treatment unit 150.They can be configured as contributing to via
One or more A/V port 152 is communicated with the various external equipments of such as display or loudspeaker etc.Outside example
If interface 144 can include serial interface controller 154 and parallel interface controller 156, they can be configured as contributing to
Via one or more I/O port 158 and such as input equipment (for example, keyboard, mouse, pen, voice-input device, touch
Input equipment) or the external equipment of other peripheral hardwares (such as printer, scanner) etc communicated.The communication of example is set
Standby 146 can include network controller 160, and it can be arranged to be easy to via one or more COM1 164 and one
The communication that other individual or multiple computing devices 162 pass through network communication link.
Network communication link can be an example of communication media.Communication media can be generally presented as in such as carrier wave
Or computer-readable instruction in the modulated data signal of other transmission mechanisms etc, data structure, program module, and can
With including any information delivery media." modulated data signal " can such signal, one in its data set or many
It is individual or it change can the mode of coding information in the signal carry out.As nonrestrictive example, communication media can be with
Include the wire medium of such as cable network or private line network etc, and it is such as sound, radio frequency (RF), microwave, infrared
(IR) the various wireless mediums or including other wireless mediums.Term computer-readable medium used herein can include depositing
Both storage media and communication media.
Computing device 100 can be implemented as server, such as file server, database server, application program service
Device and WEB server etc., can also be embodied as a part for portable (or mobile) electronic equipment of small size, these electronic equipments
Can be such as cell phone, personal digital assistant (PDA), personal media player device, wireless network browsing apparatus, individual
Helmet, application specific equipment or the mixing apparatus of any of the above function can be included.Computing device 100 can also be real
It is now to include desktop computer and the personal computer of notebook computer configuration.
In certain embodiments, computing device 100 is embodied as server, and the server is configured as performing according to the present invention
Web application plug-in unit construction method 200.Include the plug-in unit constructing system of the Web applications according to the present invention using 122
300.Wherein, Web, which is applied, is suitable to by multiple plug-in unit combination producings, and each plug-in unit has corresponding dependence storehouse and plug-in code, inserts
Part code includes server-side code and/or client code, and server-side code includes server end registration code and service
Device end performs code.It can thus be appreciated that plug-in unit can be divided into three classes, the first kind is to only include service in Server-side plug, plug-in code
Device end code, Equations of The Second Kind is to only include client code in client plug-in, plug-in code, and the 3rd class is mixed plug-in component, plug-in unit
Both include server-side code or including client code in code, mixed plug-in component can be interpreted as a Server-side plug and
The combination of one client plug-in.Meanwhile, the corresponding server-side code exploitation of agreement plug-in unit is hapi.js component, client
Hold the component that code development is react.js.
Fig. 2 shows the flow chart of the plug-in unit construction method 200 of Web applications according to an embodiment of the invention.Web
The plug-in unit construction method 200 of application is suitable to be embodied as (such as computing device shown in Fig. 1 of computing device 100 of server
100) performed in.
As shown in Fig. 2 method 200 starts from step S210.In step S210, plug-in unit catalogue is scanned, in being plug-in unit catalogue
Each plug-in unit corresponding dependence storehouse is installed.According to one embodiment of present invention, the path of plug-in unit catalogue is /config/
Plugins, the structure of plug-in unit catalogue is as follows:
In this embodiment, plug-in unit catalogue is found according to path/config/plugins and it is scanned, it is right
The plug-in unit scanned, such as plug-in unit authPlugin, install corresponding dependence storehouse.Here dependence storehouse refers generally to third party and increased income
Storehouse, is developed by open source community and is safeguarded, it then follows such as opening for GPL (General Public License, general open licence)
Source protocol, conventional dependence storehouse is including react.js, hapi.js and webpack.js etc..But, for different plug-in units
Speech, may also have some dependence storehouses related to itself function, such as rights management plug-in unit authPlugin, except above-mentioned normal
The dependence storehouse of rule, can also be used such as hapi-auth-jwt2, hapi-cookies and boom etc storehouse.
Then, into step S220, the service of initialization Web server end registers general purpose module and creates Web application correspondences
Server application example, general purpose module include static resource service.According to one embodiment of present invention, in initialization Web
Server service post-registration general purpose module, general purpose module includes static resource service, database, then creates in the following manner
Web is built using corresponding server application example.The initial configuration information of reading Web service device end service, is initialized first
Configuration information includes the configurations that Web is applied, and creating Web further according to configurations applies corresponding server application example.
Wherein, configurations include the IP address that Web server end is serviced and the port monitored.The plug-in unit provided from step S210
Understood in catalogue example, the path of global configuration file is /config/configuration.yml, and global configuration file
Be stored with configuration.yml Web server end service initial configuration information, obtain the initial configuration information
In Back ground Information, by Back ground Information Web server end service IP address be configured to server.host:
127.0.0.1, the port of monitoring is configured to server.port:9999, then realize and start the Web on the port of the machine 9999
The server service of application, the server created here is that the Web applies corresponding server application example, and it is responsible for
Listening port, the request for receiving the external world and the entity for sending all server end logics such as response.
After completing to create Web using corresponding server application example, to continue executing with subsequent step, in addition it is also necessary to obtain
The configuration file of each plug-in unit is taken, to find server-side code and/or the client generation of each plug-in unit based on configuration file
Code, so as to carry out follow-up plug-in code processing.According to one embodiment of present invention, Web is being created using corresponding service
After device application example, all plug-in units in traversal plug-in unit catalogue obtain the configuration file of each plug-in unit, and configuration file is led
Go out.Wherein, configuration file includes plug-in unit ID, server-side code entrance and/or client code entrance.Preferably
In, the configuration file of plug-in unit is generally termed as index.js in plug-in unit catalogue, that is, plug-in unit entry file.With authority pipe
Manage exemplified by plug-in unit authPlugin, its configuration file is /plug ins/authPlugin/index.js, content is as follows:
import auth from'./server/auth';
export function declarePlugin(platform){
return new platform.Plugin({
id:'auth',
ui:{main:'./client'},
server:async server(server){
await auth(server);},
});
}
The configuration file of plug-in unit as implied above, states plug-in unit ID for auth, and sets forth the client of plug-in unit
Code entrance and service end code entrance are held, wherein, the ui parts that client code entrance is shown in configuration file, service end code
The server parts that entrance is shown in configuration file.Can so it understand for the configuration file of plug-in unit, i.e., configuration file is actually
A function is there is provided, the input and output form for this function are made an appointment, if configuration file does not have
The output of agreement is provided, then can not parse and add plug-in unit, such configuration file is illegal configuration file.And then,
In actual treatment, in addition it is also necessary to legal configuration file is selected from the configuration file got according to this distinguishing rule and is exported,
To search the corresponding server-side code of plug-in unit and/or client code from legal configuration file.
It is divided into Server-side plug, client plug-in and the class of mixed plug-in component three in view of plug-in unit, then Server-side plug
Corresponding server-side code need to be obtained, client plug-in need to only obtain corresponding client code, and mixed plug-in component needs to obtain
Take corresponding server-side code and client code.According to one embodiment of present invention, Server-side plug is obtained and mixed
When closing the corresponding server-side code of plug-in unit, server-side code entrance is first obtained from legal configuration file, further according to clothes
The path for the corresponding server-side code of device end code entrance acquisition of being engaged in, and server-side code is found by the path,
And when obtaining client plug-in and the corresponding client code of mixed plug-in component, client generation is first obtained from legal configuration file
Code entrance, the path of corresponding client code is obtained further according to client code entrance, and finds visitor by the path
Family end code.For example, rights management plug-in unit authPlugin is it is clear that a mixed plug-in component, the service to obtain the plug-in unit
Device end code, then obtain server-side code entrance, i.e., from configuration file/plugins/authPlugin/index.js
The content of server parts, and then the path of corresponding server-side code is obtained to search server-side code, to obtain
The client code of the plug-in unit, then obtain client code from configuration file/plugins/authPlugin/index.js and enter
Mouthful, i.e. the content of ui parts, and then obtain the path of corresponding client code to search client code.
Next, into step S230, for each plug-in unit in each plug-in unit, if its plug-in code includes server end generation
Code, then obtain and parse the server end registration code of the plug-in unit, so as to which the server end of plug-in unit execution code injection is arrived
In server application example.According to one embodiment of present invention, in the plug-in code of Server-side plug and mixed plug-in component
Including corresponding server-side code, then for this two classes plug-in unit, the server end registration code of plug-in unit is obtained and parsed, lead to
Cross and perform the server end registration code server end of plug-in unit is performed into code injection into server application example.Server
End performs code and is actually similar to a route, and the route of the injection is added into corresponding monitoring list, once receive
Request to the route, that is, be transmitted to correspondence plug-in unit so that it is handled, the correlative code of above-mentioned injection process is as follows:
// plug-in unit calls Plugin constructed fuctions to create plug-in unit example
Module.exports=platform=>new platform.Plugin({
id:'mysql_node',
server:Async server=>{
await mysqlNode(server);},
});
// call register to inject plug-in unit example
Server.register (plugins, err=>handleErr(err,server));
In step S240, initialization Web client service applies corresponding client's end entrance there is provided Web.According to this hair
Bright one embodiment, after initialization Web client service, applies outside corresponding client's end entrance providing Web, also provides
Data mapping.In this embodiment, data mapping refers to Redux technologies, is divided originally by each component client
The data do not held, or state, are converged in a storage container Store, and are transmitted layer by layer by unidirectional traffic, make visitor
The maintenance of family end component states becomes simple and clear.It is more ripe existing skill on implementing for Redux technologies
Art, is not repeated herein.
After above-mentioned initialization Web client service is completed, step S250 should be performed to insert client plug-in and mixing
Client code corresponding to part carries out packing processing, but before packing, in addition it is also necessary to plug-in unit corresponding to each client code
Registered.According to one embodiment of present invention, client code includes client registers code and client executing code,
Before client code is packed, the client code is parsed, to obtain the corresponding plug-in unit ID of the client code and complete
The registration of corresponding plug-in unit, then the plug-in unit parsed is put into plug-in unit set, looked into will pass through plug-in unit ID from plug-in unit set
Corresponding plug-in unit is looked for be called.Due to only having client plug-in and mixed plug-in component that just there is corresponding client code,
In the embodiment, client plug-in can be further divided into the client plug-in of route and the client plug-in without route, mix
Close what plug-in unit was then made up of a Server-side plug and one client plug-in of route.
For the client plug-in for having route, it generally corresponds to one or several pages, such as provide "/
Login ", " the rights management plug-in unit authPlugin of/signup " pages.Now, by the client for the client plug-in for having route
Hold after code analysis, obtain the corresponding plug-in unit ID of the client code for auth, and follow React-Router usage should
The client plug-in for having route is mounted in the client of its registration route, so that the registration of corresponding plug-in unit is completed, related generation
Code is as follows:
// plug-in unit calls addReducer and addRouteConfig to transmit routing configuration and function of state
Register.addReducer('auth',auth);
Register.addRouteConfig({
path:'/auth',
indexRoute:{component:require('./containers/Auth').default},
});
// use React-Router, the client route that carry plug-in unit is registered to it
ReactDOM.render(
<Provider store={ store }>
<Router history={ history } routes={ { childRoutes:modules}}/>
</Provider>,
……
);
It should be noted that in actual process, for having the client plug-in of route and Server-side plug class
Seemingly, just come into force after the registration is finished, accessing corresponding route can start working, and the client plug-in without route is then
It is different.For the client plug-in without route, it is the common component used on the page, such as one form, a bullet
Go out frame etc., after the registration of the client plug-in without route is completed, also need the plug-in unit that will have been parsed to be put into plug-in unit set, so as to
Search corresponding plug-in unit from plug-in unit set to be called by plug-in unit ID, so as to be rendered into the page, correlative code is as follows
It is shown:
// plug-in unit calls addHook to add plug-in unit set
Register.addHook(DataTable,{hook:'DataTable'});
// plug-in unit is obtained according to plug-in unit ID, it is converted into React interface elements
Const hook=hooks [plugin_name];
React.createElement(hook,{children:this.props.children})
Finally, into step S250, for each plug-in unit in each plug-in unit, if its plug-in code includes client code,
Then client code is packed, and is put into static resource catalogue will pass through static resource service to provide as static resource
To client, to complete the structure of Web applications.According to one embodiment of present invention, by client plug-in and mixed plug-in component pair
The client code answered carries out packing processing, is put into as static resource in static resource catalogue, such as is put into "/dist/
Assets " files, here "/dist/assets " files are an example of static resource catalogue, institute specific as follows
Show:
After Web applications are built, inserting for each plug-in unit can be obtained from the package.json files under plug-in unit catalogue
Part ID and version number, the information such as plug-in unit ID, the version number of all plug-in units are recorded, and start the service of Web server end, extremely
This, the plug-in unitization of Web applications, which is built, completes and can start offer service.
Fig. 3 shows the schematic diagram of the plug-in unit constructing system 300 of the Web applications of one embodiment of the invention.Such as Fig. 3 institutes
Show, the plug-in unit constructing system 300 of Web applications includes installing module 310, the first initialization module 320, first processing module
330th, the second initialization module 340 and Second processing module 350.
Module 310 is installed and is suitable to scanning plug-in unit catalogue, is that each plug-in unit in plug-in unit catalogue installs corresponding dependence storehouse.
First initialization module 320 is connected with installing module 310, suitable for initialization Web server end service, registers general
Component simultaneously creates Web using corresponding server application example, and general purpose module includes static resource service.First initialization module
320 are further adapted for:The initial configuration information of reading Web service device end service, initial configuration information includes what Web was applied
Configurations;Web, which is created, according to configurations applies corresponding server application example.Wherein, configurations include Web service
The IP address of device end service and the port monitored.
First processing module 330 is connected with the first initialization module 320, suitable for for each plug-in unit in each plug-in unit, when
When its plug-in code includes server-side code, the server end registration code of the plug-in unit is obtained and parses, so as to by the plug-in unit
Server end perform code injection into server application example.
Second initialization module 340 is connected with installing module 310, should there is provided Web suitable for initialization Web client service
With corresponding client's end entrance.
Second processing module 350 is connected with the first initialization module 320 and the second initialization module 340 respectively, suitable for pair
Each plug-in unit in each plug-in unit, when its plug-in code includes client code, client code is packed, and as static
Resource is put into static resource catalogue will pass through static resource service to be supplied to client, to complete the structure of Web applications.
Client code includes client registers code and client executing code, and Second processing module 350 is further adapted for parsing client
Code, to obtain the corresponding plug-in unit ID of client code and complete the registration of corresponding plug-in unit;The plug-in unit parsed is put into slotting
In part set, corresponding plug-in unit is searched from plug-in unit set to will pass through plug-in unit ID and is called.
Fig. 4 shows the schematic diagram of the plug-in unit constructing system 400 of the Web applications of another embodiment of the invention.Such as Fig. 4
It is shown, installation module 410, the first initialization module 420, the first processing module of the plug-in unit constructing system 400 of Web applications
430th, the second initialization module 440 and Second processing module 450, the plug-in unit constructing system 300 applied respectively with Web in Fig. 3
Installation module 310, the first initialization module 320, first processing module 330, the second initialization module 340 and second processing mould
Block 350 is corresponded, and is consistent, and has increased export module 460 and acquisition module 470 newly.
Export module 460 is suitable to all plug-in units in traversal plug-in unit catalogue, obtains the configuration file of each plug-in unit, and will configuration
File is exported.Wherein, configuration file includes plug-in unit ID, server-side code entrance and/or client code entrance.
Acquisition module 470 is connected with Second processing module 450 and export module 460 respectively, suitable for being obtained from configuration file
Take client code entrance;Obtain the path of corresponding client code according to client code entrance, and passage path is looked into
Find client code.
The specific steps and embodiment built on the plug-in unitization that Web is applied are detailed in the description based on Fig. 2
Open, here is omitted.
In the plug-in unit construction method of existing Web applications, front-end functionality can not be provided in the exploitation of rear end, it is used
Middleware is not suitable for realizing service logic, and the exploitation of business function is still based on whole style, and for being developed to front end, difficult
To support changeable business scenario, and onrelevant between plug-in unit, it is impossible to interdepend or link, and be not directed to the reality of rear end
It is existing.The technical scheme that the plug-in unitization of Web applications according to embodiments of the present invention is built, first to constitute each of Web applications
Plug-in unit install for dependence storehouse, the service of initialization Web server end with create Web apply for server application example,
Include the plug-in unit of server-side code for plug-in code, the server end of the plug-in unit is performed into code injection to server application
In example, and Web client service is initialized, the plug-in unit of client code is included for plug-in code, client code is beaten
Bag is put into static resource catalogue to be supplied to client as static resource, so as to complete the structure of Web applications.In above-mentioned skill
In art scheme, serviced by the Web server end for providing basis so that without overlapping development when other Web of subsequent development are applied
Server end basic function, and each plug-in unit of reusable, realize primary development, are used for multiple times.Moreover, a plug-in unit can be gathered
Web server end and the logic of client, in other words a plug-in unit rear end and front-end functionality can be provided in the lump, enhance this insert
The availability and compatibility of part.Simultaneously as each plug-in unit is after operational angle is decomposed to Web applications, mark off
The plug-in unit that function is single, exploitation is independent, realizes the mutual decoupling between plug-in unit, the influence of other plug-in units need not be considered during exploitation.
The function of other plug-in units is used, without developing packaging code, can be directly called, and replacing, the upgrading of a plug-in unit
Or eliminate do not interfere with other plug-in units so that the dependence between plug-in unit is apparent and can safeguard.
A7. the method as any one of A1-6, the client code includes client registers code and client
Code is performed, before the step of client code is packed, methods described also includes:
The client code is parsed, to obtain the corresponding plug-in unit ID of the client code and complete corresponding plug-in unit
Registration;
The plug-in unit parsed is put into plug-in unit set, with will pass through plug-in unit ID searched from the plug-in unit set it is corresponding
Plug-in unit is called.
B9. the system as described in B8, first initialization module is further adapted for:
The initial configuration information of the Web server end service is read, the initial configuration information includes the Web
The configurations of application;
The Web, which is created, according to the configurations applies corresponding server application example.
B10. the system as described in B9, the configurations include IP address and the monitoring that the Web server end is serviced
Port.
B11. the system as any one of B8-10, in addition to export module, is suitable to:
All plug-in units in the plug-in unit catalogue are traveled through, the configuration file of each plug-in unit is obtained, and the configuration file is led
Go out.
B12. the system as described in B11, the configuration file includes plug-in unit ID, server-side code entrance and/or client
Hold code entrance.
B13. the system as described in B11 or 12, in addition to acquisition module, is suitable to:
Client code entrance is obtained from the configuration file;
The path of corresponding client code is obtained according to the client code entrance, and is searched by the path
To the client code.
B14. the system as any one of B8-13, the client code includes client registers code and client
End performs code, and the Second processing module is further adapted for:
The client code is parsed, to obtain the corresponding plug-in unit ID of the client code and complete corresponding plug-in unit
Registration;
The plug-in unit parsed is put into plug-in unit set, with will pass through plug-in unit ID searched from the plug-in unit set it is corresponding
Plug-in unit is called.
In the specification that this place is provided, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice in the case of these no details.In some instances, known method, knot is not been shown in detail
Structure and technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect, exist
Above in the description of the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:It is i.e. required to protect
The application claims of shield are than the feature more features that is expressly recited in each claim.More precisely, as following
As claims reflect, inventive aspect is all features less than single embodiment disclosed above.Therefore, abide by
Thus the claims for following embodiment are expressly incorporated in the embodiment, wherein each claim is in itself
It is used as the separate embodiments of the present invention.
Those skilled in the art should be understood the module or unit or group of the equipment in example disclosed herein
Between can be arranged in equipment as depicted in this embodiment, or alternatively can be positioned at and the equipment in the example
In different one or more equipment.Module in aforementioned exemplary can be combined as a module or be segmented into addition multiple
Submodule.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment
Member or group between be combined into one between module or unit or group, and can be divided into addition multiple submodule or subelement or
Between subgroup.In addition at least some in such feature and/or process or unit exclude each other, it can use any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power
Profit is required, summary and accompanying drawing) disclosed in each feature can or similar purpose identical, equivalent by offer alternative features come generation
Replace.
Although in addition, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments
In included some features rather than further feature, but the combination of the feature of be the same as Example does not mean in of the invention
Within the scope of and form different embodiments.For example, in the following claims, times of embodiment claimed
One of meaning mode can be used in any combination.
In addition, be described as herein can be by the processor of computer system or by performing for some in the embodiment
Method or the combination of method element that other devices of the function are implemented.Therefore, with for implementing methods described or method
The processor of the necessary instruction of element forms the device for implementing this method or method element.In addition, device embodiment
Element described in this is the example of following device:The device is used to implement as in order to performed by implementing the element of the purpose of the invention
Function.
Various technologies described herein can combine hardware or software, or combinations thereof is realized together.So as to the present invention
Method and apparatus, or the process and apparatus of the present invention some aspects or part can take embedded tangible media, such as it is soft
The form of program code (instructing) in disk, CD-ROM, hard disk drive or other any machine readable storage mediums,
Wherein when program is loaded into the machine of such as computer etc, and when being performed by the machine, the machine becomes to put into practice this hair
Bright equipment.
In the case where program code is performed on programmable computers, computing device generally comprises processor, processor
Readable storage medium (including volatibility and nonvolatile memory and/or memory element), at least one input unit, and extremely
A few output device.Wherein, memory is arranged to store program codes;Processor is arranged to according to the memory
Instruction in the described program code of middle storage, performs the plug-in unit construction method of the Web applications of the present invention.
By way of example and not limitation, computer-readable medium includes computer-readable storage medium and communication media.Calculate
Machine computer-readable recording medium includes computer-readable storage medium and communication media.Computer-readable storage medium storage such as computer-readable instruction,
The information such as data structure, program module or other data.Communication media is general modulated with carrier wave or other transmission mechanisms etc.
Data-signal processed passes to embody computer-readable instruction, data structure, program module or other data including any information
Pass medium.Any combination above is also included within the scope of computer-readable medium.
As used in this, unless specifically stated so, come using ordinal number " first ", " second ", " the 3rd " etc.
Description plain objects are merely representative of the different instances for being related to similar object, and are not intended to imply that the object being so described must
Must have the time it is upper, spatially, in terms of sequence or given order in any other manner.
Although describing the present invention according to the embodiment of limited quantity, above description, the art are benefited from
It is interior it is clear for the skilled person that in the scope of the present invention thus described, it can be envisaged that other embodiments.Additionally, it should be noted that
The language that is used in this specification primarily to readable and teaching purpose and select, rather than in order to explain or limit
Determine subject of the present invention and select.Therefore, in the case of without departing from the scope and spirit of the appended claims, for this
Many modifications and changes will be apparent from for the those of ordinary skill of technical field.For the scope of the present invention, to this
The done disclosure of invention is illustrative and not restrictive, and it is intended that the scope of the present invention be defined by the claims appended hereto.
Claims (10)
1. a kind of plug-in unit construction method of Web applications, suitable for performing in the server, the Web, which is applied, to be suitable to be inserted by multiple
Part combination producing, each plug-in unit has corresponding dependence storehouse and a plug-in code, the plug-in code include server-side code and/
Or client code, the server-side code includes server end registration code and server end performs code, methods described
Including:
Plug-in unit catalogue is scanned, is that each plug-in unit in the plug-in unit catalogue installs corresponding dependence storehouse;
The service of Web server end is initialized, general purpose module is registered and creates the Web using corresponding server application example,
The general purpose module includes static resource service;
For each plug-in unit in each plug-in unit, if its plug-in code includes server-side code, obtain and parse the plug-in unit
Server end registration code, so as to which the server end of the plug-in unit is performed into code injection into the server application example;
Initialize Web client service and apply corresponding client's end entrance there is provided the Web;
For each plug-in unit in each plug-in unit, if its plug-in code includes client code, the client code is packed,
And be put into the static resource catalogue will pass through the static resource service to be supplied to client as static resource, with
Complete the structure of the Web applications.
2. the method as described in claim 1, the step of establishment Web applies corresponding server application example is wrapped
Include:
The initial configuration information of the Web server end service is read, the initial configuration information is applied including the Web
Configurations;
The Web, which is created, according to the configurations applies corresponding server application example.
3. method as claimed in claim 2, the configurations include IP address and the monitoring that the Web server end is serviced
Port.
4. the method as any one of claim 1-3, is creating the Web using corresponding server application example
After step, in addition to:
All plug-in units in the plug-in unit catalogue are traveled through, the configuration file of each plug-in unit is obtained, and the configuration file is exported.
5. method as claimed in claim 4, the configuration file includes plug-in unit ID, server-side code entrance and/or client
Hold code entrance.
6. the method as described in claim 4 or 5, in addition to:
Client code entrance is obtained from the configuration file;
The path of corresponding client code is obtained according to the client code entrance, and by the path to find
State client code.
7. a kind of plug-in unit constructing system of Web applications, suitable for being resident in the server, the Web, which is applied, to be suitable to be inserted by multiple
Part combination producing, each plug-in unit has corresponding dependence storehouse and a plug-in code, the plug-in code include server-side code and/
Or client code, the server-side code includes server end registration code and server end performs code, the system
Including:
Module is installed, is that each plug-in unit in the plug-in unit catalogue installs corresponding dependence storehouse suitable for scanning plug-in unit catalogue;
First initialization module, suitable for the service of initialization Web server end, registers general purpose module and creates the Web applications pair
The server application example answered, the general purpose module includes static resource service;
First processing module, suitable for for each plug-in unit in each plug-in unit, when its plug-in code includes server-side code, obtaining
The server end registration code of the plug-in unit is taken and parses, so as to which the server end of the plug-in unit is performed into code injection to the service
In device application example;
Second initialization module, corresponding client's end entrance is applied suitable for initialization Web client service there is provided the Web;
Second processing module, suitable for for each plug-in unit in each plug-in unit, when its plug-in code includes client code, by institute
Client code packing is stated, and is put into the static resource catalogue to will pass through the static resource service as static resource
To be supplied to client, to complete the structure of the Web applications.
8. a kind of server, includes the plug-in unit constructing system of Web as claimed in claim 7 applications.
9. a kind of computing device, including:
One or more processors;
Memory;And
One or more programs, wherein one or more of program storages are in the memory and are configured as by described one
Individual or multiple computing devices, one or more of programs include being used to perform in the method according to claim 1 to 6
Either method instruction.
10. a kind of computer-readable recording medium for storing one or more programs, one or more of programs include instruction,
The instruction is when executed by a computing apparatus so that in method of the computing device according to claim 1 to 6
Either method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710431511.2A CN107291458B (en) | 2017-06-06 | 2017-06-06 | Plug-in construction method and system for Web application and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710431511.2A CN107291458B (en) | 2017-06-06 | 2017-06-06 | Plug-in construction method and system for Web application and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107291458A true CN107291458A (en) | 2017-10-24 |
CN107291458B CN107291458B (en) | 2020-07-14 |
Family
ID=60096145
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710431511.2A Active CN107291458B (en) | 2017-06-06 | 2017-06-06 | Plug-in construction method and system for Web application and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107291458B (en) |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108762805A (en) * | 2018-05-07 | 2018-11-06 | 武汉斗鱼网络科技有限公司 | A kind of Hybrid Development Frameworks and frame design method based on Cordova and Typescript |
CN108804155A (en) * | 2018-05-31 | 2018-11-13 | 中链科技有限公司 | Profile acquisition method, device, terminal and computer readable storage medium |
CN108829380A (en) * | 2018-05-31 | 2018-11-16 | 郑州云海信息技术有限公司 | A kind of plug-in unit obtains the method and device of consistency on messaging realization |
CN109144482A (en) * | 2018-08-22 | 2019-01-04 | 海南新软软件有限公司 | A kind of quick exploitation environmental structure method and device based on webpack |
CN109284096A (en) * | 2018-08-22 | 2019-01-29 | 深圳点猫科技有限公司 | A kind of automated construction method and electronic equipment of programming project |
CN109597611A (en) * | 2018-11-29 | 2019-04-09 | 北京京东尚科信息技术有限公司 | Front end data flow control Components Development system, method, equipment and storage medium |
CN109842637A (en) * | 2017-11-24 | 2019-06-04 | 武汉斗鱼网络科技有限公司 | A kind of Distributed Services register method and device |
CN109960505A (en) * | 2019-03-28 | 2019-07-02 | 江苏满运软件科技有限公司 | User interface components plug-in unit method, system, equipment and storage medium |
CN110442327A (en) * | 2018-05-03 | 2019-11-12 | 阿里巴巴集团控股有限公司 | A kind of application builds method, apparatus, server |
CN110688171A (en) * | 2019-09-26 | 2020-01-14 | 深圳市奋源科技有限公司 | Plug-in configuration method, device, equipment and storage medium of application program |
CN110784509A (en) * | 2019-09-16 | 2020-02-11 | 腾讯科技(深圳)有限公司 | Medical information processing method and system and related components |
CN111026455A (en) * | 2019-11-27 | 2020-04-17 | 掌阅科技股份有限公司 | Plug-in generation method, electronic device and storage medium |
CN111324373A (en) * | 2018-12-13 | 2020-06-23 | 北京奇虎科技有限公司 | Method and device for uploading multiple project files to code warehouse and computing equipment |
CN111324333A (en) * | 2018-12-17 | 2020-06-23 | 中移(杭州)信息技术有限公司 | Software development method and device based on componentization |
CN111475193A (en) * | 2020-06-04 | 2020-07-31 | 成都安易迅科技有限公司 | Plug-in dynamic updating method and device, electronic equipment and storage medium |
CN111813385A (en) * | 2020-07-07 | 2020-10-23 | 赞同科技股份有限公司 | Web application-based page plug-in method, device and equipment |
CN111966365A (en) * | 2020-08-17 | 2020-11-20 | 北京一览群智数据科技有限责任公司 | Module deployment method and system |
CN112506529A (en) * | 2020-11-26 | 2021-03-16 | 杭州讯酷科技有限公司 | Method for quickly constructing compatible system by using plug-in |
CN113157333A (en) * | 2021-03-25 | 2021-07-23 | 中国电子科技集团公司第二十九研究所 | Novel situation plotting plug-in front end integrated architecture |
CN114936031A (en) * | 2022-07-22 | 2022-08-23 | 浙江中控技术股份有限公司 | Component calling method and electronic equipment |
CN115617420A (en) * | 2022-11-03 | 2023-01-17 | 北京百度网讯科技有限公司 | Application program generation method, device, equipment and storage medium |
WO2023142578A1 (en) * | 2022-01-25 | 2023-08-03 | 腾讯科技(深圳)有限公司 | Webpage page rendering method and apparatus, device, and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101256492A (en) * | 2008-03-31 | 2008-09-03 | 宋乃辉 | Software development method and system for executing model drive structure |
CN101799768A (en) * | 2010-03-19 | 2010-08-11 | 上海交通大学 | Web service packaging system of power cataclysm simulation network |
CN103645901A (en) * | 2013-12-16 | 2014-03-19 | 上海证券交易所 | Event chain based user interface plugin interaction method |
US20160062745A1 (en) * | 2014-08-27 | 2016-03-03 | Akhila Rao | Adaptive, context-aware, model-based suggestions |
CN105898438A (en) * | 2016-04-07 | 2016-08-24 | 广州华多网络科技有限公司 | Live broadcasting room dynamic configuration method, device, system and server |
-
2017
- 2017-06-06 CN CN201710431511.2A patent/CN107291458B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101256492A (en) * | 2008-03-31 | 2008-09-03 | 宋乃辉 | Software development method and system for executing model drive structure |
CN101799768A (en) * | 2010-03-19 | 2010-08-11 | 上海交通大学 | Web service packaging system of power cataclysm simulation network |
CN103645901A (en) * | 2013-12-16 | 2014-03-19 | 上海证券交易所 | Event chain based user interface plugin interaction method |
US20160062745A1 (en) * | 2014-08-27 | 2016-03-03 | Akhila Rao | Adaptive, context-aware, model-based suggestions |
CN105898438A (en) * | 2016-04-07 | 2016-08-24 | 广州华多网络科技有限公司 | Live broadcasting room dynamic configuration method, device, system and server |
Cited By (36)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109842637B (en) * | 2017-11-24 | 2021-09-07 | 武汉斗鱼网络科技有限公司 | Distributed service registration method and device |
CN109842637A (en) * | 2017-11-24 | 2019-06-04 | 武汉斗鱼网络科技有限公司 | A kind of Distributed Services register method and device |
CN110442327A (en) * | 2018-05-03 | 2019-11-12 | 阿里巴巴集团控股有限公司 | A kind of application builds method, apparatus, server |
CN108762805A (en) * | 2018-05-07 | 2018-11-06 | 武汉斗鱼网络科技有限公司 | A kind of Hybrid Development Frameworks and frame design method based on Cordova and Typescript |
CN108804155A (en) * | 2018-05-31 | 2018-11-13 | 中链科技有限公司 | Profile acquisition method, device, terminal and computer readable storage medium |
CN108829380A (en) * | 2018-05-31 | 2018-11-16 | 郑州云海信息技术有限公司 | A kind of plug-in unit obtains the method and device of consistency on messaging realization |
CN108829380B (en) * | 2018-05-31 | 2021-08-31 | 郑州云海信息技术有限公司 | Method and device for realizing consistency of plug-in acquired information |
CN109284096A (en) * | 2018-08-22 | 2019-01-29 | 深圳点猫科技有限公司 | A kind of automated construction method and electronic equipment of programming project |
CN109144482B (en) * | 2018-08-22 | 2023-04-18 | 海南新软软件有限公司 | Method and device for building rapid development environment based on webpack |
CN109144482A (en) * | 2018-08-22 | 2019-01-04 | 海南新软软件有限公司 | A kind of quick exploitation environmental structure method and device based on webpack |
CN109597611A (en) * | 2018-11-29 | 2019-04-09 | 北京京东尚科信息技术有限公司 | Front end data flow control Components Development system, method, equipment and storage medium |
CN109597611B (en) * | 2018-11-29 | 2022-04-12 | 北京京东尚科信息技术有限公司 | Front-end data flow control component development system, method, device and storage medium |
CN111324373B (en) * | 2018-12-13 | 2023-12-05 | 北京奇虎科技有限公司 | Method and device for sub-coding warehouse on multiple engineering files and computing equipment |
CN111324373A (en) * | 2018-12-13 | 2020-06-23 | 北京奇虎科技有限公司 | Method and device for uploading multiple project files to code warehouse and computing equipment |
CN111324333B (en) * | 2018-12-17 | 2022-08-30 | 中移(杭州)信息技术有限公司 | Software development method and device based on componentization |
CN111324333A (en) * | 2018-12-17 | 2020-06-23 | 中移(杭州)信息技术有限公司 | Software development method and device based on componentization |
CN109960505B (en) * | 2019-03-28 | 2022-11-25 | 江苏满运软件科技有限公司 | User interface component plug-in method, system, equipment and storage medium |
CN109960505A (en) * | 2019-03-28 | 2019-07-02 | 江苏满运软件科技有限公司 | User interface components plug-in unit method, system, equipment and storage medium |
CN110784509A (en) * | 2019-09-16 | 2020-02-11 | 腾讯科技(深圳)有限公司 | Medical information processing method and system and related components |
CN110784509B (en) * | 2019-09-16 | 2021-07-13 | 腾讯科技(深圳)有限公司 | Medical information processing method and system and related components |
CN110688171A (en) * | 2019-09-26 | 2020-01-14 | 深圳市奋源科技有限公司 | Plug-in configuration method, device, equipment and storage medium of application program |
CN110688171B (en) * | 2019-09-26 | 2023-11-10 | 深圳市奋源科技有限公司 | Plug-in configuration method, device and equipment of application program and storage medium |
CN111026455A (en) * | 2019-11-27 | 2020-04-17 | 掌阅科技股份有限公司 | Plug-in generation method, electronic device and storage medium |
CN111026455B (en) * | 2019-11-27 | 2023-02-24 | 掌阅科技股份有限公司 | Plug-in generation method, electronic device and storage medium |
CN111475193A (en) * | 2020-06-04 | 2020-07-31 | 成都安易迅科技有限公司 | Plug-in dynamic updating method and device, electronic equipment and storage medium |
CN111813385A (en) * | 2020-07-07 | 2020-10-23 | 赞同科技股份有限公司 | Web application-based page plug-in method, device and equipment |
CN111813385B (en) * | 2020-07-07 | 2023-09-22 | 赞同科技股份有限公司 | Page plug-in method, device and equipment based on Web application |
CN111966365A (en) * | 2020-08-17 | 2020-11-20 | 北京一览群智数据科技有限责任公司 | Module deployment method and system |
CN112506529A (en) * | 2020-11-26 | 2021-03-16 | 杭州讯酷科技有限公司 | Method for quickly constructing compatible system by using plug-in |
CN112506529B (en) * | 2020-11-26 | 2024-03-26 | 杭州讯酷科技有限公司 | Method for quickly constructing compatible system by using plug-in |
CN113157333B (en) * | 2021-03-25 | 2022-09-02 | 中国电子科技集团公司第二十九研究所 | Situation plotting plug-in front-end integrated system |
CN113157333A (en) * | 2021-03-25 | 2021-07-23 | 中国电子科技集团公司第二十九研究所 | Novel situation plotting plug-in front end integrated architecture |
WO2023142578A1 (en) * | 2022-01-25 | 2023-08-03 | 腾讯科技(深圳)有限公司 | Webpage page rendering method and apparatus, device, and storage medium |
CN114936031A (en) * | 2022-07-22 | 2022-08-23 | 浙江中控技术股份有限公司 | Component calling method and electronic equipment |
CN115617420A (en) * | 2022-11-03 | 2023-01-17 | 北京百度网讯科技有限公司 | Application program generation method, device, equipment and storage medium |
CN115617420B (en) * | 2022-11-03 | 2024-03-01 | 北京百度网讯科技有限公司 | Application program generation method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107291458B (en) | 2020-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107291458A (en) | A kind of plug-in unit construction method, system and the server of Web applications | |
US8745584B2 (en) | Dependency injection by static code generation | |
US11561772B2 (en) | Low-code development platform | |
US9652312B2 (en) | Realtime processing of streaming data | |
US8479153B2 (en) | Abstracting transformation for model driven architecture | |
KR20190048364A (en) | Method for modeling network system instructions with yang language and apparatus for the same | |
CN103164249A (en) | Extension mechanism for scripting language compiler | |
US8756407B2 (en) | Configuration rule prototyping tool | |
WO2018210096A1 (en) | Rule engine-based rule configuration method, terminal and device, and storage medium | |
CN102023856A (en) | Method for outputting and operating data at server in formatting way according to demands of user | |
CN109151031A (en) | Contract processing method and processing device based on block chain | |
CN107329916B (en) | A kind of USB device control method, device and calculate equipment | |
US7818719B2 (en) | Extending expression-based syntax for creating object instances | |
CN113946321B (en) | Processing method of computing logic, electronic device and readable storage medium | |
US11789771B2 (en) | Method and apparatus for a step-enabled workflow | |
US20150248276A1 (en) | Api publication on a gateway using a developer portal | |
CN106648569A (en) | Target serialization achieving method and device | |
US9996344B2 (en) | Customized runtime environment | |
US11552868B1 (en) | Collect and forward | |
JP2013030167A (en) | System, method and device for setting utility meter | |
US11275567B1 (en) | Making communication interfaces pluggable by using mechanisms comprising of exchange/broker for communication interfaces | |
US10706225B2 (en) | Form management system and method | |
US10606569B2 (en) | Declarative configuration elements | |
CN108459842A (en) | A kind of model configuration method, device and electronic equipment | |
US9063744B2 (en) | Modifying a file written in a formal language |
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 | ||
CB02 | Change of applicant information |
Address after: Room 311501, Unit 1, Building 5, Courtyard 1, Futong East Street, Chaoyang District, Beijing 100102 Applicant after: Beijing Zhichuangyu Information Technology Co., Ltd. Address before: 100097 Jinwei Building 803, 55 Lanindichang South Road, Haidian District, Beijing Applicant before: Beijing Knows Chuangyu Information Technology Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |