CN107102865A - A kind of method for being rapidly completed WEB demands - Google Patents

A kind of method for being rapidly completed WEB demands Download PDF

Info

Publication number
CN107102865A
CN107102865A CN201710351324.3A CN201710351324A CN107102865A CN 107102865 A CN107102865 A CN 107102865A CN 201710351324 A CN201710351324 A CN 201710351324A CN 107102865 A CN107102865 A CN 107102865A
Authority
CN
China
Prior art keywords
metadata
web
information
literary name
name section
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
CN201710351324.3A
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.)
Fujian Star Software Co Ltd
Original Assignee
Fujian Star Software 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 Fujian Star Software Co Ltd filed Critical Fujian Star Software Co Ltd
Priority to CN201710351324.3A priority Critical patent/CN107102865A/en
Publication of CN107102865A publication Critical patent/CN107102865A/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/36Software reuse
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/907Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention provides a kind of method for being rapidly completed WEB demands, sets up module information metadata table, menu information metadata table, table information metadata table, operation information metadata table and literary name section information metadata table;The control layer method of WEB demand modules is developed, the metadata analytic method of service end is called in control layer method, returned data and its corresponding literary name section metadata information are packaged, sent afterwards to WEB front-end;WEB terminal receives data, develops the interface of WEB demand modules, and the setting of call parameters calls control layer method according to link url, and according to the data of reception, calls WEB terminal js metadata analytic method to generate WEB page element and show, improve development efficiency.

Description

A kind of method for being rapidly completed WEB demands
Technical field
The present invention relates to a kind of method for being rapidly completed WEB demands.
Background technology
The general development process of exploitation WEB new demands is first design table structure or modification table structure, then exploitation pair at present Method and corresponding operational approach that database table is increased, changed, deleted and inquired about, receive the control of WEB HTTP requests Layer method, last dynamic WEB page and corresponding page operation js methods;This method repeated workload is more, the development time It is long, inefficiency, even if as long as WEB new demands increase a field or modification field name or modification field type, also The method and corresponding operational approach for being increased database table, changed, deleting and being inquired about are changed, modification receives WEBHTTP The control layer method of request, changes dynamic WEB page and corresponding page operation js methods.
The content of the invention
The technical problem to be solved in the present invention, is to provide a kind of method for being rapidly completed WEB demands, improves work effect Rate.
What the present invention was realized in:A kind of method for being rapidly completed WEB demands, comprises the following steps:
Step 1, set up module information metadata table, menu information metadata table, table information metadata table, operation information member Tables of data and literary name section information metadata table;
Step 2, the control layer method for developing WEB demand modules, call the metadata solution of service end in control layer method Analysis method, returned data and its corresponding literary name section metadata information are packaged, sent afterwards to WEB front-end;
Step 3, WEB terminal receive data, develop the interface of WEB demand modules, the setting of call parameters, according to link url Control layer method is called, and according to the data of reception, calls WEB terminal js metadata analytic method to generate WEB page element and shows Out.
Further, the metadata analytic method of service end is specially in the step 2:Service end according to limit parameter, The metadata information being configured is inquired about from table, inquiry operation is carried out to specified table according to the metadata information inquired, If there is returned data, while to return to corresponding literary name section metadata information.
Further, WEB terminal js metadata analytic methods are specially further in the step 3:WEB terminal is according to return number According to, the literary name section metadata information of returned data and the required js methods called, the generation of WEB page element is carried out, and it is raw The js methods or js events operated into WEB page element.
The invention has the advantages that:A kind of method for being rapidly completed WEB demands of the present invention,
1) metadata parsing is unrelated with business, reduces the coupling between software module, improves the reuse degree of software;
2) newly increase WEB module demands to only need to do a small amount of program development work, other are mainly configuration data, editor With typesetting work;
As long as 3) configure metadata when changing WEB module demands;
4) most of repetition, cumbersome software development work are reduced, software development time and development cost is reduced;Improve Software quality, extent for multiplexing, software development efficiency and benefit.
Brief description of the drawings
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the inventive method execution flow chart.
Embodiment
As shown in figure 1, the method that the present invention is rapidly completed WEB demands, comprises the following steps:
Step 1, set up module information metadata table, menu information metadata table, table information metadata table, operation information member Tables of data and literary name section information metadata table;
Step 2, the control layer method for developing WEB demand modules, call the metadata solution of service end in control layer method Analysis method, returned data and its corresponding literary name section metadata information are packaged, sent afterwards to WEB front-end, the clothes Business end metadata analytic method be specially:Service end inquires about the metadata letter being configured according to parameter is limited from table Breath, carries out inquiry operation, if there is returned data, while to return to corresponding table according to the metadata information inquired to specified table Field metadata information;
Step 3, WEB terminal receive data, develop the interface of WEB demand modules, the setting of call parameters, according to link url Control layer method is called, and according to the data of reception, calls WEB terminal js metadata analytic method to generate WEB page element and shows Out, the WEB terminal js metadata analytic methods are specially further:WEB terminal is according to returned data, the literary name section of returned data Metadata information and the required js methods called, carry out the generation of WEB page element, and generate WEB page element and grasped The js methods or js events of work.
A kind of embodiment of the present invention:
First, metadata management
1) can be according to module title condition query module information metadata, increase, modification, removing module information metadata Operation interface and function, module information (includes:Module I D, module title, wait primary fields);
2) it can increase, change, delete menu according to module title, pad name condition query menu information metadata The operation interface and function of information metadata, menu information (are included:Menu ID, pad name, parent menu ID, module I D, menu Url is linked, primary fields are waited);
3) can according to module title, pad name, operation button title condition inquiry operation information metadata, increase, Modification, the operation interface and function of deletion action information metadata, operation information (are included:Button ID, operation is operated to press key name Claim, operate corresponding js method names or link url, action type, module I D, menu ID, wait primary fields);
4) it can increase, change, delete table information word according to module title, table name condition query table information metadata The operation interface and function of data, table information (are included:Table id, table name, module I D, wait primary fields);
5) can according to module title, table name, field name condition query literary name section information metadata, increase, modification, The operation interface and function of literary name section information metadata are deleted, literary name segment information (is included:Literary name section ID, table id, field name, Field type, field length, whether can it is empty, whether sort, wait primary fields).
2nd, metadata analytic method
1) metadata analytic method is serviced, it is first according to major parameters such as module I D, menu ID, table id, operation button ID Inquire about the metadata information that has been configured, according to the metadata table title inquired, literary name segment information and type of action come pair The table specified is increased, deleted, being changed and inquiry operation and to operate which field of table, if returned data, simultaneously Return to the metadata information of literary name section;
2) WEB terminal js metadata analytic method, according to the literary name section metadata information of return, table data content information and tune Js methods, carry out the generation of WEB page element, and generate the corresponding js events or js methods operated, such as:According to Literary name name section and corresponding literary name section data value generation combobox and combobox change in the literary name section metadata information of return The callback method of event, according to the information such as literary name name section, literary name segment type and corresponding table in the literary name section metamessage of return Field data value generates list and list submits method, according to literary name name section, literary name section class in the literary name section metamessage of return The information such as type and corresponding literary name section data value generation form and form is modified, deleted, the method for inquiry operation;
3rd, WEB new modules demand
1) new module information, menu information, operation information, table information, literary name segment information are configured in metadata management;
2) the control layer method of WEB new demand modules is developed, calls the metadata of service end to parse in control layer method Method, metadata analytic method simultaneously returns to metadata information and table data content information, and control layer method encapsulates these data WEB front-end is returned into JSON data;
3) interface of WEB new demand modules is developed, groundwork is which element interface needs (such as:Several alternative conditions, Several buttons, several forms etc.) layout, call parameters setting (if module I D, menu ID, table id, link url or js Method name), called the control layer method at WEB service end, according to the metadata and content-data of return, adjust according to link url Shown with WEB terminal js metadata analytic method to generate WEB page element;
4th, WEB functional requirements are changed
1) when increasing the demand of literary name section, as long as increasing the literary name section letter of respective modules and table in metadata management Breath, it is not necessary to change other programs again;
2) when changing the demand of literary name section, as long as changing the literary name section letter of respective modules and table in metadata management Breath, it is not necessary to change other programs again;
3) when deleting the demand of literary name section, as long as deleting the literary name section letter of respective modules and table in metadata management Breath, it is not necessary to change other programs again;
Although the foregoing describing the embodiment of the present invention, those familiar with the art should manage Solution, the specific embodiment described by us is merely exemplary, rather than for the restriction to the scope of the present invention, is familiar with this The equivalent modification and change that the technical staff in field is made in the spirit according to the present invention, should all cover the present invention's In scope of the claimed protection.

Claims (3)

1. a kind of method for being rapidly completed WEB demands, it is characterised in that:Comprise the following steps:
Step 1, set up module information metadata table, menu information metadata table, table information metadata table, operation information metadata Table and literary name section information metadata table;
Step 2, the control layer method for developing WEB demand modules, call the metadata parsing side of service end in control layer method Method, returned data and its corresponding literary name section metadata information are packaged, sent afterwards to WEB front-end;
Step 3, WEB terminal receive data, develop the interface of WEB demand modules, and the setting of call parameters is called according to link url Layer method is controlled, and according to the data of reception, calls WEB terminal js metadata analytic method to generate WEB page element and shows.
2. a kind of method for being rapidly completed WEB demands according to claim 1, it is characterised in that:Serviced in the step 2 The metadata analytic method at end is specially:Service end inquires about the metadata information being configured according to parameter is limited from table, Inquiry operation is carried out to specified table according to the metadata information inquired, if there is returned data, while to return to corresponding literary name Section metadata information.
3. a kind of method for being rapidly completed WEB demands as claimed in claim 1, it is characterised in that:WEB terminal in the step 3 Js metadata analytic methods are specially further:WEB terminal according to returned data, the literary name section metadata information of returned data and The required js methods called, carry out the generation of WEB page element, and generate js methods or js that WEB page element is operated Event.
CN201710351324.3A 2017-05-18 2017-05-18 A kind of method for being rapidly completed WEB demands Pending CN107102865A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710351324.3A CN107102865A (en) 2017-05-18 2017-05-18 A kind of method for being rapidly completed WEB demands

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710351324.3A CN107102865A (en) 2017-05-18 2017-05-18 A kind of method for being rapidly completed WEB demands

Publications (1)

Publication Number Publication Date
CN107102865A true CN107102865A (en) 2017-08-29

Family

ID=59669900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710351324.3A Pending CN107102865A (en) 2017-05-18 2017-05-18 A kind of method for being rapidly completed WEB demands

Country Status (1)

Country Link
CN (1) CN107102865A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113139013A (en) * 2021-03-25 2021-07-20 北京思特奇信息技术股份有限公司 Method and system for dynamically configuring view display

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309659A (en) * 2013-05-24 2013-09-18 天津市天安怡和信息技术有限公司 User interface dynamic generation method and device based on rich client platform
CN104657420A (en) * 2015-01-09 2015-05-27 北京京东尚科信息技术有限公司 Page displaying method and system
CN105242928A (en) * 2015-10-10 2016-01-13 苏州工业园区凌志软件股份有限公司 Rapid development platform method based on module plant
CN106126569A (en) * 2016-06-17 2016-11-16 南京乐运乐科技有限公司 A kind of rapid data method of servicing and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309659A (en) * 2013-05-24 2013-09-18 天津市天安怡和信息技术有限公司 User interface dynamic generation method and device based on rich client platform
CN104657420A (en) * 2015-01-09 2015-05-27 北京京东尚科信息技术有限公司 Page displaying method and system
CN105242928A (en) * 2015-10-10 2016-01-13 苏州工业园区凌志软件股份有限公司 Rapid development platform method based on module plant
CN106126569A (en) * 2016-06-17 2016-11-16 南京乐运乐科技有限公司 A kind of rapid data method of servicing and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113139013A (en) * 2021-03-25 2021-07-20 北京思特奇信息技术股份有限公司 Method and system for dynamically configuring view display
CN113139013B (en) * 2021-03-25 2024-03-19 北京思特奇信息技术股份有限公司 Method and system for displaying dynamic configuration view

Similar Documents

Publication Publication Date Title
CN105373615B (en) A kind of method and apparatus of page customization
CN100395751C (en) Device and method for page smart configuration
US7801891B2 (en) System and method for collecting user interest data
CN104133772A (en) Automatic test data generation method
CN101288051A (en) Cooperative job flow creating apparatus, cooperative job flow creating method, service processing apparatus, service processing method, management server, flow conversion method, job flow execution me
CN109445783A (en) By the construction method and device of the dynamic configuration application of service driving
US20160188720A1 (en) Crowd-Sourced Native Application Crawling
US10218775B2 (en) Methods for servicing web service requests using parallel agile web services and devices thereof
CN105930138B (en) A kind of message treatment method and device
CN102007495B (en) Method, apparatus and software for transforming natural language request for modifying set of subscriptions for publish/subscribe topic string
CN111241182A (en) Data processing method and apparatus, storage medium, and electronic apparatus
CN110321120B (en) Data processing method, data processing apparatus, and computer-readable storage medium
CN104093075A (en) Portal page updating method and system
CN111176627A (en) Device and method for separating front end from back end based on micro-service
CN102521232A (en) Distributed acquisition and processing system and method of internet metadata
KR20150017052A (en) Method and system for performing workflow
CN109656951A (en) Method and inquiry system based on expression formula inquiry data
CN101876893A (en) Automatic generation method of WEB project code
CN106648801A (en) Automatic node adding and deleting method for Hadoop cluster
CN103559304A (en) Implementation method and device for Internet data customization
CN101115180A (en) Electronic program menu system and functional module dynamic load operating method
CN107102865A (en) A kind of method for being rapidly completed WEB demands
CN104063219A (en) Form development method and system for WEB system
CN101206649A (en) Multitask analysis system and method
CN115469849A (en) Service processing system, method, electronic device and storage medium

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

Application publication date: 20170829