CN109634647A - The construction method and system of large-scale front end project - Google Patents
The construction method and system of large-scale front end project Download PDFInfo
- Publication number
- CN109634647A CN109634647A CN201811589112.XA CN201811589112A CN109634647A CN 109634647 A CN109634647 A CN 109634647A CN 201811589112 A CN201811589112 A CN 201811589112A CN 109634647 A CN109634647 A CN 109634647A
- Authority
- CN
- China
- Prior art keywords
- tool
- initialization
- unit
- engineering
- elementary function
- 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/70—Software maintenance or management
Abstract
The present invention discloses the construction method and system of large-scale front end project, and method includes: the multiple associated tools extracted in multiple initialization units included by initialization engineering.For according to multiple current preset Elementary Function information lists, from in the corresponding relationship of corresponding default Elementary Function information and multiple associated tool information, obtain the corresponding the multiple current associated tool group of the multiple current preset Elementary Function, the multiple current associated tool group is integrated as unit of group, multiple independent functional unit components are encapsulated as, multiple default Elementary Function information lists are the building blocks of function of achievable multiple standalone feature information in the initialization engineering.According to the function of current engineering, the multiple functional unit component multiple functional units generated are integrated, the current engineering is constructed.The present invention by being extracted to the functional unit in initialization project, building can " general " component so as to flexibly be applied to project development in.
Description
Technical field
The technical field established and safeguarded the invention belongs to platform mega project, more particularly to the building of large-scale front end project
Method and system.
Background technique
In the related technology, the similar framework of the technology SPA single-page application architecture, multi-page application architecture that are chiefly used in is completed
Mega project is built.SPA (Single Page Application) single-page application architecture be using entire front end project as
The packing of entire project is compressed into a static page after the completion of business development by one entirety.Single-page application can be reduced
The time of Internet resources is requested, once after the completion of load, it is smooth using interior operation, it is no longer necessary to often to go load networks resource.
Multi-page application architecture.Multi-page application architecture is by same project by different modular organisations, and entire project is packaged compression
When, different modules generates the different pages.Multi-page application is both able to maintain the operation smoothness feature of single-page application, also can
Avoid loading for the first time resource it is too big caused by be initially opened the slow-footed problem of webpage.
But it is applied in SPA single-page and the packing of entire project is compressed in a static page, when the contents of a project are gradually huge
Greatly, what this static page can become is very big, is initially opened the page, when loading this static page resource by network, needs
Long time is expended, period of reservation of number is long.Multi-page application architecture is that a project is split multiple modules, due to all
Module is packaged compression simultaneously all in same project, it is necessary to assure all modules all develop completion, could complete online.Large-scale item
In mesh, disparate modules are often responsible for by different team, and progress is inconsistent.It, can not in the case where not arranging exploitation completion
Accomplish that part is online, whole efficiency is low.Drawbacks described above Producing reason is: SPA application architecture and multi-page application architecture are most
Big limitation is that needs are whole and is packaged compression.Final link centralized processing, it is necessary to guarantee that all modules are all complete
It is complete ready, and in most cases, the inconsistent progress of modules is necessarily required to expend certain waiting time.Even
Only one module does not complete, other modules can only all wait.With being increasing for module, large-scale project, expends
Waiting time it is more, strong influence production efficiency.
Industry practitioner can use single page application to undersize item, can use multi-page application to mega project.Its
His practitioner, which does not allow to be readily conceivable that, to be typically dispersed in each service line because of front end in the industry, each to have respective business by oneself
And technical system, before new departure comes out, and the multi-page application scheme used, with the improvement of institutional framework, by institute
There are the Small Groups in service line to be organized into the independent team of synthesis, is encountered by more complicated challenge, it is necessary to have different wounds
New departure just expects Current protocols.
It follows that be related to the generation of more fixed modules when carrying out mega project building in the prior art and build,
The function of fixed module determines, meanwhile, to be waited if being related to multiple modules all fixed modules all after the completion of, just can be carried out system
It builds, in the case where not arranging exploitation completion, can not accomplish that part is online, whole efficiency is low.Therefore there are individual modules substantially
It does not complete, other modules can only all wait.With being increasing for module, large-scale project, the waiting time of consuming is just
It is more, strong influence production efficiency.
Summary of the invention
The embodiment of the present invention provides the construction method and system of large-scale front end project, at least solving above-mentioned technical problem
One of.
In a first aspect, the embodiment of the present invention provides the construction method of large-scale front end project, comprising:
Step S101 extracts multiple associated tools in multiple initialization units included by initialization engineering.
Step S102, for according to multiple current preset Elementary Function information lists, from corresponding default Elementary Function information with
In the corresponding relationship of multiple associated tool information, obtain that the multiple current preset Elementary Function is corresponding the multiple to work as
The multiple current associated tool group is integrated as unit of group, is encapsulated as multiple independent functions by preceding associated tool group
Unit member, the multiple default Elementary Function information list are achievable multiple standalone feature letters in the initialization engineering
The function set of breath.
Step S103 integrates the multiple functional unit component multiple functions generated according to the function of current engineering
Unit constructs the current engineering.
Based on including: in step S101
Step S1011 extracts multiple initialization units included in the basic bibliographic structure of initialization engineering.Step
S1012 extracts multiple associated tools in the multiple initialization unit.
It include: HTML tool of compression, CSS strapping tool, automatically formatting tool, font based on the multiple associated tool
Crossover tool, http request forwarding tool, function encapsulation tool, the multi-lingual tool of adaptation and font loading tool, automation
The build tool.Automate the build tool.
Based on including: the basic catalogue for creating the current engineering according to the multiple functional unit in the step S103
Structure.
Before step S101 further include:
Step S100 establishes initialization engineering, includes multiple initialization unit functions in the initialization.
Based in step S101 further include: the initialization engineering is the single-page application item based on VUE technology.
It is webpack the build tool module based on including: the multiple associated tool in the step S101.
After the step S103 further include:
Step S104, if current preset Elementary Function information not in the multiple default Elementary Function information list,
Current preset Elementary Function information is added in the multiple default Elementary Function information list, to the multiple default unit function
Energy information list is updated.
Second aspect, the embodiment of the present invention provide the building system of large-scale front end project, comprising: extract associated tool list
Member, encapsulation unit and project build unit.
The extraction associated tool unit is configured to extract more in multiple initialization units included by initialization engineering
A associated tool.
The encapsulation unit is configured to according to multiple current preset Elementary Function information lists, from corresponding default unit function
Can in the corresponding relationship of information and multiple associated tool information, obtain the multiple current preset Elementary Function it is corresponding from
Acquired multiple current associated tool groups in the associated tool unit, by the multiple current associated tool group to organize as list
Position is integrated, and multiple independent functional unit components are encapsulated as, and the multiple default Elementary Function information list is described first
The function set of achievable multiple standalone feature information in beginning chemical industry journey.
The project build unit, is configured to the function according to current engineering, integrates the institute obtained in the encapsulation unit
Functional unit component multiple functional units generated are stated, the current engineering is constructed.
Based on above-mentioned building system, further includes: updating unit.The updating unit, if being configured to current preset unit function
Energy information then current preset Elementary Function information is added the multiple not in the multiple default Elementary Function information list
In default Elementary Function information list, the multiple default Elementary Function information list is updated.
The third aspect provides a kind of electronic equipment comprising: at least one processor, and with described at least one
Manage the memory of device communication connection, wherein the memory is stored with the instruction that can be executed by least one described processor, institute
It states instruction to be executed by least one described processor, so that at least one described processor is able to carry out any embodiment of the present invention
Method the step of.
Fourth aspect, the embodiment of the present invention also provide a kind of computer program product, and the computer program product includes
The computer program being stored on non-volatile computer readable storage medium storing program for executing, the computer program include program instruction, when
The step of described program instruction is when being computer-executed, and the computer is made to execute the method for any embodiment of the present invention.
The present invention by being extracted to the functional unit in initialization project, building can " general " member unit, from
And can flexibly it be applied in project development.First, it since entire Project system is by original one or more mega projects, tears open
It is divided into numerous independent small-sized single page application items, is owned after the build tool upgrading using unified framework tool management
Project can synchronize use, not need that exploitation is repeated several times.Secondly, due to being patrolled between each undersize item with separate traffic
Volume, each Developmental Engineer quickly can develop and safeguard the project of oneself, cause the code of sundry item to rush without worrying
It is prominent.In addition, due to independent between project, after the completion of wherein some project development test, can Quick thread, without as large-scale
Project is the same, and owner all to complete exploitation test, could be online.It is not in people's progress lag, other people can only
The situation of waiting.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment
Attached drawing be briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for ability
For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is the flow chart of the construction method for the large-scale front end project that one embodiment of the invention provides.
Fig. 2 is the flow chart of the construction method for the large-scale front end project of another kind that one embodiment of the invention provides.
Fig. 3 is the flow chart of the construction method for another large-scale front end project that one embodiment of the invention provides.
Fig. 4 is the flow chart of the construction method for another large-scale front end project that one embodiment of the invention provides.
Fig. 5 is the combination diagram of the building system for the large-scale front end project that one embodiment of the invention provides.
Fig. 6 be another embodiment of the present invention provides large-scale front end project building system combination diagram.
Fig. 7 is the construction method framework flow chart for the large-scale front end project that one embodiment of the invention provides.
Fig. 8 is the structural schematic diagram for the electronic equipment that one embodiment of the invention provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Referring to FIG. 1, it illustrates the flow charts of one embodiment of construction method of large-scale front end project of the invention.Including
Following steps:
Step S101 extracts multiple associated tools.
In this step, multiple associated tools in multiple initialization units included by initialization engineering are extracted.It is above-mentioned more
A associated tool includes: HTML tool of compression, CSS strapping tool, automatically formatting tool, font crossover tool, http request
Forwarding tool, function encapsulation tool, the multi-lingual tool of adaptation and font loading tool, automation the build tool.It is above-mentioned multiple
Associated tool is webpack the build tool module.Although automation the build tool be that each project is separately configured, improve with
Afterwards, so that it may be made into a public tool, then each project uses by reference.It can guarantee all items in this way
It is operated based on same set of system.
Step S102 encapsulates independent functional unit component.
In this step, for according to multiple current preset Elementary Function information lists, from corresponding default Elementary Function information with
In the corresponding relationship of multiple associated tool information, obtain that the multiple current preset Elementary Function is corresponding the multiple to work as
The multiple current associated tool group is integrated as unit of group, is encapsulated as multiple independent functions by preceding associated tool group
Unit member, the multiple default Elementary Function information list are achievable multiple standalone feature letters in the initialization engineering
The function set of breath.
Step S103, engineering building.
In this step, according to the function of current engineering, the multiple functional unit component multiple functions generated are integrated
Unit constructs the current engineering.In this step, also the current work can be created according to the multiple functional unit
The basic bibliographic structure of journey.To guarantee the integrality that project is built.
For the validity for guaranteeing associated tool separation, as shown in Fig. 2, in one in preferred embodiment, above-mentioned steps
Include: in S101
Step S1011 extracts multiple initialization units included in the basic bibliographic structure of initialization engineering.Step
S1012 extracts multiple associated tools in the multiple initialization unit.
As shown in figure 3, before above-mentioned steps S101 further include: step S100.
Step S100 establishes initialization engineering.
In this step, initialization engineering is established, includes multiple initialization unit functions in the initialization.Above-mentioned initialization
Engineering is the single-page application item based on VUE technology.Above-mentioned initialization refers to a newly-built engineering, and this engineering has one
A most basic bibliographic structure and various associated tools.This initialization procedure can be by tool general in the industry come complete
At.
As shown in figure 4, in one in preferred embodiment, after step S103 further include:
Step S104, list update.
In this step, if current preset Elementary Function information not in the multiple default Elementary Function information list,
Current preset Elementary Function information is added in the multiple default Elementary Function information list, to the multiple default unit function
Energy information list is updated.
Second aspect, the embodiment of the present invention provide the building system of large-scale front end project, as shown in Figure 5, comprising: extract and close
Join tool unit 101, encapsulation unit 201 and project build unit 301.
The extraction associated tool unit 101 is configured to extract in multiple initialization units included by initialization engineering
Multiple associated tools.
The encapsulation unit 201 is configured to according to multiple current preset Elementary Function information lists, from corresponding default unit
In functional information and the corresponding relationship of multiple associated tool information, it is corresponding to obtain the multiple current preset Elementary Function
Acquired multiple current associated tool groups from the extraction associated tool unit 101, by the multiple current associated tool
Group is integrated as unit of group, is encapsulated as multiple independent functional unit components, the multiple default Elementary Function information column
Table is the function set of achievable multiple standalone feature information in the initialization engineering.
The project build unit 301, is configured to the function according to current engineering, integrates and obtains in the encapsulation unit 201
The functional unit component multiple functional units generated taken, construct the current engineering.
As shown in fig. 6, being based on above-mentioned building system, further includes: updating unit 401.The updating unit, if being configured to work as
Preceding default Elementary Function information is not in the multiple default Elementary Function information list, then by current preset Elementary Function information
It is added in the multiple default Elementary Function information list, the multiple default Elementary Function information list is updated.
It should be appreciated that all units recorded in Fig. 5 and each step phase in the construction method of above-mentioned large-scale front end project
It is corresponding.The operation above with respect to method description and feature and corresponding technical effect are equally applicable to all lists in Fig. 5 as a result,
Member, details are not described herein.
It is worth noting that, the unit in embodiment of the disclosure is not limited to the scheme of the disclosure, in addition, may be used also
It is no longer superfluous herein to realize that related function module, such as separation module can also be realized with processor by hardware processor
It states.
In another embodiment of the invention, the construction method of another large-scale front end project is provided, in this reality
Full name in English and the Chinese definition for applying the english abbreviation occurred in example are as follows.
1.SPA:Single Page Application single-page application.
A kind of 2.vue: front end development technique frame.
3.webpack: the tool of compression is packaged in a kind of engineering.
As shown in fig. 7, main process is divided into following four step.
1, it initializes, the single-page application item based on VUE technology can be initialized first, which has entire system
All building modules of engineering of uniting, business module, resource module.But the project cannot have specific service logic, as one
Elementary item exists.Above-mentioned initialization refers to a newly-built engineering, and this engineering have a most basic bibliographic structure with
And various associated tools.This initialization procedure can be completed by tool general in the industry.
2, the webpack building module for detaching initialization project, is encapsulated by transformation, which is packaged into
One independent used the build tool, the tool need to have mountable, expansible feature.Then the tool is introduced initial
In change project, by repeatedly debugging, guarantee the availability and stability of the tool.In this step, change the catalogue of engineering project
The mode of cooperation between structure and various tools.Above-mentioned multiple associated tools include: HTML tool of compression, CSS strapping tool,
Automatically formatting tool, font crossover tool, http request forwarding tool, function encapsulation tool, the multi-lingual tool of adaptation and
Font loading tool, automation the build tool.It is originally that each project is separately configured and including automating the build tool,
After improvement, so that it may be made into a public tool, then each project uses by reference.It can guarantee institute in this way
There is project to operate based on same set of system.Above-mentioned " transformation encapsulation " is if after transformation HTML tool of compression and CSS baler
Tool is integrated into a tool.
3, project is extended, according to business development needs, duplication initialization establishment of item new projects are then based on new projects' reality
Existing service logic, it is continuous to enrich Project system to meet complicated business demand by replicating and creating new projects.Above-mentioned step
Rapid 1 is using general utility tool in the industry, and step 2, which is equivalent to, improves general utility tool, is allowed to become suitable current project feature
Tool.Start extension to use in multiple projects, forms unified system.
4, the build tool is updated to need constantly to integrate multiple projects since the requirement of numerous project build modules is different
Demand, by planning and designing, constantly upgrading the build tool.
Therefore, the flexibility of the uniformity of present invention combination multi-page application and single-page application.By multi-page before
Using having split into multiple single-page applications, while the core that each single page is applied is packaged building module and detaches into rear transformation
At public the build tool, and is introduced and use by all items.It can be managed collectively sundry item using public project in this way, also protected
The independence and flexibility of each noncontinuous item business are demonstrate,proved.
Alternative of the invention are as follows: arrange business system, similar business is made into a multi-page application, whole item
There are multiple large-scale multi-page applications in mesh system.It is extended based on existing framework, does not need to develop new tool.And technology
It realizes simple.
In further embodiments, the embodiment of the invention also provides a kind of nonvolatile computer storage medias, calculate
Machine storage medium is stored with computer executable instructions, which can be performed in above-mentioned any means embodiment
Large-scale front end project building and application method;
As an implementation, nonvolatile computer storage media of the invention is stored with the executable finger of computer
It enables, computer executable instructions setting are as follows:
Step S101 extracts multiple associated tools in multiple initialization units included by initialization engineering.
Step S102, for according to multiple current preset Elementary Function information lists, from corresponding default Elementary Function information with
In the corresponding relationship of multiple associated tool information, obtain that the multiple current preset Elementary Function is corresponding the multiple to work as
The multiple current associated tool group is integrated as unit of group, is encapsulated as multiple independent functions by preceding associated tool group
Unit member, the multiple default Elementary Function information list are achievable multiple standalone feature letters in the initialization engineering
The function set of breath.
Step S103 integrates the multiple functional unit component multiple functions generated according to the function of current engineering
Unit constructs the current engineering.
Based on including: in step S101
Step S1011 extracts multiple initialization units included in the basic bibliographic structure of initialization engineering.Step
S1012 extracts multiple associated tools in the multiple initialization unit.
It include: HTML tool of compression, CSS strapping tool, automatically formatting tool, font based on the multiple associated tool
Crossover tool, http request forwarding tool, function encapsulation tool, the multi-lingual tool of adaptation and font loading tool, automation
The build tool.Automate the build tool.
Based on including: the basic catalogue for creating the current engineering according to the multiple functional unit in the step S103
Structure.
Before step S101 further include:
Step S100 establishes initialization engineering, includes multiple initialization unit functions in the initialization.
Based in step S101 further include: the initialization engineering is the single-page application item based on VUE technology.
It is webpack the build tool module based on including: the multiple associated tool in the step S101.
After the step S103 further include:
Step S104, if current preset Elementary Function information not in the multiple default Elementary Function information list,
Current preset Elementary Function information is added in the multiple default Elementary Function information list, to the multiple default unit function
Energy information list is updated.
As a kind of non-volatile computer readable storage medium storing program for executing, it can be used for storing non-volatile software program, non-volatile
Property computer executable program and module, the building and application method such as the large-scale front end project in the embodiment of the present invention be corresponding
Program instruction/module.One or more program instruction is stored in non-volatile computer readable storage medium storing program for executing, when being located
When managing device execution, the building and application method of the large-scale front end project in above-mentioned any means embodiment are executed.
Non-volatile computer readable storage medium storing program for executing may include storing program area and storage data area, wherein storage journey
It sequence area can application program required for storage program area, at least one function;Storage data area can be stored according to large-scale front end
The building of project and created data etc. are used using system.In addition, non-volatile computer readable storage medium storing program for executing can be with
It can also include nonvolatile memory, for example, at least disk memory, a flash memory including high-speed random access memory
Device or other non-volatile solid state memory parts.In some embodiments, non-volatile computer readable storage medium storing program for executing is optional
Including the memory remotely located relative to processor, these remote memories can pass through network connection to large-scale front end project
Building and use system.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile communication
Net and combinations thereof.
The embodiment of the present invention also provides a kind of computer program product, and computer program product is non-volatile including being stored in
Computer program on computer readable storage medium, computer program include program instruction, when program instruction is held by computer
When row, computer is made to execute the building and application method of any of the above-described large size front end project.
Fig. 8 is the structural schematic diagram of electronic equipment provided in an embodiment of the present invention, as shown in figure 8, the equipment includes: one
Or multiple processors 810 and memory 820, in Fig. 8 by taking a processor 810 as an example.The building of large-scale front end project and make
It can also include: input unit 830 and output device 840 with the equipment of method.Processor 810, memory 820, input unit
830 can be connected with output device 840 by bus or other modes, in Fig. 8 for being connected by bus.Memory
820 be above-mentioned non-volatile computer readable storage medium storing program for executing.Processor 810 is stored in non-in memory 820 by operation
Volatibility software program, instruction and module are realized thereby executing the various function application and data processing of server
State the building and application method of embodiment of the method large size front end project.Input unit 830 can receive the number or character letter of input
Breath, and generate key signals input related with the user setting of information delivery device and function control.Output device 840 can
Equipment is shown including display screen etc..
Method provided by the embodiment of the present invention can be performed in the said goods, has the corresponding functional module of execution method and has
Beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to method provided by the embodiment of the present invention.
As an implementation, above-mentioned electronic equipment can be applied to the building of large-scale front end project and using system and
In platform, comprising: at least one processor;And the memory being connect at least one processor communication;Wherein, memory
It is stored with the instruction that can be executed by least one processor, instruction is executed by least one processor, so that at least one is handled
Device can:
Step S101 extracts multiple associated tools in multiple initialization units included by initialization engineering.
Step S102, for according to multiple current preset Elementary Function information lists, from corresponding default Elementary Function information with
In the corresponding relationship of multiple associated tool information, obtain that the multiple current preset Elementary Function is corresponding the multiple to work as
The multiple current associated tool group is integrated as unit of group, is encapsulated as multiple independent functions by preceding associated tool group
Unit member, the multiple default Elementary Function information list are achievable multiple standalone feature letters in the initialization engineering
The function set of breath.
Step S103 integrates the multiple functional unit component multiple functions generated according to the function of current engineering
Unit constructs the current engineering.
Based on including: in step S101
Step S1011 extracts multiple initialization units included in the basic bibliographic structure of initialization engineering.Step
S1012 extracts multiple associated tools in the multiple initialization unit.
It include: HTML tool of compression, CSS strapping tool, automatically formatting tool, font based on the multiple associated tool
Crossover tool, http request forwarding tool, function encapsulation tool, the multi-lingual tool of adaptation and font loading tool, automation
The build tool.Automate the build tool.
Based on including: the basic catalogue for creating the current engineering according to the multiple functional unit in the step S103
Structure.
Before step S101 further include:
Step S100 establishes initialization engineering, includes multiple initialization unit functions in the initialization.
Based in step S101 further include: the initialization engineering is the single-page application item based on VUE technology.
It is webpack the build tool module based on including: the multiple associated tool in the step S101.
After the step S103 further include:
Step S104, if current preset Elementary Function information not in the multiple default Elementary Function information list,
Current preset Elementary Function information is added in the multiple default Elementary Function information list, to the multiple default unit function
Energy information list is updated.
The electronic equipment of the embodiment of the present invention exists in a variety of forms, including but not limited to:
(1) mobile communication equipment: the characteristics of this kind of equipment is that have mobile communication function, and to provide speech, data
Communication is main target.This Terminal Type includes: smart phone (such as iPhone), multimedia handset, functional mobile phone and low
Hold mobile phone etc..
(2) super mobile personal computer equipment: this kind of equipment belongs to the scope of personal computer, there is calculating and processing function
Can, generally also have mobile Internet access characteristic.This Terminal Type includes: PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device: this kind of equipment can show and play multimedia content.Such equipment include: audio,
Video player (such as iPod), handheld device, e-book and intelligent toy and portable car-mounted navigation equipment.
(4) server: providing the equipment of the service of calculating, and the composition of server includes that processor, hard disk, memory, system are total
Line etc., server is similar with general computer architecture, but due to needing to provide highly reliable service, in processing energy
Power, stability, reliability, safety, scalability, manageability etc. are more demanding.
(5) other electronic devices with data interaction function.
The apparatus embodiments described above are merely exemplary, wherein unit can be as illustrated by the separation member
Or may not be and be physically separated, component shown as a unit may or may not be physical unit, i.e.,
It can be located in one place, or may be distributed over multiple network units.It can select according to the actual needs therein
Some or all of the modules achieves the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creative labor
In the case where dynamic, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on
Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should
Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers
It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation
The method of certain parts of example or embodiment.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and
Range.
Claims (10)
1. the construction method of large-scale front end project, which comprises
Step S101 extracts multiple associated tools in multiple initialization units included by initialization engineering;
Step S102, for according to multiple current preset Elementary Function information lists, from corresponding default Elementary Function information with it is multiple
In the corresponding relationship of associated tool information, the corresponding the multiple current pass of the multiple current preset Elementary Function is obtained
Join tool group, the multiple current associated tool group is integrated as unit of group, is encapsulated as multiple independent functional units
Component, the multiple default Elementary Function information list are achievable multiple standalone feature information in the initialization engineering
Function set;
Step S103 integrates the multiple functional unit component multiple functional units generated according to the function of current engineering,
The current engineering is constructed.
2. construction method according to claim 1, include: in the step S101
Step S1011 extracts multiple initialization units included in the basic bibliographic structure of initialization engineering;
Step S1012 extracts multiple associated tools in the multiple initialization unit.
3. construction method according to claim 2, the multiple associated tool include:
HTML tool of compression, CSS strapping tool, automatically formatting tool, font crossover tool, http request forward tool, letter
Number encapsulation tool, the multi-lingual tool of adaptation and font loading tool, automation the build tool.
4. construction method according to claim 3, wherein include: according to the multiple function list in the step S103
Member creates the basic bibliographic structure of the current engineering.
5. construction method according to claim 1 or 3, wherein before step S101 further include:
Step S100 establishes initialization engineering, includes multiple initialization unit functions in the initialization.
6. construction method according to claim 1, wherein in step S101 further include:
The initialization engineering is the single-page application item based on VUE technology.
7. construction method according to claim 6, wherein include: in the step S101
The multiple associated tool is webpack the build tool module.
8. construction method according to claim 1, after the step S103 further include:
Step S104, if current preset Elementary Function information will be worked as not in the multiple default Elementary Function information list
Preceding default Elementary Function information is added in the multiple default Elementary Function information list, believes the multiple default Elementary Function
Breath list is updated.
9. the building system of large-scale front end project, comprising: extract associated tool unit, encapsulation unit and project build unit;
The extraction associated tool unit is configured to extract multiple passes in multiple initialization units included by initialization engineering
Connection tool;
The encapsulation unit is configured to be believed according to multiple current preset Elementary Function information lists from corresponding default Elementary Function
It is corresponding from described to obtain the multiple current preset Elementary Function with the corresponding relationship of multiple associated tool information for breath
Acquired multiple current associated tool groups in associated tool unit, by the multiple current associated tool group as unit of group into
Row integration, is encapsulated as multiple independent functional unit components, and the multiple default Elementary Function information list is the initialization
The function set of achievable multiple standalone feature information in engineering;
The project build unit, is configured to the function according to current engineering, integrates the function obtained in the encapsulation unit
Energy unit member multiple functional units generated, construct the current engineering.
10. the building system of large size front end according to claim 9 project, further includes: updating unit;
The updating unit, if being configured to current preset Elementary Function information not in the multiple default Elementary Function information list
In, then current preset Elementary Function information is added in the multiple default Elementary Function information list, to the multiple default
Elementary Function information list is updated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811589112.XA CN109634647B (en) | 2018-12-25 | 2018-12-25 | Construction method and system of large-scale front-end project |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811589112.XA CN109634647B (en) | 2018-12-25 | 2018-12-25 | Construction method and system of large-scale front-end project |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109634647A true CN109634647A (en) | 2019-04-16 |
CN109634647B CN109634647B (en) | 2022-02-01 |
Family
ID=66077324
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811589112.XA Active CN109634647B (en) | 2018-12-25 | 2018-12-25 | Construction method and system of large-scale front-end project |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109634647B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022121971A1 (en) * | 2020-12-10 | 2022-06-16 | 百果园技术(新加坡)有限公司 | Front-end project processing method and apparatus, device, management system, and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106843869A (en) * | 2017-01-16 | 2017-06-13 | 百融(北京)金融信息服务股份有限公司 | A kind of front end Development Engineering system and method |
CN107168704A (en) * | 2017-05-11 | 2017-09-15 | 金蝶软件(中国)有限公司 | A kind of multi-page resource file method for implanting and device |
CN107203401A (en) * | 2016-03-17 | 2017-09-26 | 阿里巴巴集团控股有限公司 | A kind of front end project build method, apparatus and system |
JP2017220221A (en) * | 2016-06-02 | 2017-12-14 | 株式会社リコー | Information processing device, information processing method, and program |
CN108139890A (en) * | 2015-07-30 | 2018-06-08 | 纳斯达克公司 | Software application framework |
-
2018
- 2018-12-25 CN CN201811589112.XA patent/CN109634647B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108139890A (en) * | 2015-07-30 | 2018-06-08 | 纳斯达克公司 | Software application framework |
CN107203401A (en) * | 2016-03-17 | 2017-09-26 | 阿里巴巴集团控股有限公司 | A kind of front end project build method, apparatus and system |
JP2017220221A (en) * | 2016-06-02 | 2017-12-14 | 株式会社リコー | Information processing device, information processing method, and program |
CN106843869A (en) * | 2017-01-16 | 2017-06-13 | 百融(北京)金融信息服务股份有限公司 | A kind of front end Development Engineering system and method |
CN107168704A (en) * | 2017-05-11 | 2017-09-15 | 金蝶软件(中国)有限公司 | A kind of multi-page resource file method for implanting and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022121971A1 (en) * | 2020-12-10 | 2022-06-16 | 百果园技术(新加坡)有限公司 | Front-end project processing method and apparatus, device, management system, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109634647B (en) | 2022-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104573066B (en) | Page multiplexing method and device | |
CN101122921B (en) | Method forming tree-shaped display structure based on ajax and html | |
US9256583B2 (en) | Conversion of a presentation to Darwin Information Typing Architecture (DITA) | |
CN110007902A (en) | The method and device of business processing flow configuration | |
US20090199213A1 (en) | Automatic Connections Between Application Components | |
US20160011905A1 (en) | Composing and executing workflows made up of functional pluggable building blocks | |
TW201246071A (en) | Unrolling quantifications to control in-degree and/or out degree of automation | |
US20090150125A1 (en) | Computer Method and Apparatus for Chaining of Model-To-Model Transformations | |
US20140067457A1 (en) | Workflow execution framework | |
US9563415B2 (en) | Generating visually encoded dynamic codes for remote launching of applications | |
CN107273122A (en) | Based on decoupling mechanism can iteration set up operation system method and its terminal | |
US20140019951A1 (en) | Mobile application translation | |
CN101853152A (en) | Method and system for generating graphical user interface | |
CN109710303A (en) | The multi version parallel developing method and system of interactive voice product | |
CN104516963A (en) | Excel data server and application thereof | |
CN109634647A (en) | The construction method and system of large-scale front end project | |
CN103488794A (en) | Method for Web realization of operation of databases with any properties | |
Betari et al. | Model transformations in the MOF meta-modeling architecture: from UML to codeIgniter PHP framework | |
CN112328257A (en) | Code conversion method and device | |
CN104142824A (en) | Code generator based on class library and realization method of code generator | |
CN116432624A (en) | Micro-service API document generation method, device, equipment and storage medium | |
US10331781B2 (en) | Template compilation using view transforms | |
US20100333115A1 (en) | System and method for a source-independent server interface accepting origin specific commands | |
US20230251835A1 (en) | Building base applications with user interface micro frontends | |
Diez | qd-Build your own LS-DYNA Tool Quickly in Python |
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 | ||
CB02 | Change of applicant information |
Address after: 215123 building 14, Tengfei Innovation Park, 388 Xinping street, Suzhou Industrial Park, Suzhou City, Jiangsu Province Applicant after: Sipic Technology Co.,Ltd. Address before: 215123 building 14, Tengfei Innovation Park, 388 Xinping street, Suzhou Industrial Park, Suzhou City, Jiangsu Province Applicant before: AI SPEECH Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |