CN109669680A - The development process method, apparatus and electronic equipment of Web page module - Google Patents

The development process method, apparatus and electronic equipment of Web page module Download PDF

Info

Publication number
CN109669680A
CN109669680A CN201710959690.7A CN201710959690A CN109669680A CN 109669680 A CN109669680 A CN 109669680A CN 201710959690 A CN201710959690 A CN 201710959690A CN 109669680 A CN109669680 A CN 109669680A
Authority
CN
China
Prior art keywords
project file
module
end project
rear end
web page
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.)
Pending
Application number
CN201710959690.7A
Other languages
Chinese (zh)
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201710959690.7A priority Critical patent/CN109669680A/en
Publication of CN109669680A publication Critical patent/CN109669680A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/315Object-oriented languages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/77Software metrics

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides the development process method, apparatus and electronic equipment of a kind of Web page module, and wherein method includes: the module basic configuration information and front and back end Interworking Data agreement that Web page module is arranged;The front end project file and rear end project file of Web page module are established respectively, and receive the code write-in of forward end project file and rear end project file;Deployment operation is executed to front end project file and rear end project file.The embodiment of the present invention enables the project file of front and back end to carry out relatively independent exploitation under unified specification, to improve the efficiency of the exploitation of Web page module by presetting module basic configuration information and front and back end Interworking Data agreement.

Description

The development process method, apparatus and electronic equipment of Web page module
Technical field
The present embodiments relate to the development process method, apparatus and electronic equipment of a kind of Web page module, belong to computer Technical field.
Background technique
Webpage development is divided into front end exploitation and rear end exploitation, and front end exploitation is mainly web interface and the friendship between user The mutually exploitation of aspect, rear end exploitation are mainly the exploitation of background process logic and background data base that webpage is related to.
The page and content involved in webpage development are all very rich and content change is also very much, but from webpage development Angle for, many spaces of a whole page and background logic of webpage are all duplicate.Webpage development is related to the general of an atomic size Read, for the angle of exploitation, it is desirable to webpage have thinner dynamics atom split and can atomic size independence engineering development and It runs, precipitate for reusing later.
Webpage development also relates to the problem of module opening, for the angle of development and application, it is desirable to net The modules of page can be allowed and be participated in exploitation more in many ways to more multi-party open, and the entirety, also not of webpage is concerned about without spending The environment of application and dependence where being concerned about webpage.
The exploitation of current webpage development front and back end is not stand-alone development, but the progress that mixes.In actual work In work, due to the front and back end technology contents that are related to of exploitation and difference, front end exploitation and rear end exploitation be by different personnel or Come what is handled, although the exploitation of front and back end is different personnel to develop for team, and still, not being due to front and back end is stand-alone development, The personnel of front and back end need mutually coordinated progress, are frequently docked and are debugged, it is clear that can cause shadow to mutual efficiency It rings.
Summary of the invention
The embodiment of the present invention provides the development process method, apparatus and electronic equipment of a kind of Web page module, to realize webpage The front and back end stand-alone development of module.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, providing a kind of development process method of Web page module, comprising:
The module basic configuration information and front and back end Interworking Data agreement of Web page module are set;
The front end project file and rear end project file of the Web page module are established respectively, and are received to the front end engineering The write-in of the code of file and rear end project file, front end project file and the rear end project file follow the module base This configuration information and front and back end Interworking Data agreement;
Deployment operation is executed to the front end project file and rear end project file.
Second aspect provides a kind of development process device of Web page module, comprising:
Configuration module, for the module basic configuration information and front and back end Interworking Data agreement of Web page module to be arranged;
Project file generation module, for establishing the front end project file and rear end engineering text of the Web page module respectively Part, and receive to the code of the front end project file and rear end project file be written, the front end project file and it is described after End project file follows the module basic configuration information and front and back end Interworking Data agreement;
Deployment module, for executing deployment operation to the front end project file and rear end project file.
The third aspect provides a kind of electronic equipment, comprising:
Memory, for storing program;
Processor is coupled to the memory, for executing described program, to be used for:
The module basic configuration information and front and back end Interworking Data agreement of Web page module are set;
The front end project file and rear end project file of the Web page module are established respectively, and are received to the front end engineering The write-in of the code of file and rear end project file, front end project file and the rear end project file follow the module base This configuration information and front and back end Interworking Data agreement;
Deployment operation is executed to the front end project file and rear end project file.
The development process method, apparatus and electronic equipment of Web page module provided in an embodiment of the present invention, by presetting Module basic configuration information and front and back end Interworking Data agreement, then creation meets module basic configuration information and front and back end docking The front end project file and rear end project file of data protocol, and user is allowed based on the front end project file and rear end project file Carry out the exploitation of program code.Such development scheme enables the project file of front and back end to carry out phase under unified specification To independent exploitation, to improve the efficiency of the exploitation of Web page module.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of the development process system of the Web page module of the embodiment of the present invention;
Fig. 2 is the template schematic diagram for configuration module basic configuration information provided a user;
Fig. 3 is the flow diagram of the development process method of the Web page module of the embodiment of the present invention;
Fig. 4 is the structural schematic diagram of the development process device of the Web page module of the embodiment of the present invention;
Fig. 5 is the structural schematic diagram of the electronic equipment of the embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
As shown in Figure 1, its structural schematic diagram for the development process system of the Web page module of the embodiment of the present invention, the present invention The development process method of the Web page module of embodiment can be completed based on web page platform, which can be mentioned by cloud service For cloud resource required for provided by quotient, being integrated with webpage development on the platform and running, it is provided on platform for split The database of the Web page module distributed store, the enforcement engine that Web page module is compiled, is debugged, is run, with And it is associated for loading the container of the Web page module with the enforcement engine.The platform can with as Web page module developer's Developer's client of user is docked, and can also be docked with user's client of the user of the user as Web page module. Based on the platform, the user as Web page developer (such as the enterprise etc. for renting the cloud service provider resource) can complete net Online overall process is debugged and is issued in exploitation, deployment, the operation of page module.After publication is online, as webpage user's (example Consumer as accessed the Web page module) user the Web page module of publication can be used.
The embodiment of the present invention relates generally to the development process of the Web page module based on the platform.Based on the platform, webpage mould The development operation of block can be opened to the multi-party user as Web page developer come developing according to its own, and The developer that its demand is posed to web page platform is not needed, by the developer of web page platform come unitized overall development.
In embodiments of the present invention, the webpage development based on platform relates generally to the following three stage:
One, configuration phase
Platform can provide the configuration template of Web page module, and user is allowed to carry out before carrying out Web page module exploitation to be developed Web page module configured, the configuration template relate generally to Web page module module basic configuration information and front and back end docking number According to the configuration of agreement.Two-part configuration content is introduced separately below.
1, module basic configuration information
Module basic configuration information specifically includes that the module id information of Web page module, the interface configurations of Web page module letter One or more in the information such as breath, module resource configuration information, module grouping information, functional circuit information, these modules Basic configuration information is equivalent to the attribute of the Web page module.As shown in Fig. 2, its be provide a user for configuration module it is basic The template schematic diagram of configuration information, specific module basic configuration information for example: module title, module title, module grouping, module Support (whether in real time, how much is caching for width, module logo (mark), bottoming occupy-place figure, functions of modules description, cached configuration Second), language message setting etc..
Module title and module title belong to module id information, and module id information is in entire webpage development project Uniquely, which can be associated with the front and back end Interworking Data agreement being subsequently noted, the part of front and back end stand-alone development Also it can be docked by this module id information.
Module supports width, module logo, bottoming occupy-place figure etc. to belong to interface configuration information, and interface configuration information defines Attribute information in terms of some interface configurations that down-stream is followed when developing.
Cached configuration belongs to module resource configuration information, and platform can be distributed according to cached configuration information for the Web page module Corresponding platform resource can also execute corresponding when subsequent enforcement engine runs the Web page module according to the configuration information Caching.
Functions of modules description information understands the basic of this Web page module by seeing the function description of this Web page module Function.
By above module basic configuration information, attribute setting is provided for subsequent program development, before being subsequent The exploitation of backstage engineering provides basic Configuration Framework, so that the exploitation of the engineering of front and back is in unified Configuration Framework Lower progress.
2, front and back end Interworking Data agreement
Front and back end Interworking Data agreement specifically includes that module form definition, the definition of module form data format, display data One or more of format definition.Wherein, module form definition includes: the form for defining list, the school for filling in form data Proved recipe formula etc..Module form data format definition: data format and the title of each field inside list etc..Display data lattice Formula definition: the part is related to the data format agreement of back-end code discharge, while being also the data format agreement for being given to front end, this Sample front end rear end can independently promote development according to this format, and front end can generate exhibition previously according to this format Show interface.
By the protocol configuration in terms of three above, the engineering that front and back can be enabled to develop follows unified number According to agreement, so that the data that front and back generates can be realized good docking and interaction.
Two, the development phase of front and back end project file
Postpone matching for above-mentioned module basic configuration information and front and back end Interworking Data agreement, platform can be distinguished The front end project file and rear end project file of Web page module are established, front end project file and rear end project file can follow front The module basic configuration information and front and back end Interworking Data agreement of generation, so that the Development Engineering of front and back end is in unified frame It is carried out under frame.
In order to preferably configure front end project file and rear end project file, platform is also pre-set for front end engineering Some constraint rules of file and rear end project file, these constraint rules are based on the pre-set basic class of platform, method (entering ginseng and out ginseng which includes method), data source and SDK (Software Development Kit, software development Kit) determined.
Basic class and the basic class of method is arranged in platform, and the front end project file and rear end project file of Web page module are all The basic class is inherited, i.e., the class using the basic class as the parent for the class developed in Web page module, in each Web page module It needs to realize this basic class of method, and follows entering for the basic class of method and join and go out ginseng, so that it is guaranteed that each in the overall situation A class has unified interface.The interior business logical gate of this method can be opened to be written to developer.It is specific next It says, since tolerance is bigger in the webpage development of front and back end, can be respectively set for the front-end and back-end of Web page module Different basic classes, the project file of front and back end can inherit respective basic class.For platform, for the basic of front end Class and basic class for rear end
Platform additionally provides unified data source and SDK, and the program of front end project file and rear end project file is patrolled Collecting relied on data source and SDK need to be in the range of the data source and SDK that platform provides, so that different developers Unified data source and SDK can be followed uses rule, so that it is guaranteed that the project file for the Web page module that developed can Smoothly compiling and can be fully compliant with platform.
Based on above-mentioned constraint rule, platform, can be automatic during establishing front end project file and rear end project file The basic class, method, data source for establishing front end project file and rear end project file rely on and SDK is relied on etc..Above-mentioned pact Beam rule relates generally to parent constraint, the constraint of data source and dependence.Some bases can be automatically generated by these constraint rules The code contents such as this class, method and data source, while the code content that user is capable of free development is also limited to a conjunction In the range of reason, allow users to targetedly develop front end project file and rear end project file.
Specifically, in the front end project file and rear end project file of generation, all comprising one as subsequent module The java class of parent, other modules developed in front end project file and rear end project file all inherit the java class, the work Necessary method in the modules in front end project file and rear end project file is defined for the java class of parent, The developer of modules must realize these methods defined in parent.In addition, front end project file and rear end project file It is dependent on common SDK jar packet, the data source and can draw that this SDK jar packet the inside has the module in project file that can use Class etc., the exploitation of front end project file and rear end project file cannot surmount this range, otherwise for engineering compiling Compiling will report an error.By above-mentioned tied mechanism, the project file for the Web page module that different developers are developed is limited to Under one unified frame.
Specifically, platform can be automatically generated as the java class of the foundation class of Web page module and the execute of the java class Method (executing method), entering for execute method join and go out to join, are automatically introduced into two sides relied on required for container, tripartite SDK It wraps, automatically generate Depending module SDK and related data sources, the spring bean (Spring for being automatically injected required data source Component, Spring are a kind of Java Development Frameworks of lightweight), automatically generating unit test backbone code etc..Correspondingly, platform The service logic part among execute method is left for user to develop, allow user be written code, user only need by The logic needed is written with code form, simplifies the difficulty of User Exploitation, has also fully ensured that the engineering of front and back end is opened Capable of completing under unified frame for hair, improves the independence of the exploitation of front and back end engineering.
Three, dispose, debug and it is online
After the code write-in of user's finishing service logical gate, so that it may by front end project file and rear end project file It is deployed on platform.Specifically, the use on platform is sent by the front end project file of completion and rear end project file In the database of storage project file, the enforcement engine of platform can transfer the front end project file of Web page module from the database It is compiled with rear end project file, the front end project file and rear end project file after generating compiling, then by the front end work Journey file and rear end project file are loaded into enforcement engine for running in the container of Web page module, to complete to dispose.
After completing deployment, enforcement engine will do it virtual test (mock), by using virtual data (mock data) Front end project file and rear end project file to Web page module carry out dry run, to carry out the combined debugging of front and back end.
After completing debugging, so that it may by enforcement engine commencement of commercial operation Web page module in a reservoir, and be opened to internet Hair, allows the user as Web page module to access, to complete to issue online process.
It can be seen that from the development process of previously described entire Web page module since the project file of front and back is to unite It is developed under one module basic configuration information, the frame of front and back end Interworking Data agreement, different Web page modules has followed flat Therefore the preset constraint rule of platform it is open to different developer and can relatively solely to can be realized different Web page module The front and back end exploitation of vertical exploitation, the same Web page module can also be relatively independent, and under such Development System, Web page module can To realize smaller atomization, it can also open to different users and develop, to improve the efficiency of Web page module exploitation.
Below by several specific embodiment to further illustrate the technical scheme of the present inventions.
Embodiment one
As shown in figure 3, its flow diagram for the development process method of the Web page module of the embodiment of the present invention, comprising:
S101: the module basic configuration information and front and back end Interworking Data agreement of Web page module are set.Wherein, module is basic Configuration information may include: the module id information, the interface configuration information of Web page module, module resource of Web page module with confidence One or more in breath, module grouping information, functional circuit information etc..Front and back end Interworking Data agreement may include: mould One or more during block form definition, module form data format define, display data format defines.These modules are basic The setting of configuration information and front and back end Interworking Data agreement can interact to completion, tool by platform above-mentioned and user Body can provide preset some templates with platform to be presented to the user, and user is allowed to fill in or select corresponding module basic configuration Information and front and back end Interworking Data agreement can complete configuration for phase after user configures by way of interface alternation Close the setting that the step is completed in information deposit platform.
S102: establishing the front end project file and rear end project file of Web page module respectively, and receives forward end engineering text The write-in of the code of part and rear end project file, front end project file and rear end project file follow module basic configuration information with before Rear end Interworking Data agreement.It specifically, can also be according to default during creating front end project file and rear end project file Constraint rule, establish respectively the basic class, the basic class of method, data source of front end project file and rear end project file according to Rely, SDK rely in one or more.
Wherein, these constraint rules include the preset basic class of platform, (which includes entering for method to join and go out for method Ginseng), data source and SDK (Software Development Kit, Software Development Kit), these constraint rules can be made It is basic for subsequent front end project file and the exploitation of rear end project file, for example, the front end project file of Web page module and rear end Project file will inherit the basic class, i.e., using the basic class as the parent for the class developed in Web page module, each webpage mould Class in block requires to realize this basic class of method (generation of above-mentioned reception forward end project file and rear end project file Code write-in is mainly exactly the code that service logic part is written into this basic class of method), and follow the basic class of side Method enter ginseng and go out join, so that it is guaranteed that in the overall situation each class have unified interface.Data source and SDK are also for subsequent What exploitation used, the user as developer is during forward end project file and rear end project file write-in code, such as Fruit is related to data source and SDK, then needs the preset data source of application platform and SDK.
Based on such constraint rule, platform can automatically generate some in front end project file and rear end project file The code content that user is capable of free development to mitigate the workload of developer, while being also limited to one by basic code In reasonable range, allow users to targetedly develop front end project file and rear end project file.
More specifically, above-mentioned front end project file and rear end project file can use a kind of GIT (distribution of open source Version control system) project file form, GIT project file is advantageous in that the change that can automatically record each file, Multiple versions are formed, modifies and traces to the source convenient for developer.
S103: deployment operation is executed to front end project file and rear end project file.Deployment operation in the step can be with Specifically: it includes: the enforcement engine of web page platform to front end that front end project file and rear end project file, which are executed deployment operation, Project file and rear end project file are compiled, and by after compiling front end project file and rear end project file be loaded into net Page platform is used to run in the container of Web page module.
Specifically, it is provided on above-mentioned platform dedicated for storing the number of front end project file and rear end project file According to library, after user completes the code write-in of front end project file and rear end project file, so that it may by the front end engineering text of completion Part and rear end project file are deposited into corresponding database, and later, the enforcement engine of platform will go in the database to extract Front end project file and rear end engineering are compiled, and the project file after compiling is put into the container of operation Web page module, To complete to dispose.
After completing deployment, generally also need to carry out simulation fortune to Web page module by using virtual data (mock data) Row, carries out the combined debugging of front and back end.After completing debugging, so that it may formally issue online.
In the development process of the Web page module of the embodiment of the present invention, the development process of Web page module is decomposed into front end work Two relatively independent engineerings of journey and rear end engineering, and assisted by setup module basic configuration information and front and back end Interworking Data View enables front and back end engineering to follow respective specification and front and back end protocol conventions, to keep pair of front and back end engineering Connecing property and matching.In addition, by presetting comprising basic class, method, the constraint rule that data source relies on, SDK is relied on, it can It being completed with breaking a seal the development process of Web page module to its other party other than platform, being made most throughout one's life by these constraint rules At Web page module can by the enforcement engine of platform compile, load and execute.
Embodiment two
As shown in figure 4, its structural schematic diagram for the development process device of the Web page module of the embodiment of the present invention, this implementation The development process device of the Web page module of example can be set on above-mentioned web page platform, the apparatus may include:
Configuration module 11, for the module basic configuration information and front and back end Interworking Data agreement of Web page module to be arranged.Its In, in the configuration module 11, setup module basic configuration information may include: be arranged Web page module module id information, Interface configuration information, module resource configuration information, module grouping information, one or more in functional circuit information.Setting Front and back end Interworking Data agreement may include: setup module form definition, the definition of module form data format, display data format One or more in definition.
Project file generation module 12, for establishing the front end project file and rear end project file of Web page module respectively, And the code write-in of forward end project file and rear end project file is received, front end project file and rear end project file follow mould Block basic configuration information and front and back end Interworking Data agreement.Wherein, front end project file and the rear end of Web page module are established respectively Project file may include: creation front end project file and rear end project file, and according to preset constraint rule, establish respectively One during the basic class of front end project file and rear end project file, the basic class of method, data source rely on, SDK is relied on Or it is multiple.The code write-in for receiving forward end project file and rear end project file may include: to receive forward end engineering text The code of the service logic part of the basic class of method is written in part and rear end project file.
Deployment module 13, for executing deployment operation to front end project file and rear end project file.The deployment module 13 The enforcement engine that can be specifically used for control web page platform is compiled front end project file and rear end project file, and will compile Front end project file and rear end project file after translating be loaded into web page platform for running in the container of Web page module.
The development process of Web page module is decomposed into front end by the development process device of the Web page module of the embodiment of the present invention Two relatively independent engineerings of engineering and rear end engineering, and pass through setup module basic configuration information and front and back end Interworking Data Agreement enables front and back end engineering to follow respective specification and front and back end protocol conventions, to keep front and back end engineering Docking property and matching.In addition, by presetting comprising basic class, method, the constraint rule that data source relies on, SDK is relied on, The development process of Web page module can be broken a seal to its other party other than platform and be completed, made finally by these constraint rules The Web page module of generation can be compiled by the enforcement engine of platform, loads and be executed.
Embodiment three
Preceding embodiment three describes the development process method of Web page module and the specific embodiment of device, and above-mentioned opens The function of sending out processing method and device can realize completion by a kind of electronic equipment, as shown in figure 5, it is the embodiment of the present invention Electronic equipment structural schematic diagram, specifically include: memory 510 and processor 520.
Memory 510, for storing program.
In addition to above procedure, memory 510 is also configured to store various other data to support in electronic equipment On operation.The example of these data includes the instruction of any application or method for operating on an electronic device, connection It is personal data, telephone book data, message, picture, video etc..
Memory 510 can realize by any kind of volatibility or non-volatile memory device or their combination, Such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable is read-only Memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk Or CD.
Processor 520 is coupled to memory 510, for executing the program in memory 510, to be used for:
The module basic configuration information and front and back end Interworking Data agreement of Web page module are set;
The front end project file and rear end project file of Web page module are established respectively, and receive forward end project file with after The code write-in of project file is held, front end project file and rear end project file follow module basic configuration information and front and back end pair Connect data protocol;
Deployment operation is executed to front end project file and rear end project file.
In addition, other control operations in above-described embodiment can also be stored in memory 510 simultaneously in the form of program It is read and executes by processor 520.Detailed control processing has been described in detail in the aforementioned embodiment, is equally applicable to The present embodiment, details are not described herein.
Further, as shown in figure 5, electronic equipment can also include: communication component 530, power supply module 540, audio component 550, other components such as display 560.Members are only schematically provided in Fig. 5, are not meant to that electronic equipment only includes Fig. 5 Shown component.
Communication component 530 is configured to facilitate the communication of wired or wireless way between electronic equipment and other equipment.Electricity Sub- equipment can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.It is exemplary at one In embodiment, communication component 530 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, communication component 530 further includes near-field communication (NFC) module, to promote short range communication. For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) skill can be based in NFC module Art, bluetooth (BT) technology and other technologies are realized.
Power supply module 540 provides electric power for the various assemblies of electronic equipment.Power supply module 540 may include power management System, one or more power supplys and other with for electronic equipment generate, manage, and distribute the associated component of electric power.
Audio component 550 is configured as output and/or input audio signal.For example, audio component 550 includes a Mike Wind (MIC), when electronic equipment is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 510 or via communication set Part 530 is sent.In some embodiments, audio component 550 further includes a loudspeaker, is used for output audio signal.
Display 560 includes screen, and screen may include liquid crystal display (LCD) and touch panel (TP).If screen Curtain includes touch panel, and screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one A or multiple touch sensors are to sense the gesture on touch, slide, and touch panel.Touch sensor can not only sense touching It touches or the boundary of sliding action, but also detects duration and pressure relevant with touch or slide.
In addition, the method processing logic in above-described embodiment can also be stored in the form of a computer program, one kind is non-to face In when property computer readable storage medium, which realizes the exploitation of the Web page module in above-described embodiment when being executed by processor Processing method.Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can be with It is done through the relevant hardware of the program instructions.Program above-mentioned can be stored in a computer readable storage medium.It should When being executed, execution includes the steps that above-mentioned each method embodiment to program;And storage medium above-mentioned includes: ROM, RAM, magnetic disk Or the various media that can store program code such as CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (11)

1. a kind of development process method of Web page module characterized by comprising
The module basic configuration information and front and back end Interworking Data agreement of Web page module are set;
The front end project file and rear end project file of the Web page module are established respectively, and are received to the front end project file It is written with the code of rear end project file, the front end project file and the rear end project file follow the module and match substantially Confidence breath and front and back end Interworking Data agreement;
Deployment operation is executed to the front end project file and rear end project file.
2. the method according to claim 1, wherein the setup module basic configuration information includes:
The module id information, interface configuration information, module resource configuration information, module grouping letter of the Web page module are set Breath, one or more in functional circuit information.
3. the method according to claim 1, wherein setting front and back end Interworking Data agreement includes: setting One or more during module form definition, module form data format define, display data format defines.
4. the method according to claim 1, wherein establish respectively the Web page module front end project file and Rear end project file includes:
Front end project file and rear end project file are created, and according to preset constraint rule, establishes the front end engineering respectively The basic class of file and the rear end project file, the basic class of method, data source rely on, SDK rely in one or Person is multiple.
5. according to the method described in claim 4, it is characterized in that, described receive to the front end project file and rear end engineering The code of file is written
Receive the service logic part that the basic class of method is written into the front end project file and rear end project file Code.
6. according to the method described in claim 5, it is characterized in that, being executed to the front end project file and rear end project file Deployment operation includes: that the enforcement engine of web page platform is compiled the front end project file and rear end project file, and incites somebody to action Front end project file and rear end project file after compiling are loaded into the container for being used to run the Web page module of web page platform In.
7. a kind of development process device of Web page module characterized by comprising
Configuration module, for the module basic configuration information and front and back end Interworking Data agreement of Web page module to be arranged;
Project file generation module, for establishing the front end project file and rear end project file of the Web page module respectively, and It receives and is written to the code of the front end project file and rear end project file, the front end project file and the rear end engineering File follows the module basic configuration information and front and back end Interworking Data agreement;
Deployment module, for executing deployment operation to the front end project file and rear end project file.
8. device according to claim 7, which is characterized in that establish respectively the Web page module front end project file and Rear end project file includes:
Front end project file and rear end project file are created, and according to preset constraint rule, establishes the front end engineering respectively The basic class of file and the rear end project file, the basic class of method, data source dependence, Software Development Kit SDK One or more in dependence.
9. device according to claim 7, which is characterized in that described to receive to the front end project file and rear end engineering The code of file is written
Receive the service logic part that the basic class of method is written into the front end project file and rear end project file Code.
10. a kind of electronic equipment characterized by comprising
Memory, for storing program;
Processor is coupled to the memory, for executing described program, to be used for:
The module basic configuration information and front and back end Interworking Data agreement of Web page module are set;
The front end project file and rear end project file of the Web page module are established respectively, and are received to the front end project file It is written with the code of rear end project file, the front end project file and the rear end project file follow the module and match substantially Confidence breath and front and back end Interworking Data agreement;
Deployment operation is executed to the front end project file and rear end project file.
11. a kind of non-transitorycomputer readable storage medium is stored thereon with the computer program that can be executed by processor, It is characterized in that, the development process of the Web page module as described in any in claim 1 to 6 is realized when which is executed by processor Method.
CN201710959690.7A 2017-10-16 2017-10-16 The development process method, apparatus and electronic equipment of Web page module Pending CN109669680A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710959690.7A CN109669680A (en) 2017-10-16 2017-10-16 The development process method, apparatus and electronic equipment of Web page module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710959690.7A CN109669680A (en) 2017-10-16 2017-10-16 The development process method, apparatus and electronic equipment of Web page module

Publications (1)

Publication Number Publication Date
CN109669680A true CN109669680A (en) 2019-04-23

Family

ID=66139159

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710959690.7A Pending CN109669680A (en) 2017-10-16 2017-10-16 The development process method, apparatus and electronic equipment of Web page module

Country Status (1)

Country Link
CN (1) CN109669680A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110209438A (en) * 2019-06-04 2019-09-06 武汉神算云信息科技有限责任公司 Data source dynamic switching method, device, equipment and storage medium under SpringBoot frame
CN110597508A (en) * 2019-08-14 2019-12-20 平安国际智慧城市科技股份有限公司 Interface dynamic configuration method, device and storage medium
CN110750239A (en) * 2019-10-30 2020-02-04 浪潮云信息技术有限公司 Method and system for rapidly realizing building of portal website based on module configuration
CN111367509A (en) * 2020-02-20 2020-07-03 江苏苏宁物流有限公司 Webpage development template generation method and device, computer equipment and storage medium
CN112416737A (en) * 2019-08-21 2021-02-26 广州虎牙科技有限公司 Container testing method, device, equipment and storage medium
CN114785847A (en) * 2022-03-09 2022-07-22 中车唐山机车车辆有限公司 Network control software development and configuration method, terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003009177A1 (en) * 2001-07-16 2003-01-30 Dh Labs, Inc. Web site application development method using object model for managing web-based content
CN102722372A (en) * 2012-05-25 2012-10-10 上海学智科技有限公司 Method and system for automatically generating codes through classification and configuration
CN105138448A (en) * 2014-06-05 2015-12-09 北京畅游天下网络技术有限公司 Method and device for page test at front end
CN105989068A (en) * 2015-02-10 2016-10-05 ***通信集团贵州有限公司 Hypertext markup language (HTML) based mobile application generating method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003009177A1 (en) * 2001-07-16 2003-01-30 Dh Labs, Inc. Web site application development method using object model for managing web-based content
CN102722372A (en) * 2012-05-25 2012-10-10 上海学智科技有限公司 Method and system for automatically generating codes through classification and configuration
CN105138448A (en) * 2014-06-05 2015-12-09 北京畅游天下网络技术有限公司 Method and device for page test at front end
CN105989068A (en) * 2015-02-10 2016-10-05 ***通信集团贵州有限公司 Hypertext markup language (HTML) based mobile application generating method and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110209438A (en) * 2019-06-04 2019-09-06 武汉神算云信息科技有限责任公司 Data source dynamic switching method, device, equipment and storage medium under SpringBoot frame
CN110597508A (en) * 2019-08-14 2019-12-20 平安国际智慧城市科技股份有限公司 Interface dynamic configuration method, device and storage medium
CN112416737A (en) * 2019-08-21 2021-02-26 广州虎牙科技有限公司 Container testing method, device, equipment and storage medium
CN112416737B (en) * 2019-08-21 2024-03-01 广州虎牙科技有限公司 Container testing method, device, equipment and storage medium
CN110750239A (en) * 2019-10-30 2020-02-04 浪潮云信息技术有限公司 Method and system for rapidly realizing building of portal website based on module configuration
CN111367509A (en) * 2020-02-20 2020-07-03 江苏苏宁物流有限公司 Webpage development template generation method and device, computer equipment and storage medium
CN111367509B (en) * 2020-02-20 2022-09-09 江苏苏宁物流有限公司 Webpage development template generation method and device, computer equipment and storage medium
CN114785847A (en) * 2022-03-09 2022-07-22 中车唐山机车车辆有限公司 Network control software development and configuration method, terminal and storage medium
CN114785847B (en) * 2022-03-09 2024-01-12 中车唐山机车车辆有限公司 Network control software development configuration method, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN109669680A (en) The development process method, apparatus and electronic equipment of Web page module
CN110928529B (en) Method and system for assisting operator development
US10705942B1 (en) Simulated testing of API
US8418125B2 (en) Incremental model refinement and transformation in generating commerce applications using a model driven architecture
CN101299862B (en) Telecommunication service generation environmental system
Motti et al. A computational framework for context-aware adaptation of user interfaces
US20130179858A1 (en) Framework for automated testing of mobile apps
Cesta et al. Developing an end-to-end planning application from a timeline representation framework
WO2013109860A1 (en) Software builder
Ridene et al. A model-driven approach for automating mobile applications testing
WO2006099046A2 (en) Automated interface-specification generation for enterprise architectures
CN102449598A (en) Package design and generation
Sanchez et al. Model-driven development for early aspects
CN110543301B (en) Method and device for generating jenkins code file
CN105512304A (en) Method for generating internet applications on line, system integration method and supporting platform
Kapitsaki et al. Model-driven development of composite context-aware web applications
Autili et al. CHOREOS: Large scale choreographies for the future internet
Rivero et al. MockAPI: an agile approach supporting API-first web application development
US20180275957A1 (en) Assistive technology for code generation using voice and virtual reality
CN112650487A (en) Hybrid application development method, system, computer device and storage medium
CN111488436A (en) Multi-turn dialogue model generation method, multi-turn dialogue model testing device and electronic equipment
US10521199B2 (en) System and method for developing mobile based applications using model driven development
US20110131268A1 (en) Correlating groups of application systems
Bocciarelli et al. Automated development of web-based modeling services for MSaaS platforms.
CN102541570B (en) A kind of method, system and business development client developing value-added service

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190423

RJ01 Rejection of invention patent application after publication