CN107590202A - The method and system that a kind of enterprise platform is quickly applied - Google Patents
The method and system that a kind of enterprise platform is quickly applied Download PDFInfo
- Publication number
- CN107590202A CN107590202A CN201710720344.3A CN201710720344A CN107590202A CN 107590202 A CN107590202 A CN 107590202A CN 201710720344 A CN201710720344 A CN 201710720344A CN 107590202 A CN107590202 A CN 107590202A
- Authority
- CN
- China
- Prior art keywords
- controller
- view
- request
- model data
- business object
- 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
Links
Abstract
The present invention relates to technical field of software development, discloses a kind of quick application process of enterprise platform and system, and this method includes front controller and receives the request that user sends;Front controller sends the requests to page controller corresponding to URL types according to the URL types;Page controller is according to request to model database request call business object;Model database model data and view name according to corresponding to business object searches business object, and model data and view name are fed back into page controller;Model data and view name are sent to front controller by page controller;Front controller view according to corresponding to selecting view name, model data is imported into the corresponding view and rendered;The view for rendering completion is responded to client by front controller.By the above method, user's request is abstracted into model data and view, increases data model and view realization for newly increased requirement, it is low to solve prior art development efficiency, the problem of process complexity.
Description
Technical field
The present invention relates to technical field of software development, more particularly to the method and system that a kind of enterprise platform is quickly applied.
Background technology
Business system application at present, faces the application environment to become increasingly complex, and be faced with needs to support more browsers first,
Next needs to support multi-client, including PC, mobile phone and tablet personal computer, is again confronted with multilingual and online help
Etc. function;For business system application, the demand of client also improves constantly, including customer demand customizes, market competition
Business is caused constantly to change;In business scope, change is also very quick, application framework variation, realizes language variation;It is above-mentioned
Condition all seriously constrains the development rate and efficiency of business system application, and process is extremely complex.
The content of the invention
It is an object of the invention to provide the method and system that a kind of enterprise platform is quickly applied, it is intended to solves prior art
In, exploitation enterprise application system need to support more browsers, multi-client, more customer demands, the variation of more application frameworks and
The problem of language variation causes development efficiency very low.
The present invention is achieved in that a kind of method that enterprise platform is quickly applied, and this method includes:
Front controller receives the request that user sends, and the request carries URL types;
Front controller sends the request to page controller corresponding to URL types according to the URL types;
Page controller is asked to model database request call business object according to described;
Model database model data and view name according to corresponding to the business object searches the business object, and will
Model data and view name feed back to page controller;
The model data and view name are sent to front controller by page controller;
Front controller view according to corresponding to selecting the view name, model data is imported into the corresponding view simultaneously
Rendered;
The view for rendering completion is responded to client by front controller.
Further, page controller according to it is described ask be specially to model database request call business object:
Parameter entrained by the request is collected and bound to a command object, and is verified;
Command object is consigned into business object, is sent to model database.
The present invention is achieved in that the system that a kind of enterprise platform is quickly applied, and the system includes:
First receiving unit, the request of user's transmission is received for receiving front-end controller, and the request carries URL classes
Type;
First transmitting element, for front controller according to the URL types, send the request to URL types pair
The page controller answered;
Call unit, asked for page controller according to described to model database request call business object;
Searching unit, for model database according to corresponding to the business object searches the business object model data
With view name, and model data and view name are fed back into page controller;
Second transmitting element, the model data and view name are sent to front controller for page controller;
Import unit, for front controller according to the view name selection corresponding to view, model data is imported into institute
View corresponding to stating simultaneously is rendered;
Response unit, the view for rendering completion is responded into client for front controller.
Further, the call unit includes:
Authentication module is collected, for collecting and binding parameter entrained by the request to a command object, and is tested
Card;
Delivery module, for command object to be consigned into business object, it is sent to model database.
By the above method and system, client traffic aspect demand is abstracted into data model and view, user is accessing
When, it is complete by the way that model data is imported respective view and rendered directly from calling model data inside model and view name
Into client is fed back to later, avoid under the complex situations such as multilingual, a variety of clients and application framework variation, carry out
A large amount of developments, and simple abstract data model and view simply are needed, reach the effect of Efficient Development.
Brief description of the drawings
Fig. 1 is the flow chart for the method that a kind of enterprise platform provided in an embodiment of the present invention is quickly applied;
Fig. 2 is the schematic diagram for the method that a kind of enterprise platform provided in an embodiment of the present invention is quickly applied;
Fig. 3 is the structure chart for the system that a kind of present invention enterprise platform that example provides another in real time is quickly applied.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
It is described in detail below in conjunction with realization of the specific embodiment to the present invention.
Present embodiments provide a kind of method that enterprise platform is quickly applied.
Fig. 1 shows the flow for the method that a kind of enterprise platform provided by the invention is quickly applied, and wraps as the method for figure 1
Include below step:
S101, front controller receive the request that user sends.
It should be noted that URL (Uniform Resource Locator, unified money are carried inside request message
Source locator) type, in general, we are divided into two kinds to URL types, and one kind is logged on, and another is feature control.
S102, preceding paragraph controller send the requests to page controller corresponding to URL types according to URL types.
It should be noted that front controller describes page controller address corresponding to URL types, according to different
URL types are sent to different page controllers.
S103, page controller call business object according to request to data model database request.
It should be noted that above-mentioned steps, which are specifically page controller, collects parameter entrained by request, and this is asked
Command object is consigned to business object, to model database requested service data by entrained Wire Parameters to command object.
Explanation is needed further exist for, core point of the invention is to establish model data in model database and regard
The map title, originally complicated business is abstracted as model data and view, avoids and largely developed to overall.
S104, model database model data and view according to corresponding to the business object searches the business object
Name, and model data and view name are fed back into page controller.
Model data and view name are sent to front controller by S105, page controller.
S106, front controller according to view name select corresponding to view, by model data import corresponding to view carry out
Render.
The view for rendering completion is responded to client by S107, front controller.
Fig. 2 shows the principle for the method that a kind of enterprise platform provided in an embodiment of the present invention is quickly applied.
Fig. 3 shows the system that a kind of enterprise platform provided in an embodiment of the present invention is quickly applied, the system bag shown in Fig. 3
Include:
First receiving unit 31, the request of user's transmission is received for receiving front-end controller, and the request carries URL classes
Type.
First transmitting element 32, for front controller according to the URL types, send the request to URL types
Corresponding page controller.
Call unit 33, asked for page controller according to described to model database request call business object.
Searching unit 34, for model database according to corresponding to the business object searches the business object pattern number
According to view name, and model data and view name are fed back into page controller.
Second transmitting element 35, the model data and view name are sent to front controller for page controller.
Import unit 36, for front controller according to the view name selection corresponding to view, model data is imported
View corresponding to described is simultaneously rendered.
Response unit 37, the view for rendering completion is responded into client for front controller.
Optionally, the call unit 33 includes:
Authentication module 331 is collected, for collecting and binding parameter entrained by the request to a command object, and is carried out
Checking;
Delivery module 332, for command object to be consigned into business object, it is sent to model database.
By the above method and system, extract enterprise application system model data and view, can not by environment, language,
Programming language, program frame structure etc. limit, the content directly quickly presented to present customers needs.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
All any modification, equivalent and improvement made within refreshing and principle etc., should be included in the scope of the protection.
Claims (4)
1. a kind of method that enterprise platform is quickly applied, it is characterised in that methods described includes:
Front controller receives the request that user sends, and the request carries URL types;
Front controller sends the request to page controller corresponding to URL types according to the URL types;
Page controller is asked to model database request call business object according to described;
Model database model data and view name according to corresponding to the business object searches the business object, and by model
Data and view name feed back to page controller;
The model data and view name are sent to front controller by page controller;
Front controller view according to corresponding to selecting the view name, model data is imported into the corresponding view and carried out
Render;
The view for rendering completion is responded to client by front controller.
2. the method as described in claim 1, it is characterised in that the page controller is asked to model database according to described
Request call business object is specially:
Parameter entrained by the request is collected and bound to a command object, and is verified;
Command object is consigned into business object, is sent to model database.
3. the system that a kind of enterprise platform is quickly applied, it is characterised in that the system includes:
First receiving unit, the request of user's transmission is received for receiving front-end controller, and the request carries URL types;
First transmitting element, for front controller according to the URL types, send the request to corresponding to URL types
Page controller;
Call unit, asked for page controller according to described to model database request call business object;
Searching unit, model data and regarded according to corresponding to the business object searches the business object for model database
The map title, and model data and view name are fed back into page controller;
Second transmitting element, the model data and view name are sent to front controller for page controller;
Import unit, for front controller according to the view name selection corresponding to view, it is described right that model data is imported
The view answered simultaneously is rendered;
Response unit, the view for rendering completion is responded into client for front controller.
4. system as claimed in claim 3, it is characterised in that the call unit includes:
Authentication module is collected, for collecting and binding parameter entrained by the request to a command object, and is verified;
Delivery module, for command object to be consigned into business object, it is sent to model database.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710720344.3A CN107590202A (en) | 2017-08-21 | 2017-08-21 | The method and system that a kind of enterprise platform is quickly applied |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710720344.3A CN107590202A (en) | 2017-08-21 | 2017-08-21 | The method and system that a kind of enterprise platform is quickly applied |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107590202A true CN107590202A (en) | 2018-01-16 |
Family
ID=61042482
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710720344.3A Pending CN107590202A (en) | 2017-08-21 | 2017-08-21 | The method and system that a kind of enterprise platform is quickly applied |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107590202A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108322353A (en) * | 2018-03-27 | 2018-07-24 | 多彩贵州印象网络传媒股份有限公司 | It is a kind of based on the transaction processing system for automatically generating operation interface |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080068633A1 (en) * | 2006-09-18 | 2008-03-20 | Xerox Corporation | Java 2 platform Enterprise Edition (J2EE) based web publishing |
CN106446023A (en) * | 2016-08-29 | 2017-02-22 | 江苏数加数据科技有限责任公司 | Double-publicized production data front-end display system and method based on AngularJS and Bootstrap |
-
2017
- 2017-08-21 CN CN201710720344.3A patent/CN107590202A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080068633A1 (en) * | 2006-09-18 | 2008-03-20 | Xerox Corporation | Java 2 platform Enterprise Edition (J2EE) based web publishing |
CN106446023A (en) * | 2016-08-29 | 2017-02-22 | 江苏数加数据科技有限责任公司 | Double-publicized production data front-end display system and method based on AngularJS and Bootstrap |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108322353A (en) * | 2018-03-27 | 2018-07-24 | 多彩贵州印象网络传媒股份有限公司 | It is a kind of based on the transaction processing system for automatically generating operation interface |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110806934A (en) | RPA technology-based intelligent all-in-one machine development and multi-service rapid processing method | |
CN103942093A (en) | Service processing method and system | |
CN106569790B (en) | Card template generation method, service providing method, information providing method and device | |
CN103997452A (en) | Information sharing method and apparatus among multiple platforms | |
CN108023867B (en) | Method for filtering mobile terminal webpage advertisement, gateway server and filtering server | |
CN107979632A (en) | The processing method of pushed information, apparatus and system | |
CN105354025A (en) | Service model configuration system and method based on mobile application | |
CN104025083A (en) | Method and apparatus for providing web pages | |
CN103841154B (en) | Network media information dissemination method, system and client | |
CN103581111A (en) | Communication method and system | |
CN101990169A (en) | Intelligent card active pushing system and intelligent card mobile terminal | |
CN102523106A (en) | Video website user behavior analysis system based on Flex RIA (Rich Internet Applications) technology | |
CN111831947B (en) | Application system, data processing method, computer system and storage medium | |
CN109428877A (en) | A kind of method and apparatus for by user equipment access operation system | |
CN108124007A (en) | The method and apparatus of message data real-time Transmission | |
CN109274705A (en) | Service providing method, apparatus and system based on user identity | |
CN110737645B (en) | Data migration method and system among different systems and related equipment | |
CN102760157B (en) | A kind of for generating the method that release news, device and the equipment corresponding with mobile terminal | |
CN109495553A (en) | A kind of webpage display control method, system and Reverse Proxy | |
CN107517188A (en) | A kind of data processing method and device based on Android system | |
CN103617043B (en) | A kind of method and system uploaded with picture web data | |
CN104932859A (en) | System and method for synchronous release of mobile phone micro-websites and LED display screens | |
CN104902432A (en) | Method and device for generating application operation log of terminal mobile | |
CN103379163B (en) | A kind of defining method of business object and determining device | |
CN108363749B (en) | Method and apparatus for information processing |
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: 20180116 |