CN106502977B - A kind of sheet disposal method and form system based on B/S framework - Google Patents
A kind of sheet disposal method and form system based on B/S framework Download PDFInfo
- Publication number
- CN106502977B CN106502977B CN201610976524.3A CN201610976524A CN106502977B CN 106502977 B CN106502977 B CN 106502977B CN 201610976524 A CN201610976524 A CN 201610976524A CN 106502977 B CN106502977 B CN 106502977B
- Authority
- CN
- China
- Prior art keywords
- list
- information
- configuration
- metadata
- view model
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/177—Editing, e.g. inserting or deleting of tables; using ruled lines
- G06F40/18—Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Storage Device Security (AREA)
Abstract
The invention discloses a kind of sheet disposal method and system based on B/S framework, provide view model registering functional, can simplify the operation of user with intensive data, be convenient for user sharing data;View model field is tied to form controls, is controlled convenient for service logic, safeguard protection can be provided for confidential data;Verification information configuration can be subjected to server back end verifying without being disposed on the control of front end in metadata, keep program operation safer;Run-time scenario information is configured, different business processing components can be bound for list, different business logic components can be called according to operation context, facilitate business processing.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of sheet disposal methods and list based on B/S framework
System.
Background technique
Currently, Form Designer is mostly used greatly desktop application or is realized in a manner of Integrated Development Environment card format,
Need to install client software or plug-in unit when exploitation, form design result is saved in the form of HTML fragment in the database, in reality
When existing data are submitted, realized using control and data sheet field mapping mode.It is only submitted in list in submitting data procedures
Preceding to do business processing in advance, in relative complex business scene, inconvenience carries out Service control, and background business logic also adopt by inconvenience
With the common method of encapsulation.
Summary of the invention
The technical problems to be solved by the present invention are: providing a kind of sheet disposal method based on B/S framework and list system
System.
In order to solve the above-mentioned technical problem, a kind of the technical solution adopted by the present invention are as follows: sheet disposal based on B/S framework
Method, definition and configuration including carrying out list on webpage, specifically includes:
Carry out view model registration;
The metadata information of view model is obtained by reflection technology;
Construct view model metadata structure tree;
The attribute node of metadata structure tree is tied to form controls.
The invention further relates to a kind of form processing system based on B/S framework, including form definition module, the list is fixed
Adopted module on webpage for carrying out the definition and configuration of list, for the metadata information of view model to be tied to list control
Part.
The beneficial effects of the present invention are: view model registering functional is provided, the behaviour of user can be simplified with intensive data
Make, is convenient for user sharing data;View model field is tied to form controls, is controlled convenient for service logic, can be secret
Data provide safeguard protection.
Detailed description of the invention
Fig. 1 is the flow chart that view model is tied to form controls by the present invention;
Fig. 2 is the block diagram of form system of the present invention.
Specific embodiment
To explain the technical content, the achieved purpose and the effect of the present invention in detail, below in conjunction with embodiment and cooperate attached
Figure is explained.
The most critical design of the present invention is: view model field is tied to form controls, controlled convenient for service logic,
Safeguard protection can be provided for confidential data.
Please refer to Fig. 1 and Fig. 2, a kind of sheet disposal method based on B/S framework, including carrying out determining for list on webpage
Justice and configuration, specifically include:
Carry out view model registration;
The metadata information of view model is obtained by reflection technology;
Construct view model metadata structure tree;
The attribute node of metadata structure tree is tied to form controls.
As can be seen from the above description, the beneficial effects of the present invention are: view model registering functional is provided, number can be concentrated
According to user sharing data are convenient in the operation of simplified user;View model field is tied to form controls, is convenient for service logic
Control, can provide safeguard protection for confidential data.
Further, the definition for carrying out list and configuration are specific further include:
Carry out control information registration and Metadata registry;
Configure form fields permission, metadata validation information and Run-time scenario information.
Seen from the above description, Run-time scenario information is configured, different business processing components can be bound for list, it can root
Different business logic components are called according to operation context, facilitate business processing.
Further, after carrying out form definition and configuring further include: parsing list configuration obtains form controls and matches confidence
Breath, carries out the initialization of control.
Further, further includes: according to the metadata validation information of configuration, call corresponding verifying plug-in unit, verifying input
The correctness of value.
Seen from the above description, verification information is configured in metadata without being disposed on the control of front end, can be carried out
Server back end verifying keeps program operation safer.
Further, further includes: according to the form fields authority information and current context state of configuration, carry out permission meter
It calculates.
Further, further includes: list submit the total amount evidence is filled up in the view model.
Further, further includes: list is provided and shows Run-time scenario information locating for current form.
A kind of form processing system based on B/S framework, including form definition module, the form definition module are used for
The definition and configuration that list is carried out on webpage, for the metadata information of view model to be tied to form controls.
Further, the form definition module is also used to carry out control information registration, Metadata registry, configuration form fields
Permission, metadata validation information and Run-time scenario information.
It further, further include list operation module, the list operation module includes:
Engine mould is fast, for parsing list configuration, obtains form controls configuration information, carries out the initialization of control;
Permission computing module, for carrying out permission calculating according to form fields privileges configuration information and current context state;
Authentication module verifies the correctness of input value for the metadata validation information according to configuration;
It is fast to be worth fill mould, for list submit the total amount evidence to be filled up in view model;
Event processing module realizes the place of the hot-swappable formula of event handling class for providing event handling stand-by master control logic
Adjustment method.
Embodiment
Please refer to Fig. 1 and Fig. 2, the embodiment of the present invention one are as follows: as shown in Figure 1, a kind of sheet disposal based on B/S framework
Method, including following content:
The definition and configuration that list is carried out on webpage, specifically include, progress view model registration first, then by anti-
It penetrates technological means and obtains view model metadata information, view model metadata information includes Property Name, attribute type and category
Property description.View model metadata structure tree is constructed on the right side of the Form Designer in toolbar, passes through dragging metadata structure tree
On attribute node to form controls, designer control logic is then by attribute node searching route information solicitation to form controls
On NAME attribute, the binding of view model and form controls is realized.In the present embodiment, the operation of the Form Designer is mainly such as
Under: the basic operation of list classification, newly-increased subtype, deletion, modification, movement and addition including list classification;List it is basic
Operation, deletion, modification, movement, duplication, full screen editing and list Run-time scenario including list etc.;List Run-time scenario
Basic operation includes the newly-increased of scene, deletion, modification and paging query are shown etc.;Form layout's management, which operates, includes, list
New Layout, a key generate, import html text, reversed generation, save layout, preview, JS editing machine, CSS editing machine, revocation
Layout, export, attribute, binding data source, design printing, control box management, table operation and attribute event configuration etc., the control
The operation of part case includes classification load control, and the table operation includes addition table style, Merge Cells, split cells
Lattice, deletion row, deletion column, Delete Table, table moves up, table moves down, is inserted into control, upper insertion a line, lower insertion a line, a left side
One column of insertion, right insertion one column, layout attributes, cell attribute, upper insertion page break and lower fork such as page break etc.;The attribute
Event configuration includes attribute configuration, event configuration, metadata structure tree and recycle bin etc..
List is defined and further includes, carries out control information registration, Metadata registry, form fields authority configuration, first number
According to verifying configuration and Run-time scenario information configuration.Run-time scenario configuration include list entirety permission when defining list operation,
Initialization event processing and list submit event handling, provide list and show Run-time scenario information bound in current form.Institute
Stating form fields authority configuration includes: form fields selection, and form fields authority configuration provides the mode that batch selects form fields;Form fields
Permissions list shows current form authority configuration situation;List permission type, permission type include it is read-only, disabling and it is hidden.
In the list operation phase, parsing list configuration first obtains form controls configuration information, calls and accordingly generate agency
Displaying generating algorithm or printing generating algorithm, carry out the initialization of control.According to form fields privileges configuration information and it is current on
Context state carries out permission calculating;According to metadata validation information, corresponding verifying plug-in unit is called, the correct of input value is verified
Property, after the completion of verifying, by list submit the total amount according to being filled up in view model, include value type conversion, assignment, subobject wound
Build, Obj State record etc. logical algorithms, list operation when, provide list show current form locating for Run-time scenario letter
Breath.User accesses the definition that list is realized in form definition service by form Definition Tool, calls list fortune by operation system
Row service shows list content, realizes forms traffic logic, realizes list printing function by list print service, passes through list
Expansion service realizes the extension of list dependent event processing, realizes additional sheet disposal logic.
As shown in Fig. 2, the present embodiment further relates to a kind of form processing system based on B/S framework, comprising:
Including form definition module, the form definition module on webpage for carrying out the definition of list, configuring and set
Meter is also used to carry out control information registration and metadata note for the metadata information of view model to be tied to form controls
Volume, configuration form fields permission, metadata validation information and Run-time scenario information;
List runs module, and the list operation module includes:
Engine mould is fast, and for parsing list configuration, acquisition form controls configuration information carries out the initialization of control, including
Presentation engine and print engine;
Permission computing module, for carrying out permission calculating according to form fields privileges configuration information and current context state;
Authentication module verifies the correctness of input value for the metadata validation information according to configuration;
It is fast to be worth fill mould, for list submit the total amount evidence to be filled up in view model;
Event processing module provides event handling stand-by master control logic, realizes that the processing of the hot-swappable formula of event handling class is calculated
Method.
In conclusion a kind of sheet disposal method and system based on B/S framework provided by the invention, provide view model
Registering functional can simplify the operation of user with intensive data, be convenient for user sharing data;View model field is tied to table
Single control part controls convenient for service logic, can provide safeguard protection for confidential data;By verification information configuration in metadata and
It is not disposed on the control of front end, server back end verifying can be carried out, keep program operation safer;Configure Run-time scenario letter
Breath can bind different business processing components for list, can call different business logic components according to operation context, side
Just business processing.
The above description is only an embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalents made by bright specification and accompanying drawing content are applied directly or indirectly in relevant technical field, similarly include
In scope of patent protection of the invention.
Claims (5)
1. a kind of sheet disposal method based on B/S framework, which is characterized in that including carrying out the definition of list on webpage and matching
It sets, specifically includes:
Carry out view model registration;
The metadata information of view model is obtained by reflection technology;
Construct view model metadata structure tree;
The attribute node of metadata structure tree is tied to form controls;
The definition for carrying out list and configuration are specific further include:
Carry out control information registration and Metadata registry;
Configure form fields permission, metadata validation information and Run-time scenario information;
After carrying out form definition and configuring further include: parsing list configuration obtains form controls configuration information, carries out control
Initialization;
Further include: according to the metadata validation information of configuration, corresponding verifying plug-in unit is called, the correctness of input value is verified.
2. the sheet disposal method according to claim 1 based on B/S framework, which is characterized in that further include: according to configuration
Form fields authority information and current context state, carry out permission calculating.
3. the sheet disposal method according to claim 1 or 2 based on B/S framework, which is characterized in that further include: by table
It is single that data is submitted to be filled up in the view model.
4. the sheet disposal method according to claim 3 based on B/S framework, which is characterized in that further include: list is provided
Show Run-time scenario information locating for current form.
5. a kind of form processing system based on B/S framework, which is characterized in that including form definition module, the form definition
Module is specifically used for for carrying out the definition and configuration of list on webpage: carrying out view model registration;It is obtained by reflection technology
Take the metadata information of view model;Construct view model metadata structure tree;The attribute node of metadata structure tree is bound
To form controls;
The form definition module is also used to carry out control information registration, Metadata registry, configuration form fields permission, metadata are tested
Demonstrate,prove information and Run-time scenario information;
It further include list operation module, the list operation module includes:
Engine modules obtain form controls configuration information, carry out the initialization of control for parsing list configuration;
Permission computing module, for carrying out permission calculating according to form fields privileges configuration information and current context state;
Authentication module verifies the correctness of input value for the metadata validation information according to configuration;
Value filling module, for list submit the total amount evidence to be filled up in view model;
Event processing module realizes that the processing of the hot-swappable formula of event handling class is calculated for providing event handling stand-by master control logic
Method.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910777535.2A CN110457669A (en) | 2016-11-07 | 2016-11-07 | The sheet disposal method and system based on B/S framework for facilitating service logic to control |
CN201910777383.6A CN110457667A (en) | 2016-11-07 | 2016-11-07 | The good sheet disposal method and system based on B/S framework of safety |
CN201610976524.3A CN106502977B (en) | 2016-11-07 | 2016-11-07 | A kind of sheet disposal method and form system based on B/S framework |
CN201910777424.1A CN110457668A (en) | 2016-11-07 | 2016-11-07 | Simplify the sheet disposal method and system based on B/S framework of user's operation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610976524.3A CN106502977B (en) | 2016-11-07 | 2016-11-07 | A kind of sheet disposal method and form system based on B/S framework |
Related Child Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910777535.2A Division CN110457669A (en) | 2016-11-07 | 2016-11-07 | The sheet disposal method and system based on B/S framework for facilitating service logic to control |
CN201910777424.1A Division CN110457668A (en) | 2016-11-07 | 2016-11-07 | Simplify the sheet disposal method and system based on B/S framework of user's operation |
CN201910777383.6A Division CN110457667A (en) | 2016-11-07 | 2016-11-07 | The good sheet disposal method and system based on B/S framework of safety |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106502977A CN106502977A (en) | 2017-03-15 |
CN106502977B true CN106502977B (en) | 2019-09-13 |
Family
ID=58323829
Family Applications (4)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910777424.1A Withdrawn CN110457668A (en) | 2016-11-07 | 2016-11-07 | Simplify the sheet disposal method and system based on B/S framework of user's operation |
CN201910777383.6A Withdrawn CN110457667A (en) | 2016-11-07 | 2016-11-07 | The good sheet disposal method and system based on B/S framework of safety |
CN201910777535.2A Withdrawn CN110457669A (en) | 2016-11-07 | 2016-11-07 | The sheet disposal method and system based on B/S framework for facilitating service logic to control |
CN201610976524.3A Active CN106502977B (en) | 2016-11-07 | 2016-11-07 | A kind of sheet disposal method and form system based on B/S framework |
Family Applications Before (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910777424.1A Withdrawn CN110457668A (en) | 2016-11-07 | 2016-11-07 | Simplify the sheet disposal method and system based on B/S framework of user's operation |
CN201910777383.6A Withdrawn CN110457667A (en) | 2016-11-07 | 2016-11-07 | The good sheet disposal method and system based on B/S framework of safety |
CN201910777535.2A Withdrawn CN110457669A (en) | 2016-11-07 | 2016-11-07 | The sheet disposal method and system based on B/S framework for facilitating service logic to control |
Country Status (1)
Country | Link |
---|---|
CN (4) | CN110457668A (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107895112A (en) * | 2017-11-01 | 2018-04-10 | 东软集团股份有限公司 | List priority assignation, list generation method and device, medium, electronic equipment |
CN111061727A (en) * | 2019-11-26 | 2020-04-24 | 贝壳技术有限公司 | Form data storage method and system |
CN113377352B (en) * | 2021-07-05 | 2022-03-25 | 重庆市规划和自然资源信息中心 | Big data form modeling generation method for government affair business |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102122281A (en) * | 2010-01-11 | 2011-07-13 | 腾讯科技(北京)有限公司 | Method, device and system for generating page form |
CN103064659A (en) * | 2011-10-21 | 2013-04-24 | 镇江金软计算机科技有限责任公司 | Software as a service (SAAS) model based on metadata extraction user-defined worksheet system |
-
2016
- 2016-11-07 CN CN201910777424.1A patent/CN110457668A/en not_active Withdrawn
- 2016-11-07 CN CN201910777383.6A patent/CN110457667A/en not_active Withdrawn
- 2016-11-07 CN CN201910777535.2A patent/CN110457669A/en not_active Withdrawn
- 2016-11-07 CN CN201610976524.3A patent/CN106502977B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102122281A (en) * | 2010-01-11 | 2011-07-13 | 腾讯科技(北京)有限公司 | Method, device and system for generating page form |
CN103064659A (en) * | 2011-10-21 | 2013-04-24 | 镇江金软计算机科技有限责任公司 | Software as a service (SAAS) model based on metadata extraction user-defined worksheet system |
Non-Patent Citations (1)
Title |
---|
模型-视图 教程;CSDN博客;《https://blog.csdn.net/lifan1314521/article/details/51893660》;20160712;第1节简介,第3节中级主题 * |
Also Published As
Publication number | Publication date |
---|---|
CN110457667A (en) | 2019-11-15 |
CN110457668A (en) | 2019-11-15 |
CN106502977A (en) | 2017-03-15 |
CN110457669A (en) | 2019-11-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110663040B (en) | Method and system for securely embedding dashboard into content management system | |
US11586800B2 (en) | Document architecture with fragment-driven role based access controls | |
US9880989B1 (en) | Document annotation service | |
EP3443466B1 (en) | Document automation | |
CN110991157B (en) | Engineering quality assessment system design method based on electronic file trusted technology | |
CN111177252B (en) | Service data processing method and device | |
CN104020984B (en) | A kind of method and device for generating static page | |
CN114035773A (en) | Configuration-based low-code form development method, system and device | |
US9645719B2 (en) | Data-driven schema for describing and executing management tasks in a graphical user interface | |
CN111881662A (en) | Form generation method, device, processing equipment and storage medium | |
US20080288471A1 (en) | Apparatus and method for providing a data marketplace | |
CN101977121A (en) | Configuration file processing method, device and system | |
CN106502977B (en) | A kind of sheet disposal method and form system based on B/S framework | |
WO2014100582A2 (en) | Supporting color fonts | |
CN106649457A (en) | Data processing frame based on object relation mapping technology | |
CN101909082A (en) | Model-driven grid portal configuration system and method | |
US8484555B2 (en) | Electronic document control apparatus, method, program and system | |
CN111475803A (en) | Background authority management system and management method | |
CN112711414B (en) | Form interface adaptation display method and device and storage medium | |
US10891432B2 (en) | System and process for generating an internet application | |
CN116049300A (en) | Visual chart display method and system and electronic equipment | |
JP5547917B2 (en) | Content generation / distribution system for portable information terminals | |
Dangar | Learning laravel 4 application development | |
CN113948164A (en) | Clinical medicine management method, device, equipment and computer readable storage medium | |
CN109597845B (en) | Report configuration method, report configuration device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 350000 Floor 5-8 of Huayuan Building, 92 Dongdalu Road, Hot Spring Street, Gulou District, Fuzhou City, Fujian Province Applicant after: Telliver Information Technology Co., Ltd. Address before: Gulou District of Fuzhou City, Fujian province 350000 East Road No. 92 Huayuan Building 5-7 Applicant before: Fujian Teleware Information Technology Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |