CN103246515A - Visual model view controller (MVC) function modeling control method - Google Patents
Visual model view controller (MVC) function modeling control method Download PDFInfo
- Publication number
- CN103246515A CN103246515A CN2013101743613A CN201310174361A CN103246515A CN 103246515 A CN103246515 A CN 103246515A CN 2013101743613 A CN2013101743613 A CN 2013101743613A CN 201310174361 A CN201310174361 A CN 201310174361A CN 103246515 A CN103246515 A CN 103246515A
- Authority
- CN
- China
- Prior art keywords
- node
- event
- page
- configuration
- function
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention relates to a visual model view controller (MVC) function modeling control method. The method comprises the steps of first displaying a visual MVC function modeling interface comprising function nodes and page nodes for being operated by users; then receiving operation in arranging the function nodes, the page nodes and event connecting lines by the users; automatically finishing decouping and code writing according to the operation in arranging the function nodes, the page nodes and the event connecting lines by the users; and finally displaying a software user interface. According to the control method, standardization and flexibility of an action function assembly are kept through specific tool languages and a mode of arranging different logics for action nodes, repeated coding is reduced, existing function codes are reused, an interface assembly is reused by separation of interface elements and function buttons simultaneously, development difficulties are lowered, and development time is reduced; besides, through visual assembly icons and connecting lines, developers do not need to worry about complex configuration and unstable factors caused by heavy extensive makeup language (XML) configuration files, and configuration and later-stage maintenance are facilitated.
Description
[
Technical field]
The invention belongs to the software development technique field, particularly a kind of visual MVC function modeling control method.
[
Background technology]
On software development technique, forefathers have summed up the development approach of a cover MVC pattern.At present, existing multiple framework is based on the developing instrument of MVC pattern, as STRUTS, and SPRING etc.; But, existing these Development Framework all are to come the configuration feature assembly by the mode of direct configuration XML file mostly, each functional module all needs coding to realize, the variation of function can realize by the mode of change configuration XML file, and for the complicated functional module of some service logics, existing logic function assembly often can not meet the demands, and produces many subfunction assemblies thereupon, increase development difficulty, be unfavorable for configuration and later maintenance simultaneously.
[
Summary of the invention]
In order to solve the above-mentioned technical matters that prior art exists, the invention provides a kind of prior function code and interface assembly realized reuses, reduce repeated encoding, reduce development difficulty and reduce the development time, the visual MVC function modeling control method of convenient configuration and later maintenance.
The present invention solves the technical scheme that the prior art problem adopts:
A kind of visual MVC function modeling control method may further comprise the steps:
Show and include for the functional node of user's operation and the visual MVC function modeling interface of page node;
Receive the operation of user's configuration feature node, page node and event connecting line;
According to the operation of user's configuration feature node, page node and event connecting line, the solution lotus root between auto-complete function node, functional node and the page node is with writing automatically of completion code;
Represent user interface of software.
Further, the operation of described configuration feature node according to the user, page node and event connecting line, solution lotus root between auto-complete function node, functional node and the page node, with writing automatically of completion code, be specially: when the operation of user's configuration feature node, page node and event connecting line belonged to the request of HTTP function, the solution lotus root between described auto-complete function node, functional node and the page node may further comprise the steps:
A1. seek the Ingress node configuration;
A2. by before the event, logical method carries out configuration code with the serial interpretation after, the event;
A3. read the both gut-nodes that flows out from Ingress node;
A4. seek page node from both gut-nodes;
A5. reading with the page is the action node of initial point;
A6. each action node is generated a button, and Script logic script and the Onload event scripts of XM configuration;
A7. generate user interface HTML, and return.。
Further, the operation of described configuration feature node according to the user, page node and event connecting line, solution lotus root between auto-complete function node, functional node and the page node, with writing automatically of completion code, be specially: when the operation of user's configuration feature node, page node and event connecting line belonged to the button click operation, the solution lotus root between described auto-complete function node, functional node and the page node may further comprise the steps:
B1. seek corresponding action node configuration;
B2. carry out the Onclick event scripts, and return the original subscriber interface; Then do not return true if dispose the Onclick event scripts;
B3. return behind the true by the serial interpretation before the event, after the logical method, event and carry out configuration code;
B4. seek relevant both gut-nodes, and seek page node from both gut-nodes;
B5. reading with the page is the action node of initial point;
B6. each action node is generated a button, and Script logic script and the Onload event scripts of XM configuration;
B7. generate user interface HTML, and return.。
Further, describedly carry out configuration code by the serial interpretation before the event, after the logical method, event, specifically may further comprise the steps:
C1. corresponding logic configuration code before reading event respectively, after the logical method, event;
C2. by two semicolon separated symbols "; " the logic configuration code is separated into the statement formation;
C3. call " language translation " module the formation of configuration code statement is translated as the formation of Java code statement;
C4. interpretive routine calls method before the event of this action component, logical method, execution ground, event rear code in order, finishes the service logic of this action component and calculates.
Beneficial effect of the present invention is as follows:
The present invention passes through technique scheme, by specific implementation language and the standardization and the dirigibility that keep the holding function assembly by the mode of giving action node configuration Different Logic, reduce repeated encoding to greatest extent, reuse the prior function code to greatest extent, the while interface element separates with function button, reusability for page node has revolutionary meaning, interface assembly can farthest be reused, and has greatly reduced the difficulty and the time that has reduced software development of software development; And by visual assembly icon and line, the developer needn't worry about complex configurations and the labile factor that heavy XML configuration file brings, convenient configuration and later maintenance.
[
Description of drawings]
Fig. 1 is the schematic flow sheet of visual MVC function modeling control method embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet of writing automatically of completion code among the visual MVC function modeling control method embodiment of the present invention;
Fig. 3 is the another kind of schematic flow sheet of writing automatically of completion code among the visual MVC function modeling control method embodiment of the present invention;
Fig. 4 explains the schematic flow sheet of carrying out configuration code among the visual MVC function modeling control method embodiment of the present invention.
[
Embodiment]
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explaining the present invention, and be not used in restriction the present invention.
As shown in Fig. 1 to Fig. 4:
A kind of visual MVC function modeling control method that the embodiment of the invention discloses may further comprise the steps:
Steps A. show to include for the functional node of user's operation and the visual MVC function modeling interface of page node;
Step B. receives the operation of user's configuration feature node, page node and event connecting line;
Step C. is according to the operation of user's configuration feature node, page node and event connecting line, and the solution lotus root between auto-complete function node, functional node and the page node is with writing automatically of completion code;
Step D. represents user interface of software.
Wherein, the operation of described configuration feature node according to the user, page node and event connecting line, solution lotus root between auto-complete function node, functional node and the page node, with writing automatically of completion code, be specifically as follows: when the operation of user's configuration feature node, page node and event connecting line belonged to the request of HTTP function, the solution lotus root between described auto-complete function node, functional node and the page node may further comprise the steps:
Step C101. seeks the Ingress node configuration;
Step C102. by before the event, logical method carries out configuration code with the serial interpretation after, the event;
Step C103. reads the both gut-nodes that flows out from Ingress node;
Step C104. seeks page node from both gut-nodes;
It is the action node of initial point that step C105. reads with the page;
Step C106. generates a button to each action node, and Script logic script and the Onload event scripts of XM configuration;
Step C107. generates user interface HTML, and returns.
Perhaps, when the operation of user's configuration feature node, page node and event connecting line belonged to the button click operation, the solution lotus root between described auto-complete function node, functional node and the page node may further comprise the steps:
Step C201. seeks corresponding action node configuration;
Step C202. carries out the Onclick event scripts, and returns the original subscriber interface; Then do not return true if dispose the Onclick event scripts;
Step C203. returns behind the true by the serial interpretation before the event, after the logical method, event and carries out configuration code;
Step C204. seeks relevant both gut-nodes, and seeks page node from both gut-nodes;
It is the action node of initial point that step C205. reads with the page;
Step C206. generates a button to each action node, and Script logic script and the Onload event scripts of XM configuration;
Step C207. generates user interface HTML, and returns.。
And, carry out configuration code by the serial interpretation before the event, after the logical method, event described in step C102 and the step C203, specifically may further comprise the steps:
Corresponding logic configuration code before step C301. reads event respectively, after the logical method, event;
Step C302. by two semicolon separated symbols "; " the logic configuration code is separated into the statement formation;
Step C303. calls " language translation " module the formation of configuration code statement is translated as the formation of Java code statement;
Step C304. interpretive routine calls method before the event of this action component, logical method, execution ground, event rear code in order, finishes the service logic of this action component and calculates.
Visual MVC function modeling control method of the present invention is by specific implementation language and the standardization and the dirigibility that keep the holding function assembly by the mode of giving action node configuration Different Logic, reduce repeated encoding to greatest extent, reuse the prior function code to greatest extent, the while interface element separates with function button, reusability for page node has revolutionary meaning, interface assembly can farthest be reused, and has greatly reduced the difficulty and the time that has reduced software development of software development; And by visual assembly icon and line, the developer needn't worry about complex configurations and the labile factor that heavy XML configuration file brings, convenient configuration and later maintenance.
Above content be in conjunction with concrete optimal technical scheme to further describing that the present invention does, can not assert that concrete enforcement of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.
Claims (4)
1. a visual MVC function modeling control method is characterized in that, may further comprise the steps:
Show and include for the functional node of user's operation and the visual MVC function modeling interface of page node;
Receive the operation of user's configuration feature node, page node and event connecting line;
According to the operation of user's configuration feature node, page node and event connecting line, the solution lotus root between auto-complete function node, functional node and the page node is with writing automatically of completion code;
Represent user interface of software.
2. control method according to claim 1, it is characterized in that, the operation of described configuration feature node according to the user, page node and event connecting line, solution lotus root between auto-complete function node, functional node and the page node, with writing automatically of completion code, be specially: when the operation of user's configuration feature node, page node and event connecting line belonged to the request of HTTP function, the solution lotus root between described auto-complete function node, functional node and the page node may further comprise the steps:
A1. seek the Ingress node configuration;
A2. by before the event, logical method carries out configuration code with the serial interpretation after, the event;
A3. read the both gut-nodes that flows out from Ingress node;
A4. seek page node from both gut-nodes;
A5. reading with the page is the action node of initial point;
A6. each action node is generated a button, and Script logic script and the Onload event scripts of XM configuration;
A7. generate user interface HTML, and return.
3. control method according to claim 1, it is characterized in that, the operation of described configuration feature node according to the user, page node and event connecting line, solution lotus root between auto-complete function node, functional node and the page node, with writing automatically of completion code, be specially: when the operation of user's configuration feature node, page node and event connecting line belonged to the button click operation, the solution lotus root between described auto-complete function node, functional node and the page node may further comprise the steps:
B1. seek corresponding action node configuration;
B2. carry out the Onclick event scripts, and return the original subscriber interface; Then do not return true if dispose the Onclick event scripts;
B3. return behind the true by the serial interpretation before the event, after the logical method, event and carry out configuration code;
B4. seek relevant both gut-nodes, and seek page node from both gut-nodes;
B5. reading with the page is the action node of initial point;
B6. each action node is generated a button, and Script logic script and the Onload event scripts of XM configuration;
B7. generate user interface HTML, and return.
4. according to claim 2 or 3 described control methods, it is characterized in that, describedly carry out configuration code by the serial interpretation before the event, after the logical method, event, specifically may further comprise the steps:
C1. corresponding logic configuration code before reading event respectively, after the logical method, event;
C2. by two semicolon separated symbols "; " the logic configuration code is separated into the statement formation;
C3. call " language translation " module the formation of configuration code statement is translated as the formation of Java code statement;
C4. interpretive routine calls method before the event of this action component, logical method, execution ground, event rear code in order, finishes the service logic of this action component and calculates.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310174361.3A CN103246515B (en) | 2013-05-13 | 2013-05-13 | A kind of visualization MVC function modeling control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310174361.3A CN103246515B (en) | 2013-05-13 | 2013-05-13 | A kind of visualization MVC function modeling control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103246515A true CN103246515A (en) | 2013-08-14 |
CN103246515B CN103246515B (en) | 2016-11-02 |
Family
ID=48926049
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310174361.3A Active CN103246515B (en) | 2013-05-13 | 2013-05-13 | A kind of visualization MVC function modeling control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103246515B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105204833A (en) * | 2014-06-25 | 2015-12-30 | 成都普中软件有限公司 | Visual interface modeling method for constructing interface view on basis of interface element view |
CN106681740A (en) * | 2017-01-12 | 2017-05-17 | 合肥杰美电子科技有限公司 | Method and system for visualized instruction configuration |
CN106775617A (en) * | 2016-11-09 | 2017-05-31 | 深圳市中润四方信息技术有限公司 | The service logic collocation method and configuration system of a kind of application software |
CN107172130A (en) * | 2017-04-25 | 2017-09-15 | 武汉票据交易中心有限公司 | A kind of MVC registration implementation methods and server |
CN107491311A (en) * | 2017-08-16 | 2017-12-19 | 广州视源电子科技股份有限公司 | Generate method, system and the computer equipment of pagefile |
CN110580147A (en) * | 2018-06-07 | 2019-12-17 | 阿里巴巴集团控股有限公司 | application program development method and device |
CN113595872A (en) * | 2021-06-30 | 2021-11-02 | 百果园技术(新加坡)有限公司 | Message component configuration method, device, system, equipment and storage medium |
CN113590103A (en) * | 2020-04-30 | 2021-11-02 | 深圳中砼物联网科技有限公司 | Method, computer device and storage medium for realizing graphical code-free development user interface |
WO2021217660A1 (en) * | 2020-04-30 | 2021-11-04 | 深圳中砼物联网科技有限公司 | Method for realizing graphical code-free development of user interface, and computer device and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101364176A (en) * | 2008-08-12 | 2009-02-11 | 北京航空航天大学 | BPEL visual model building system based on GMF |
US20090158243A1 (en) * | 2006-10-22 | 2009-06-18 | Bolarinwa Akin B | System and Method for Specification and Implementation of MVC (Model-View-Controller) based web applications. |
-
2013
- 2013-05-13 CN CN201310174361.3A patent/CN103246515B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090158243A1 (en) * | 2006-10-22 | 2009-06-18 | Bolarinwa Akin B | System and Method for Specification and Implementation of MVC (Model-View-Controller) based web applications. |
CN101364176A (en) * | 2008-08-12 | 2009-02-11 | 北京航空航天大学 | BPEL visual model building system based on GMF |
Non-Patent Citations (1)
Title |
---|
张驰等: "基于Web的信息可视化系统的设计与实现", 《计算机系统应用》 * |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105204833A (en) * | 2014-06-25 | 2015-12-30 | 成都普中软件有限公司 | Visual interface modeling method for constructing interface view on basis of interface element view |
CN105204833B (en) * | 2014-06-25 | 2018-06-29 | 成都普中软件有限公司 | A kind of visual interface modeling method based on Interface Element view structural interface view |
CN106775617A (en) * | 2016-11-09 | 2017-05-31 | 深圳市中润四方信息技术有限公司 | The service logic collocation method and configuration system of a kind of application software |
CN106681740A (en) * | 2017-01-12 | 2017-05-17 | 合肥杰美电子科技有限公司 | Method and system for visualized instruction configuration |
CN107172130A (en) * | 2017-04-25 | 2017-09-15 | 武汉票据交易中心有限公司 | A kind of MVC registration implementation methods and server |
CN107172130B (en) * | 2017-04-25 | 2020-07-03 | 武汉聚风天下科技有限公司 | MVC (model view controller) registration implementation method and server |
CN107491311A (en) * | 2017-08-16 | 2017-12-19 | 广州视源电子科技股份有限公司 | Generate method, system and the computer equipment of pagefile |
CN110580147A (en) * | 2018-06-07 | 2019-12-17 | 阿里巴巴集团控股有限公司 | application program development method and device |
CN113590103A (en) * | 2020-04-30 | 2021-11-02 | 深圳中砼物联网科技有限公司 | Method, computer device and storage medium for realizing graphical code-free development user interface |
WO2021217660A1 (en) * | 2020-04-30 | 2021-11-04 | 深圳中砼物联网科技有限公司 | Method for realizing graphical code-free development of user interface, and computer device and storage medium |
CN113590103B (en) * | 2020-04-30 | 2024-02-02 | 广东中砼物联网科技有限公司 | Method, computer device and storage medium for realizing graphical code-free development user interface |
CN113595872A (en) * | 2021-06-30 | 2021-11-02 | 百果园技术(新加坡)有限公司 | Message component configuration method, device, system, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN103246515B (en) | 2016-11-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103246515A (en) | Visual model view controller (MVC) function modeling control method | |
Theelen et al. | Software/hardware engineering with the parallel object-oriented specification language | |
CN104484216B (en) | Service interface document and on-line testing instrument generation method, device | |
CN101707399B (en) | Method and system for acquiring electric energy information | |
CN109739478A (en) | Front end project automated construction method, device, storage medium and electronic equipment | |
CN110262783A (en) | A kind of interface creation method, device and terminal device | |
CN106354492A (en) | Automatic code generation method and system capable of rapidly adjusting transaction process connection | |
CN109445886A (en) | A kind of interface display method, system and terminal device | |
CN105893061A (en) | Application program development method and system | |
CN103019726A (en) | Management method and device of software system service rules | |
Criado et al. | Toward the adaptation of component‐based architectures by model transformation: behind smart user interfaces | |
CN110297627A (en) | A kind of front-end code automation continuous integrating method based on gitlab-ci | |
CN106557470A (en) | data extraction method and device | |
CN103530097A (en) | Implement method and device of module crossing middleware platform | |
CN103473034B (en) | A kind of method and apparatus of dynamic publishing Web service | |
CN101295246B (en) | Method for converting UML model to SmartC model | |
CN106843818B (en) | Business model generation method and device | |
KR20120014389A (en) | Smartphone application product solution | |
CN103309989A (en) | Intelligent browser for human resource and social security field | |
CN111767217A (en) | JS unit test case generation method and device | |
Sentilles | Managing extra-functional properties in component-based development of embedded systems | |
CN109710474A (en) | A kind of hard disk fault detection method, device, terminal and readable storage medium storing program for executing | |
CN103186465A (en) | Browser compatibility testing method and system for webpage user interface | |
CN103049253B (en) | A kind of system for cell-phone customer terminal exploitation | |
CN112631696B (en) | Service arranging method, arranging device, processor and service arranging system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 519000 No. 1, 1, five, 1, 3 units, software processing center, No. 2 software Road, Tang Wan Town, Zhuhai, Guangdong Applicant after: Zhuhai Flyrise Software Co., Ltd. Address before: 519080, B1-5 software, South Software Park, 1 Software Road, Tang Wan Town, Zhuhai, Guangdong Applicant before: Zhuhai Flyrise Software Co., Ltd. |
|
COR | Change of bibliographic data | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |