Movatterモバイル変換


[0]ホーム

URL:


CN109739478A - Front end project automated construction method, device, storage medium and electronic equipment - Google Patents

Front end project automated construction method, device, storage medium and electronic equipment
Download PDF

Info

Publication number
CN109739478A
CN109739478ACN201811582913.3ACN201811582913ACN109739478ACN 109739478 ACN109739478 ACN 109739478ACN 201811582913 ACN201811582913 ACN 201811582913ACN 109739478 ACN109739478 ACN 109739478A
Authority
CN
China
Prior art keywords
code
building
answer
file
end project
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
Application number
CN201811582913.3A
Other languages
Chinese (zh)
Other versions
CN109739478B (en
Inventor
杨泽伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co LtdfiledCriticalNetease Hangzhou Network Co Ltd
Priority to CN201811582913.3ApriorityCriticalpatent/CN109739478B/en
Publication of CN109739478ApublicationCriticalpatent/CN109739478A/en
Application grantedgrantedCritical
Publication of CN109739478BpublicationCriticalpatent/CN109739478B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

The present invention provides a kind of front end project automated construction method, front end project automation construction device, computer readable storage medium and electronic equipments, this method comprises: according to interactive question and answer as a result, generating configuration file;Code is generated according to the configuration file to rely on;Service code is obtained, the service code is handled according to code dependence, to complete the automation building to the front end project.Technical solution of the present invention can not only realize the automated execution of front end project build process, and can be improved the building speed of front end project and the development efficiency of developer.

Description

Front end project automated construction method, device, storage medium and electronic equipment
Technical field
The present invention relates to front end development technique field, in particular to a kind of front end project automated construction method, precedingEnd project automates construction device, computer readable storage medium and electronic equipment.
Background technique
With the fast development of front-end technology, the service logic and interaction effect of front end project become increasingly complex, meanwhile, it is precedingEnd project form and module become diversification, and front end project needs constantly to carry out maintenance and iteration, so that the management difficulty of projectIncrease with development difficulty.Thus, how to simplify front end development procedure, realize the automation building of front end project, becomes relevant peopleMember's focus of attention problem.
In the prior art, the developer of front end project will not only be absorbed in the volume of exploitation service code in the process of developmentWrite, meanwhile, will also by writing building code to guarantee the normal operation of building process, thus, development procedure is cumbersome, efficiency compared withIt is low.
Therefore, the efficiency of project automated construction method in front end in the prior art is to be improved.
It should be noted that information is only used for reinforcing the reason to background of the invention disclosed in above-mentioned background technology partSolution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of front end project automated construction method, front end project automation structureDevice, storage medium and electronic equipment are built, and then front end project in the prior art is overcome to automate at least to a certain extentConstruction method building process very complicated, the lower defect of efficiency.
Other characteristics and advantages of the invention will be apparent from by the following detailed description, or partially by the present inventionPractice and acquistion.
According to a first aspect of the embodiments of the present invention, a kind of front end project automated construction method is provided, comprising: according toInteractive question and answer are as a result, generate configuration file;It is constructed according to the configuration file and generates code dependence;Obtain service code, rootThe service code is handled according to code dependence, to complete the automation building to the front end project.
In some embodiments of the invention, aforementioned schemes are based on, it is described to configure text as a result, generating according to interactive question and answerPart, comprising: according to the first interactive question and answer as a result, determining building frame;Based on the building frame, asked according to the second interactive modeIt answers as a result, determining building template;Based on the building template, configuration file is generated.
In some embodiments of the invention, aforementioned schemes are based on, the building frame is based on, is asked according to the second interactive modeIt answers as a result, determining building template, comprising: according to the building frame, determine the framing dependence of the building frame;In the frameUnder frame relies on, according to the described second interactive question and answer as a result, determining the building template.
In some embodiments of the invention, aforementioned schemes are based on, it is described that code dependence is generated according to the configuration file,Include: that dependence separation is carried out to the configuration file based on package manager, obtains building code and rely on.
In some embodiments of the invention, aforementioned schemes are based on, it is described to be relied on according to the code to the business generationCode is handled, comprising: is relied on according to the code, is split to the service code, generates divided code;To described pointIt cuts the corresponding module file of code to merge, generates and merge code file;The merging code file is compressed, is generatedOutput code file.
In some embodiments of the invention, aforementioned schemes are based on, the method also includes: according to third interactive mode question and answerAs a result, determining configuration surroundings.
In some embodiments of the invention, aforementioned schemes are based on, determine the configuration surroundings for exploitation environment, the sideMethod further include: when getting new service code, detect whether the code dependence constructs completion;When the code relies on structureCompletion is built, then automation building, output building result are carried out again to the new service code.
In some embodiments of the invention, aforementioned schemes are based on, determine the configuration surroundings for test environment or productionEnvironment, the method also includes: according to the 4th interactive question and answer result, it is determined whether be packaged the output code file defeatedOut.
According to a second aspect of the embodiments of the present invention, a kind of front end project automation construction device is provided, comprising: configurationModule is used for according to interactive question and answer as a result, generating configuration file;Module is constructed, for generating generation according to the configuration fileCode relies on;Processing module is handled the service code according to code dependence, for obtaining service code with completeThe automation building in pairs.
According to a third aspect of the embodiments of the present invention, a kind of computer readable storage medium is provided, meter is stored thereon withCalculation machine program realizes the front end project automation as described in first aspect in above-described embodiment when described program is executed by processorConstruction method.
According to a fourth aspect of the embodiments of the present invention, a kind of electronic equipment is provided, comprising: one or more processors;Storage device, for storing one or more programs, when one or more of programs are held by one or more of processorsWhen row, so that one or more of processors realize that the front end project as described in first aspect in above-described embodiment automates structureConstruction method.
Technical solution provided in an embodiment of the present invention can include the following benefits:
In the technical solution provided by some embodiments of the present invention, on the one hand, by according to interactive question and answer as a result,Configuration file is generated, can be improved the formation speed of configuration file;Further, according to the configuration file generate code according toRely, so that developer need to only be absorbed in the writing of service code, without expending energy in project build process, simplifiesDevelopment procedure alleviates project development difficulty;On the other hand, service code is obtained, is relied on according to the code to the businessCode is handled, and to complete the automation building to the front end project, the error rate of code execution can be reduced, to haveEffect promotes the development efficiency of developer.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, notIt can the limitation present invention.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the inventionExample, and be used to explain the principle of the present invention together with specification.It should be evident that the accompanying drawings in the following description is only the present inventionSome embodiments for those of ordinary skill in the art without creative efforts, can also basisThese attached drawings obtain other attached drawings.In the accompanying drawings:
Fig. 1 diagrammatically illustrates the front end project automated construction method flow chart of embodiment according to the present invention;
Fig. 2 diagrammatically illustrates front end project automated construction method flow chart according to another embodiment of the present invention;
Fig. 3 diagrammatically illustrates the front end project automated construction method flow chart of another embodiment according to the present invention;
Fig. 4 diagrammatically illustrates front end project automated construction method flow chart according to still another embodiment of the invention;
Fig. 5 diagrammatically illustrates the front end project automation construction device block diagram of embodiment according to the present invention;
Fig. 6 shows the structural schematic diagram for being suitable for the computer system for the electronic equipment for being used to realize the embodiment of the present invention.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapesFormula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the present invention will moreFully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.
In addition, described feature, structure or characteristic can be incorporated in one or more implementations in any suitable mannerIn example.In the following description, many details are provided to provide and fully understand to the embodiment of the present invention.However,It will be appreciated by persons skilled in the art that technical solution of the present invention can be practiced without one or more in specific detail,Or it can be using other methods, constituent element, device, step etc..In other cases, it is not shown in detail or describes known sideMethod, device, realization or operation are to avoid fuzzy each aspect of the present invention.
Block diagram shown in the drawings is only functional entity, not necessarily must be corresponding with physically separate entity.I.e., it is possible to realize these functional entitys using software form, or realized in one or more hardware modules or integrated circuitThese functional entitys, or these functional entitys are realized in heterogeneous networks and/or processor device and/or microcontroller device.
Flow chart shown in the drawings is merely illustrative, it is not necessary to including all content and operation/step,It is not required to execute by described sequence.For example, some operation/steps can also decompose, and some operation/steps can closeAnd or part merge, therefore the sequence actually executed is possible to change according to the actual situation.
In the prior art, the developer of front end project will not only be absorbed in the volume of exploitation service code in the process of developmentIt writes, meanwhile, also to guarantee the normal operation of construction step by writing building code, thus, complex steps, developer'sError rate is higher, efficiency is lower, and project overall operation performance is poor.Therefore, it is automated using front end project in the prior artConstruction method can not effectively construct front end project, and efficiency is to be improved.
In the present embodiment, a kind of front end project automated construction method is provided firstly, at least to a certain extent gramThe front end project automated construction method building process very complicated provided in the prior art, the lower defect of efficiency are provided.
Fig. 1 diagrammatically illustrates project automated construction method flow chart in front end according to an embodiment of the invention,The executing subject of the front end project automated construction method can be the server that automation building is carried out to front end project.
With reference to Fig. 1, project automated construction method in front end according to an embodiment of the invention the following steps are included:
Step S110, according to interactive question and answer as a result, generating configuration file;
Step S120 generates code according to the configuration file and relies on;
Step S130 obtains service code, is handled according to code dependence the service code, with completion pairThe automation of the front end project constructs.
In technical solution provided by embodiment shown in Fig. 1, on the one hand, by according to interactive question and answer as a result, generateConfiguration file can be improved the formation speed of configuration file;Further, code is generated according to the configuration file to rely on, makeThe writing that developer need to only be absorbed in service code is obtained, without expending energy in project build process, simplifies exploitationStep alleviates project development difficulty;On the other hand, service code is obtained, is relied on according to the code to the service codeIt is handled, to complete the automation building to the front end project, the error rate of code execution can be reduced, to effectively mentionRise the development efficiency of developer.
The specific implementation process of each step in Fig. 1 is described in detail below:
In step s 110, according to interactive question and answer as a result, generating configuration file.
In the exemplary embodiment, interactive question and answer are that there are interactive between a kind of developer and serverInformation processing manner, treatment process can be developer and be connected to by server input information and operational order, serverAfter immediately treat, and pass through terminal device and show interactive question and answer result;It can also be that server is shown by terminal device to work asPreceding selectable interactive question and answer, developer are clicked or are touched to determine interactive question and answer result.The tool of interactive question and answerBody embodiment can sets itself according to the actual situation, belong to the scope of protection of the present invention.The processing mode of interactive question and answer,Have the advantages that it is flexible, intuitive, convenient for control, the development time can be saved, improve the development efficiency of developer.
It in the exemplary embodiment, can be according to the interactive question and answer with developer as a result, generating configuration file.
In the exemplary embodiment, it is automatic to diagrammatically illustrate front end project according to another embodiment of the present invention by Fig. 2Change construction method flow chart, specifically illustrates according to interactive question and answer as a result, the flow chart of configuration file is generated, below in conjunction with Fig. 2Step S110 is explained.
In step s 201, according to the first interactive question and answer as a result, determining building frame.
In the exemplary embodiment, building frame refers to the frame for simplifying webpage design, for example, jquery,Extjs, bootstrap etc. encapsulate some specific functions, such as html (HyperText Markup in these framesLanguage, referred to as: html, hypertext markup language) document function, beautiful various controls (button, list etc.), useThe aesthetics that building frame can reduce the interface development period, improve interface.
In the exemplary embodiment, at least integrated Angular frame of the present invention, React frame and Vue frame, exploitationPerson can be carried out the dependence of selection corresponding frame by the order of the first interactive question and answer and be installed automatically, and installing can after relying onDirectly to use, is relied on if you need to which other third parties are added, can voluntarily install, pass through ESM (ECMA Script Module, ESStandard module has versatility and facilitates third party's module compatible and be packaged) import use.Angular frame is to be based onThe Javascript frame of TypeScript (Javascript superset), React frame are for for constructing user interfaceThe library JavaScript, Vue are a intuitive for constructing, quick and modularization interactive interface MVVM (Model-View-ViewModel, referred to as: MVVM) frame.
In step S202, it is based on the building frame, according to the second interactive question and answer as a result, determining building template.
In the exemplary embodiment, it after determining building frame, needs according to the second interactive question and answer as a result, determiningConstruct template.
In the exemplary embodiment, it is automatic to diagrammatically illustrate front end project according to yet another embodiment of the invention by Fig. 3Change construction method flow chart, specifically illustrates based on the building frame, according to the second interactive question and answer as a result, determining building templateFlow chart, step S202 is explained below in conjunction with Fig. 3.
In step S301, according to the building frame, framing dependence is determined.
In the exemplary embodiment, after determining building frame, need to further determine that above-mentioned building frame is correspondingFraming dependence, that is, determine the relevant building code of building frame.
In step s 302, under the framing dependence, according to the described second interactive question and answer as a result, determining the buildingTemplate.
In the exemplary embodiment, it after determining framing dependence according to building frame, needs to rely in said frameUnder, according to the second interactive question and answer as a result, determining building template.
In the exemplary embodiment, the essence for constructing template is can to use building template with the character string of transfer functionAfter function can be put into the object full of data, it is reduced to a completely new character string.At least integrated SPA of the present invention(Single Page Application, single-page application, abbreviation: SPA), MPA (Multi-page Application, multipageFace application, referred to as: MPA) and PWA (Progressive Web Application, gradual website application, referred to as: PWA) threeKind template.
In the exemplary embodiment, after determining building template, it is also necessary to according to third interactive mode question and answer as a result, reallyDetermine configuration surroundings, configuration surroundings can be exploitation environment, test environment or production environment;It develops environment and is used for building process, i.e.,Obtain the process before output code file.Test environment or production environment when front end project build is completed for arrivingAfter output code file, output code file can be tested or be issued in test environment or production environment and be answeredWith.
In step S203, it is based on the building template, generates configuration file.
In the exemplary embodiment, configuration file selects building frame, building mould during corresponding to front end project buildThe composition file of corresponding building code when plate, also comprising building code relies on, service code relies on and it in configuration fileThe third party that its developer voluntarily imports as needed relies on.After above-mentioned determining building frame and building template, openHair personnel can to other templates in project, such as: project directory template, page routing template, condition managing template and frameFrame component template makes appropriate choice collocation, to generate the configuration file that developer wants.
In the step s 120, code is generated according to the configuration file to rely on.
In the exemplary embodiment, after obtaining configuration file, need that (npm packet is based on npm package managerThe module management of NodeJS) dependence for including in configuration file is separated, it is relied on generating building code, service codeRely on and other third parties rely on, building code rely on can be used for building code treatment process in, service code according toRelying can be used in the treatment process to service code, and other exploitations that third party's dependence can be used for developer need processIn.
In step s 130, service code is obtained, the service code is handled according to code dependence, with completeThe automation building of the pairs of front end project.
In the exemplary embodiment, after generating code and relying on, available service code, in turn, according to above-mentionedService code dependence in code dependence handles service code.
In the exemplary embodiment, Fig. 4 diagrammatically illustrate another embodiment according to the present invention front end project it is automaticChange construction method flow chart, specifically illustrates and the flow chart handled the service code is relied on according to the code, belowStep S130 is explained in conjunction with Fig. 4.
It in step S401, is relied on according to the code, the service code is split, generate divided code.
In the exemplary embodiment, it needs that first service code is verified and converted.Carry out code check be in order toWhile Validation Code inputs correctness, the code writing style and logic for solving developer write that style is inconsistent to be showedAs.At least integrated Stylelint (CSS verification) and Eslint (JS verification) calibration tool of the present invention can by code checkWhile checking code correctness, achieve the effect that Unicode style and guarantee code uniformity, convenient for developer andThe some code errors of Shi Gaizheng, and quickly start with and understand code.
In the exemplary embodiment, after verifying to service code, in view of the exploitation of nowadays front end, there are many generationsCode standard of compiling and grammer standard, and most standard can not directly be run under most of browser, therefore, the present inventionAt least integrated Sass (CSS pretreatment), Babel (JS compiling) and TypeScript (JS extension), can be the industry after verificationBusiness code is converted into the service code that current browser can be parsed, be identified.By code conversion, so that the structure one of service codeMesh is clear, and the maintainability of service code is enhanced.
In the exemplary embodiment, corresponding to the service code after verification, conversion, based on different type of codes pairIt answers different codes to rely on, can be relied on according to service code and it is split, generate divided code.The purpose of code divisionBe that the multiple business code that will include in service code separates, such as: may include inside service code HTML code,CSS code and JS code;Illustratively, segmentation or asynchronous segmentation can be synchronized to service code, service code pointIt is segmented into corresponding HTML module file, CSS module file and JS module file.
In step S402, the corresponding module file of the divided code is merged, generates and merges code file.
In the exemplary embodiment, the corresponding module file of divided code is merged, generates and merges code file,Corresponding HTML module file, CSS module file and JS module file are merged, generates and merges code file.It is logicalIt crosses and module file is merged, facilitate the request for allowing HTML entry file to reduce dependent file in subsequent code processNumber, is allowed to load less file, to improve loading velocity and rendering speed, to improve runnability.
In step S403, the merging code file is compressed, generates output code file.
In the exemplary embodiment, after obtaining merging code file, the volume of this document is larger, if directly rightIt carries out packing output, then, the debugging code that developer writes in the process of development and other generations write unintentionallyCode can be all packaged into, excessive so as to cause output code document memory occupancy volume, and system performance reduces.Thus, thisInvention at least integrated Purifycss (CSS compression), Uglifyjs (JS compression), Imagemin (compression of images), Fontspider(font data compression) and Gzip (abbreviation of GNUzip, the compressing file for unix system) compression, can adjust according to actual needsWith one or more of compression methods, compression merges image and font, removes useless and duplicate code, is reduced with reachingThe volume and resources occupation amount of output code file, the file for maximizing output minimum volume improve front end project operation performanceTechnical effect.
In the exemplary embodiment, it in exploitation environment, when getting new service code again, needs to detect generationCode relies on whether construct completion;It completes, then the new service code got is automated again when code relies on buildingBuilding, output building is as a result, obtain output code file.
It in the exemplary embodiment, can be according to third interactive mode question and answer result after obtaining output code fileDetermine whether to switch to configuration surroundings to test environment or production environment, after entering test environment or production environment, Ke YiyuDeveloper carries out the 4th interactive question and answer, obtains the 4th interactive question and answer as a result, to determine whether the output code that will be obtainedFile, which is packaged, to be exported and issues.Thus, it is possible to the release quickly of output code file be realized, to simplify publication process.
The device of the invention embodiment introduced below can be used for executing the above-mentioned front end project automation building of the present inventionMethod.
Fig. 5 diagrammatically illustrates front end project automation construction device block diagram according to an embodiment of the invention, shouldProject automation construction device in front end can be set in the server for carrying out automation building to front end project.
Referring to Figure 5, front end project according to an embodiment of the invention automates construction device block diagram 500, packetInclude following module: configuration module 501, building module 502 and processing module 503 are illustrated in detailed below:
Configuration module 501 is used for according to interactive question and answer as a result, generating configuration file.
In the exemplary embodiment, configuration module is used for according to the first interactive question and answer as a result, determining building frame;BaseIn the building frame, according to the second interactive question and answer as a result, determining building template;Based on the building template, configuration is generatedFile.
Module 502 is constructed, is relied on for generating code according to the configuration file.
In the exemplary embodiment, building module is used to rely on to the configuration file based on package manager and divideFrom acquisition code relies on.
Processing module 503 is handled the service code according to code dependence for obtaining service code,To complete the automation building to the front end project.
In the exemplary embodiment, processing module is used to be relied on according to the code, divides the service codeIt cuts, generates divided code;The corresponding module file of the divided code is merged, generates and merges code file;To describedMerge code file to be compressed, generates output code file.To complete the automation building to the front end project.
Due to example embodiments of the present invention front end project automation construction device each functional module and it is above-mentioned beforeThe step of example embodiment of end project automated construction method, is corresponding, therefore for undisclosed in apparatus of the present invention embodimentDetails please refers to the embodiment of the above-mentioned front end project automated construction method of the present invention.
Below with reference to Fig. 6, it illustrates the computer systems 600 for the electronic equipment for being suitable for being used to realize the embodiment of the present inventionStructural schematic diagram.The computer system 600 of electronic equipment shown in Fig. 6 is only an example, should not be to the embodiment of the present inventionFunction and use scope bring any restrictions.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored inProgram in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 andExecute various movements appropriate and processing.In RAM 603, it is also stored with various programs and data needed for system operatio.CPU601, ROM 602 and RAM 603 is connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to bus604。
I/O interface 605 is connected to lower component: the importation 606 including keyboard, mouse etc.;It is penetrated including such as cathodeThe output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 608 including hard disk etc.;And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as becauseThe network of spy's net executes communication process.Driver 610 is also connected to I/O interface 605 as needed.Detachable media 611, such asDisk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 610, in order to read from thereonComputer program be mounted into storage section 608 as needed.
Particularly, according to an embodiment of the invention, may be implemented as computer above with reference to the process of flow chart descriptionSoftware program.For example, the embodiment of the present invention includes a kind of computer program product comprising be carried on computer-readable mediumOn computer program, which includes the program code for method shown in execution flow chart.In such realityIt applies in example, which can be downloaded and installed from network by communications portion 609, and/or from detachable media611 are mounted.When the computer program is executed by central processing unit (CPU) 601, executes and limited in the system of the applicationAbove-mentioned function.
It should be noted that computer-readable medium shown in the present invention can be computer-readable signal media or meterCalculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium can be for example but not limited toElectricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.It is computer-readableThe more specific example of storage medium can include but is not limited to: have electrical connection, the portable computing of one or more conducting wiresMachine disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory (EPROMOr flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or above-mentionedAny appropriate combination.In the present invention, computer readable storage medium can be it is any include or storage program it is tangibleMedium, the program can be commanded execution system, device or device use or in connection.And in the present invention,Computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated, wherein carryingComputer-readable program code.The data-signal of this propagation can take various forms, and including but not limited to electromagnetism is believedNumber, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable storage mediumAny computer-readable medium other than matter, the computer-readable medium can be sent, propagated or transmitted for being held by instructionRow system, device or device use or program in connection.The program code for including on computer-readable mediumIt can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. or above-mentioned any conjunctionSuitable combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of various embodiments of the invention, method and computer journeyThe architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generationA part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or moreExecutable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in boxThe function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practicalOn can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wantsIt is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute ruleThe dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instructionIt closes to realize.
Being described in unit involved in the embodiment of the present invention can be realized by way of software, can also be by hardThe mode of part realizes that described unit also can be set in the processor.Wherein, the title of these units is in certain situationUnder do not constitute restriction to the unit itself.
As on the other hand, present invention also provides a kind of computer readable storage medium, the computer-readable storage mediumsMatter can be included in electronic equipment described in above-described embodiment;It is also possible to individualism, and without the supplying electricityIn sub- equipment.Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by oneWhen a electronic equipment executes, so that the electronic equipment realizes that above-mentioned front end project as described in the examples such as automates building sideMethod.
For example, the electronic equipment may be implemented as shown in Figure 1: step S110, according to interactive question and answer as a result,Generate configuration file;Step S120 generates code according to the configuration file and relies on;Step S130 obtains service code, according toThe code dependence handles the service code, to complete the automation building to the front end project.
For another example, each step as shown in any figure of Fig. 2-4 may be implemented in the electronic equipment.
It should be noted that although being referred to several modules or list for acting the equipment executed in the above detailed descriptionMember, but this division is not enforceable.In fact, embodiment according to the present invention, it is above-described two or moreModule or the feature and function of unit can embody in a module or unit.Conversely, an above-described mouldThe feature and function of block or unit can be to be embodied by multiple modules or unit with further division.
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implementedMode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the present inventionThe technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at oneProperty storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculatingEquipment (can be personal computer, server, touch control terminal or network equipment etc.) executes embodiment according to the present inventionMethod.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention itsIts embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes orPerson's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the present inventionOr conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by followingClaim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, andAnd various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (11)

CN201811582913.3A2018-12-242018-12-24Front-end project automatic construction method and device, storage medium and electronic equipmentActiveCN109739478B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201811582913.3ACN109739478B (en)2018-12-242018-12-24Front-end project automatic construction method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201811582913.3ACN109739478B (en)2018-12-242018-12-24Front-end project automatic construction method and device, storage medium and electronic equipment

Publications (2)

Publication NumberPublication Date
CN109739478Atrue CN109739478A (en)2019-05-10
CN109739478B CN109739478B (en)2022-12-06

Family

ID=66361032

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201811582913.3AActiveCN109739478B (en)2018-12-242018-12-24Front-end project automatic construction method and device, storage medium and electronic equipment

Country Status (1)

CountryLink
CN (1)CN109739478B (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110647320A (en)*2019-08-142020-01-03平安普惠企业管理有限公司Project framework construction method and device, computer equipment and storage medium
CN110659062A (en)*2019-09-202020-01-07贝壳技术有限公司Front-end scaffold configuration method and device, readable storage medium and electronic equipment
CN110704101A (en)*2019-09-062020-01-17平安普惠企业管理有限公司Code file construction method, device, equipment and computer readable storage medium
CN110879702A (en)*2019-11-212020-03-13大唐网络有限公司Method for realizing visual speech configuration in intelligent voice outbound system
CN111273898A (en)*2020-02-252020-06-12安徽以萨数据技术有限公司Web front-end code automatic construction method, system and storage medium
CN111562940A (en)*2020-04-262020-08-21北京金堤科技有限公司Project data construction method and device
CN112099794A (en)*2020-09-282020-12-18中国银行股份有限公司 Front-end project construction method and device
CN112162742A (en)*2020-08-212021-01-01长沙市到家悠享网络科技有限公司Code deployment method, device and equipment
CN112199080A (en)*2020-09-282021-01-08上海上讯信息技术股份有限公司Webpack construction method and equipment for vuejs project
CN112346888A (en)*2020-11-042021-02-09网易(杭州)网络有限公司Data communication method and device based on software application and server equipment
CN112882698A (en)*2019-11-292021-06-01京东安联财产保险有限公司Development environment generation method and device, computer storage medium and electronic device
CN113254019A (en)*2020-02-102021-08-13北京沃东天骏信息技术有限公司Method and device for registering front-end data stream state file
CN113312056A (en)*2021-06-162021-08-27浪潮云信息技术股份公司Internationalization implementation method of angular large-scale integration project, electronic device and storage medium
CN113419730A (en)*2021-06-222021-09-21中电金信软件有限公司Front-end engineering construction method and device and electronic equipment
CN113608746A (en)*2021-08-162021-11-05北京字节跳动网络技术有限公司Code conversion processing method and device, computer equipment and storage medium
CN113760229A (en)*2021-01-292021-12-07北京京东拓先科技有限公司Front-end project generation method and system, electronic equipment and storage medium
CN114995801A (en)*2022-05-182022-09-02北京寄云鼎城科技有限公司Visual application development method and system based on Internet of things platform
US11681772B2 (en)2021-08-132023-06-20Capital One Services, LlcSystems, methods, and media enabling streamlined user experiences across progressive web applications

Citations (11)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20050027871A1 (en)*2003-06-052005-02-03William BradleyInteroperable systems and methods for peer-to-peer service orchestration
US20060068791A1 (en)*2004-09-272006-03-30Bengt LindoffDerivation of optimal antenna weights during soft handover
CN102637157A (en)*2011-02-152012-08-15郑磊DTSOC (digital template system on chip)
CN103391213A (en)*2012-05-112013-11-13中兴通讯股份有限公司Application deployment method, CPE (Customer Premises Equipment) and application deployment system
CN104536744A (en)*2014-12-192015-04-22微梦创科网络科技(中国)有限公司Method and server for automatically building and deploying codes
CN105956830A (en)*2016-05-112016-09-21中煤电气有限公司J2EE framework based enterprise-level visualization application development platform
CN106502663A (en)*2016-10-172017-03-15成都知道创宇信息技术有限公司A kind of front end project skeleton generating method
CN106843869A (en)*2017-01-162017-06-13百融(北京)金融信息服务股份有限公司A kind of front end Development Engineering system and method
CN107423053A (en)*2017-06-152017-12-01东莞理工学院 A web-based model encapsulation and distributed processing method for remote sensing image processing
CN108038241A (en)*2018-03-012018-05-15上海品顺信息科技有限公司Integrated WEB visual workflows method, apparatus, readable storage medium storing program for executing and system
CN108268283A (en)*2016-12-312018-07-10英特尔公司For operating the computing engines framework data parallel to be supported to recycle using yojan

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20050027871A1 (en)*2003-06-052005-02-03William BradleyInteroperable systems and methods for peer-to-peer service orchestration
US20060068791A1 (en)*2004-09-272006-03-30Bengt LindoffDerivation of optimal antenna weights during soft handover
CN102637157A (en)*2011-02-152012-08-15郑磊DTSOC (digital template system on chip)
CN103391213A (en)*2012-05-112013-11-13中兴通讯股份有限公司Application deployment method, CPE (Customer Premises Equipment) and application deployment system
CN104536744A (en)*2014-12-192015-04-22微梦创科网络科技(中国)有限公司Method and server for automatically building and deploying codes
CN105956830A (en)*2016-05-112016-09-21中煤电气有限公司J2EE framework based enterprise-level visualization application development platform
CN106502663A (en)*2016-10-172017-03-15成都知道创宇信息技术有限公司A kind of front end project skeleton generating method
CN108268283A (en)*2016-12-312018-07-10英特尔公司For operating the computing engines framework data parallel to be supported to recycle using yojan
CN106843869A (en)*2017-01-162017-06-13百融(北京)金融信息服务股份有限公司A kind of front end Development Engineering system and method
CN107423053A (en)*2017-06-152017-12-01东莞理工学院 A web-based model encapsulation and distributed processing method for remote sensing image processing
CN108038241A (en)*2018-03-012018-05-15上海品顺信息科技有限公司Integrated WEB visual workflows method, apparatus, readable storage medium storing program for executing and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
N. ZHANG 等: "Research of web front-end engineering solution in public cultural service project", 《2017 IEEE/ACIS 16TH INTERNATIONAL CONFERENCE ON COMPUTER AND INFORMATION SCIENCE (ICIS)》*
葛美红 等: "编译前端分析自动构件化代码可靠性加强方法", 《计算机科学与探索》*

Cited By (24)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110647320A (en)*2019-08-142020-01-03平安普惠企业管理有限公司Project framework construction method and device, computer equipment and storage medium
CN110704101A (en)*2019-09-062020-01-17平安普惠企业管理有限公司Code file construction method, device, equipment and computer readable storage medium
CN110659062A (en)*2019-09-202020-01-07贝壳技术有限公司Front-end scaffold configuration method and device, readable storage medium and electronic equipment
CN110659062B (en)*2019-09-202023-09-29贝壳技术有限公司Front-end scaffold configuration method and device, readable storage medium and electronic equipment
CN110879702A (en)*2019-11-212020-03-13大唐网络有限公司Method for realizing visual speech configuration in intelligent voice outbound system
CN112882698A (en)*2019-11-292021-06-01京东安联财产保险有限公司Development environment generation method and device, computer storage medium and electronic device
CN113254019A (en)*2020-02-102021-08-13北京沃东天骏信息技术有限公司Method and device for registering front-end data stream state file
CN111273898A (en)*2020-02-252020-06-12安徽以萨数据技术有限公司Web front-end code automatic construction method, system and storage medium
CN111273898B (en)*2020-02-252024-03-19安徽以萨数据技术有限公司Automatic construction method, system and storage medium for web front-end code
CN111562940A (en)*2020-04-262020-08-21北京金堤科技有限公司Project data construction method and device
CN111562940B (en)*2020-04-262024-02-27北京金堤科技有限公司Project data construction method and device
CN112162742A (en)*2020-08-212021-01-01长沙市到家悠享网络科技有限公司Code deployment method, device and equipment
CN112199080B (en)*2020-09-282023-02-17上海上讯信息技术股份有限公司Webpack construction method and equipment for vuejs project
CN112199080A (en)*2020-09-282021-01-08上海上讯信息技术股份有限公司Webpack construction method and equipment for vuejs project
CN112099794A (en)*2020-09-282020-12-18中国银行股份有限公司 Front-end project construction method and device
CN112346888A (en)*2020-11-042021-02-09网易(杭州)网络有限公司Data communication method and device based on software application and server equipment
CN113760229A (en)*2021-01-292021-12-07北京京东拓先科技有限公司Front-end project generation method and system, electronic equipment and storage medium
CN113312056B (en)*2021-06-162022-04-19浪潮云信息技术股份公司Internationalization implementation method of angular large-scale integration project, electronic device and storage medium
CN113312056A (en)*2021-06-162021-08-27浪潮云信息技术股份公司Internationalization implementation method of angular large-scale integration project, electronic device and storage medium
CN113419730A (en)*2021-06-222021-09-21中电金信软件有限公司Front-end engineering construction method and device and electronic equipment
US11681772B2 (en)2021-08-132023-06-20Capital One Services, LlcSystems, methods, and media enabling streamlined user experiences across progressive web applications
CN113608746A (en)*2021-08-162021-11-05北京字节跳动网络技术有限公司Code conversion processing method and device, computer equipment and storage medium
CN113608746B (en)*2021-08-162023-10-27北京字节跳动网络技术有限公司Code conversion processing method, device, computer equipment and storage medium
CN114995801A (en)*2022-05-182022-09-02北京寄云鼎城科技有限公司Visual application development method and system based on Internet of things platform

Also Published As

Publication numberPublication date
CN109739478B (en)2022-12-06

Similar Documents

PublicationPublication DateTitle
CN109739478A (en)Front end project automated construction method, device, storage medium and electronic equipment
EP3433711B1 (en)Tools and methods for real-time dataflow programming language
CN109446099A (en)Automatic test cases generation method, device, medium and electronic equipment
US20180196643A1 (en)Generating web api specification from online documentation
CN114253537B (en) Form generation method and device, electronic device and storage medium
CN111176629A (en)Application development method and device
CN112187558B (en)Data verification method and device and electronic equipment
CN109634490A (en)A kind of list display method, device, equipment and storage medium
CN110109979A (en)A kind of allocation list radio button method and apparatus
CN109582317A (en)Method and apparatus for debugging boarding application
CN110858172A (en) A kind of automatic test code generation method and device
CN111324833A (en) Page display method, apparatus, electronic design and computer readable medium
CN110377429A (en)A kind of control method, device, server and storage medium that real-time task calculates
CN109799985A (en)Front-end code generation method and device, storage medium and electronic equipment
CN108958744A (en)Dispositions method, device, medium and the electronic equipment of big data distributed type assemblies
CN114217789A (en) Functional component expansion method, apparatus, device, storage medium and program product
CN108959294A (en)A kind of method and apparatus accessing search engine
CN114996619A (en)Page display method and device, computer equipment and storage medium
CN113297028A (en)Script execution method and device, computer equipment and storage medium
CN110807056A (en)Excel-based report processing method, Excel-based report processing device, Excel-based report processing medium and electronic equipment
CN109766228A (en)Verification method and device on a kind of line based on interface
CN113885841A (en)Script generation method and device, electronic equipment and readable medium
CN109299124A (en)Method and apparatus for more new model
CN110020349A (en)The method and device of page rendering
CN111367889A (en)Cross-cluster data migration method and device based on webpage interface

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp