CN106020793A - A method for rapid form building in an iOS platform application development process - Google Patents
A method for rapid form building in an iOS platform application development process Download PDFInfo
- Publication number
- CN106020793A CN106020793A CN201610299444.9A CN201610299444A CN106020793A CN 106020793 A CN106020793 A CN 106020793A CN 201610299444 A CN201610299444 A CN 201610299444A CN 106020793 A CN106020793 A CN 106020793A
- Authority
- CN
- China
- Prior art keywords
- data
- form item
- list
- assembly
- item component
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
- G06F8/22—Procedural
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/33—Intelligent editors
Abstract
The invention provides a method for rapid form building in an iOS platform application development process. The method relates to data models, form configuration files, a parser and a customized form item component. The method comprises the steps that a, by parsing the configuration files, the parser obtains the number of forms needing display and the type of a form item component, the attribute value and the attribute name of the form item component corresponding to the data model, and a data format required during input; b, then the parser reads data models for display to set a customized form item component, and at this moment, the form item component already has the to-be-displayed attribute value, the corresponding display effect configuration given to the form item component during input to the customized form item component and a response method for information input, so that the form item component can read and set the data models and realize bidirectional flow of data. Thus, the method can adapt to requirement change, allows reuse, increases the development efficiency and facilitates maintenance.
Description
Technical field
The present invention relates to the technical field of communication, particularly relate to a kind of be applied to the method for rapid build list in iOS platform application development process.
Background technology
Particularly enterprise mobile information management system and information is applied to show and in the application of collection at most of mobile phones, list is modal user's interactive interface, it is applied to the details to various records show and editor, what list provided information represents the reception with information, thus realizes the collection of information, processes and circulate.Particularly for the cell phone software that data display collection is master, for enterprise mobile information management software, the quantity of list and huge number, pattern is changeable, differs the data demand of input, also can associate other data.Meanwhile, change along with the iteration of cell phone software, it is necessary to meet the requirement of the variation to list.Can rapid build list and change list timely and effectively, be largely fixed development rate and the quality of application.
Current existing list construction method is usually at code or pulls control generation by visualization tool, then manages with operation layer, can not multiplexing by the expression of this generation.
Advantage:
1, the visual design-by pulling finding gained;
2, easy of use, development difficulty is low;
3, control combination in any, exploitation is freely.
Shortcoming:
1, list related definition arranges complexity;
2, customization efficiency is low, and development cost is high;
3, to send out data numerous and diverse for table;
4, the change of form information item can not be met.
Summary of the invention
The technical problem that present invention mainly solves is to provide and a kind of is applied to the method for rapid build list in iOS platform application development process, and the change of adaption demand, when list changes, it is only necessary to configuration file corresponding to amendment is the most permissible;Can multiplexing, the corresponding multiple configuration files of multiple lists;Improve development efficiency;It is easily maintained, has only to add the support to new form item assembly when there being new demand, just can use in all lists at once.
For solving above-mentioned technical problem, the technical scheme that the present invention uses is: provides and a kind of is applied to the method for rapid build list in iOS platform application development process, including data model, list configuration file, resolver, custom table individual event assembly, including step in detail below:
A, resolver, by resolving configuration file, obtain quantity and the form item assembly kind of the list needing display, and this form item assembly corresponds to property value and the Property Name of data model, the data form required during input;
B, then, resolver reads data model to be shown and arranges the form item assembly of customization, at this moment, form item assembly has had property value to be shown, and input gives response method when display effect configuration corresponding to form item assembly inputs with information when custom table individual event assembly, so form item assembly just can read and arrange data model, it is achieved the two-way flow of data.
In a preferred embodiment of the present invention, described data model is used for storing data set to be shown;Described list configuration file is used for describing the outward appearance of list to be shown, Data Source, form to input data limit, inputted the storage mode of data;Described resolver is used for resolving list configuration file and applying it to list and externally expose data;The form item assembly of described customization is the control of real display, it is provided that the interface of various reception external datas, when user inputs, user's input is carried out effect simultaneously, has inputted and has continued to preserve to data.
The invention has the beneficial effects as follows: the present invention is applied to the method for rapid build list in iOS platform application development process, and the change of adaption demand, when list changes, it is only necessary to the configuration file of amendment correspondence is the most permissible;Can multiplexing, the corresponding multiple configuration files of multiple lists;Improve development efficiency;It is easily maintained, has only to add the support to new form item assembly when there being new demand, just can use in all lists at once.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in describing embodiment below, the required accompanying drawing used is briefly described, apparently, accompanying drawing in describing below is only some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings, wherein:
Fig. 1 is that the present invention is applied to the FB(flow block) of a preferred embodiment of the method for rapid build list in iOS platform application development process.
Detailed description of the invention
Technical scheme in the embodiment of the present invention will be clearly and completely described below, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, all other embodiments that those of ordinary skill in the art are obtained under not making creative work premise, broadly fall into the scope of protection of the invention.
As it is shown in figure 1, the embodiment of the present invention includes:
A kind of it is applied to the method for rapid build list in iOS platform application development process, including data model, list configuration file, resolver, custom table individual event assembly, including step in detail below:
A, resolver, by resolving configuration file, obtain quantity and the form item assembly kind of the list needing display, and this form item assembly corresponds to property value and the Property Name of data model, the data form required during input;
B, then, resolver reads data model to be shown and arranges the form item assembly of customization, at this moment, form item assembly has had property value to be shown, and input gives response method when display effect configuration corresponding to form item assembly inputs with information when custom table individual event assembly, so form item assembly just can read and arrange data model, it is achieved the two-way flow of data.
In above-mentioned, described data model is used for storing data set to be shown;Described list configuration file is used for describing the outward appearance of list to be shown, Data Source, form to input data limit, inputted the storage mode of data;Described resolver is used for resolving list configuration file and applying it to list and externally expose data;The form item assembly of described customization is the control of real display, it is provided that the interface of various reception external datas, when user inputs, user's input is carried out effect simultaneously, has inputted and has continued to preserve to data.
The fast custom of list:
File provides the basic parameter of list in xml format, the process inputted including page display option, canonical effect item, data source that option is corresponding, form item.
List is integrated with business module:
During form customization, except can be with the conventional form types of flexibly customizing, it is also possible to other modular service function combinations, call the data source of other modules, as customer selecting, contact person select, work selection etc..
The dynamic change of list:
Start every time in application or pushed by message and dynamically update local list configuration file, it is achieved the dynamic change of list.
The extension of list:
In business development, be extended if desired for the support item of list, can first custom table individual event assembly, then revise configuration file, it is provided that the data item that assembly needs, just display in list.
Embodiment:
First custom table individual event assembly (Cell), inherits unified base class (BaseCell).What BaseCell had a model object quotes (model), corresponding with this assembly with the key (key) in model, by key we can arrange and or respective value (value), also have other and form item assembly is set show and attribute to input restriction.
It is then filled out list configuration file (plist file), configuration file comprises the name (title) of assembly, corresponding to key in model (key), the type (type) of assembly, restriction regular expression (regex) to input, if the similar of assembly is input frame, the most also need to provide the type (keyboardType) of keyboard, if choice box, then need to provide data source (items), if calling the data choice box of other modules, it is desirable to provide jump to the method (selector) of other modules.
Last in business module, generate list with data model and configuration file to resolver, resolve and configured by reading configuration file and data model, then in business module, generate different assemblies and configuration component by configuring.
Main class and method explanation:
The base class of BaseCell: dynamic list, arranges the display effect of acquiescence and the information relevant to data model, is responsible for the data to input according to carrying out effect simultaneously, arranges input results in data model after having inputted.
BaseTextfieldCell: inherit BaseCell, it is provided that the function of text input effect;
BaseActionCell: inherit BaseCell, it is provided that the function that option selects;
BaseViewModel: read configuration file, resolves configuration file and storage data model, provides simultaneously and be allocated to each assembly;
BaseDetailViewController: operation layer base class, connects BaseViewModel and assembly, obtains data by LoadDataWithParams (), will call BaseViewModel and carry out configuration component after having obtained data, completes display;
CustomDataParser: dynamically more new table resolves class, obtains long-range list configuration file, resolves and write in local profile.
Profile Description:
Title: component Name;
The attribute of key:model;
Regex: input item is carried out effect just in expression formula;
The type of type: assembly;
Items: option array;
Selector: corresponding special input, call method to process.
In sum, the present invention is applied to the method for rapid build list in iOS platform application development process, has the advantage that
1, the change of adaption demand, when list changes, it is only necessary to the configuration file of amendment correspondence is the most permissible;
2, can multiplexing, the corresponding multiple configuration files of multiple lists;
3, development efficiency is improved;
4, it is easily maintained, has only to add the support to new form item assembly when there being new demand, just can use in all lists at once.
The foregoing is only embodiments of the invention; not thereby the scope of the claims of the present invention is limited; every equivalent structure utilizing description of the invention content to be made or equivalence flow process conversion; or directly or indirectly it is used in other relevant technical field, the most in like manner it is included in the scope of patent protection of the present invention.
Claims (2)
1. one kind is applied to the method for rapid build list in iOS platform application development process, it is characterised in that include data model, list configuration file, resolver, custom table individual event assembly, including step in detail below:
A, resolver, by resolving configuration file, obtain quantity and the form item assembly kind of the list needing display, and this form item assembly corresponds to property value and the Property Name of data model, the data form required during input;
B, then, resolver reads data model to be shown and arranges the form item assembly of customization, at this moment, form item assembly has had property value to be shown, and input gives response method when display effect configuration corresponding to form item assembly inputs with information when custom table individual event assembly, so form item assembly just can read and arrange data model, it is achieved the two-way flow of data.
The most according to claim 1 it is applied to the method for rapid build list in iOS platform application development process, it is characterised in that described data model is used for storing data set to be shown;Described list configuration file is used for describing the outward appearance of list to be shown, Data Source, form to input data limit, inputted the storage mode of data;Described resolver is used for resolving list configuration file and applying it to list and externally expose data;The form item assembly of described customization is the control of real display, it is provided that the interface of various reception external datas, when user inputs, user's input is carried out effect simultaneously, has inputted and has continued to preserve to data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610299444.9A CN106020793A (en) | 2016-05-09 | 2016-05-09 | A method for rapid form building in an iOS platform application development process |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610299444.9A CN106020793A (en) | 2016-05-09 | 2016-05-09 | A method for rapid form building in an iOS platform application development process |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106020793A true CN106020793A (en) | 2016-10-12 |
Family
ID=57099044
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610299444.9A Pending CN106020793A (en) | 2016-05-09 | 2016-05-09 | A method for rapid form building in an iOS platform application development process |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106020793A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108073398A (en) * | 2017-12-22 | 2018-05-25 | 华北计算技术研究所(中国电子科技集团公司第十五研究所) | A kind of configurable advice note realizes engine and method |
CN108154569A (en) * | 2017-12-27 | 2018-06-12 | 广州奥格智能科技有限公司 | A kind of inspection acquisition method based on object modelization configuration |
CN108563621A (en) * | 2018-04-28 | 2018-09-21 | 江苏国泰新点软件有限公司 | A kind of PDF report form generation methods, device, equipment and storage medium |
CN110018815A (en) * | 2019-04-02 | 2019-07-16 | 刘浩 | Application development system and method based on database and spreadsheet software |
CN111427559A (en) * | 2019-01-10 | 2020-07-17 | 阿里巴巴集团控股有限公司 | Method for realizing form customized service, form generation method, device and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080098292A1 (en) * | 2006-10-20 | 2008-04-24 | Intelli-Check, Inc. | Automatic document reader and form population system and method |
CN102201009A (en) * | 2011-06-21 | 2011-09-28 | 深圳市凯立德科技股份有限公司 | Form generating method and device |
CN104331295A (en) * | 2014-11-05 | 2015-02-04 | 北京中科辅龙信息技术有限公司 | Page generation method and system |
CN104375818A (en) * | 2013-10-11 | 2015-02-25 | 北京金辉东方科技有限公司 | System and method for achieving general data form inputting through configuration files |
-
2016
- 2016-05-09 CN CN201610299444.9A patent/CN106020793A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080098292A1 (en) * | 2006-10-20 | 2008-04-24 | Intelli-Check, Inc. | Automatic document reader and form population system and method |
CN102201009A (en) * | 2011-06-21 | 2011-09-28 | 深圳市凯立德科技股份有限公司 | Form generating method and device |
CN104375818A (en) * | 2013-10-11 | 2015-02-25 | 北京金辉东方科技有限公司 | System and method for achieving general data form inputting through configuration files |
CN104331295A (en) * | 2014-11-05 | 2015-02-04 | 北京中科辅龙信息技术有限公司 | Page generation method and system |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108073398A (en) * | 2017-12-22 | 2018-05-25 | 华北计算技术研究所(中国电子科技集团公司第十五研究所) | A kind of configurable advice note realizes engine and method |
CN108154569A (en) * | 2017-12-27 | 2018-06-12 | 广州奥格智能科技有限公司 | A kind of inspection acquisition method based on object modelization configuration |
CN108563621A (en) * | 2018-04-28 | 2018-09-21 | 江苏国泰新点软件有限公司 | A kind of PDF report form generation methods, device, equipment and storage medium |
CN108563621B (en) * | 2018-04-28 | 2022-08-05 | 国泰新点软件股份有限公司 | PDF report generation method, device, equipment and storage medium |
CN111427559A (en) * | 2019-01-10 | 2020-07-17 | 阿里巴巴集团控股有限公司 | Method for realizing form customized service, form generation method, device and system |
CN111427559B (en) * | 2019-01-10 | 2023-06-20 | 阿里巴巴集团控股有限公司 | Method for realizing form customization service, method, device and system for generating form |
CN110018815A (en) * | 2019-04-02 | 2019-07-16 | 刘浩 | Application development system and method based on database and spreadsheet software |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106020793A (en) | A method for rapid form building in an iOS platform application development process | |
CN106528129B (en) | A kind of Web application interface generation system and method | |
CN100511138C (en) | Generation method and apparatus for report condition inputting interface | |
CN102479079B (en) | Method and device for generating application | |
CN102207872A (en) | Method and system for customizing Web UI (User Interface) control according to user requirements | |
CN106293664A (en) | Code generating method and device | |
CN105447122A (en) | Implementation method for autonomously creating file system based on multi-table association | |
CN112328212A (en) | Rapid development platform based on separation of front end and rear end of engine mode and use method thereof | |
CN103543993A (en) | Application program building method and system | |
CN107679113A (en) | Acquisition methods, equipment and the electronic equipment gently applied | |
CN106126569A (en) | A kind of rapid data method of servicing and system | |
CN104571026A (en) | Platform and method for establishing whole-process metallurgical manufacturing execution system | |
CN102339421A (en) | Decision support system for managing ecological construction | |
CN105447723A (en) | Promotion system and promotion method | |
CN101488086A (en) | Software generation method and apparatus based on field model | |
CN106709778A (en) | Clothing customization method and device | |
CN101146281A (en) | A GUI creation model for mobile terminal | |
CN102096699A (en) | Dynamic template-based display method and system | |
CN110297636A (en) | A kind of automatic production of HTML page and parameter management method based on page configuration file, system and device | |
CN103927185A (en) | Network topology modeling device based on energy management and guiding method thereof | |
CN107977203A (en) | The creation method of storage device, application program control and user interface | |
CN109032590A (en) | A kind of configuration method, device, terminal and the storage medium of visual development environment | |
CN115480810A (en) | Low-code platform based on cloud protogenesis | |
CN113849156B (en) | Codeless intelligent development system applied to OpenHarmony operating system and application method thereof | |
CN103107919A (en) | Method and system for network resource modeling |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161012 |
|
RJ01 | Rejection of invention patent application after publication |