The most basic design concept of infopath-MVC

Source: Internet
Author: User
Tags xsl
After studying infopath for a while, I found that the simplest design idea of infopath evolved from the development model-MVC. Of course, I am only referring to the most basic design idea of infopath. Infopath is a huge set of functions, which cannot be expressed by a single MVC.
In fact, the most basic information of infopath only includes data information, data description information, view information, and control information. When we extract an infopath form, we will find two files with XML extensions, one or more XSD files with the extension, one or more XSL files with the extension, one or more JS scripts, and an xsf file. Classify these files into XML files. XSD files belong to model information, that is, M, and XSL belong to view information, that is, V. xsf files and JS control information, that is, C.
We carefully analyze the simple principles of infopath and extend it to our normal development project process. We will find that many projects cannot escape this simplest principle, in particular, some systems such as MIS and OA. In general, a function or application in MIS is composed of interfaces, Data, verification and interaction (and some workflow engines to control business processes. Abstract: The interface is nothing more than win form and web form. Data is nothing more than a dataset read in XML or a database. Verification is nothing more than a Verification Based on data and business logic, the workflow engine is relatively independent and can be combined with data information and interface information through process variables. If we abstract these elements into more popular features, create a data architecture designer, interface designer, workflow engine, and then use these tools to construct our applications, I think the development efficiency will be greatly improved. A while ago, my colleagues and I completed the initial versions of these three tools based on this idea and used them to complete a cataloguing system. I will write some recent development experiences to my blog.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.