Dynamic form (I) Definition of dynamic forms

Source: Internet
Author: User
What is a dynamic form? According to Einstein's theory of relativity, there is a dynamic form, indicating that there is a static form. In life and even in the world, any two mass objects are moving. This is just a narrow Analysis of relativity, that is, narrow relativity, we usually discuss the special theory of relativity. The proposal of this theory has brought revolutionary changes to physics and laid a solid foundation for us.

What is a dynamic form? According to Einstein's theory of relativity, there is a dynamic form, indicating that there is a static form. In life and even in the world, any two mass objects are moving. This is just a narrow Analysis of relativity, that is, narrow relativity, we usually discuss the special theory of relativity. The proposal of this theory has brought revolutionary changes to physics and laid a solid foundation for us.

What is a dynamic form?

According to Einstein's theory of relativity, there is a dynamic form, indicating that there is a static form. In life and even in the world, any two mass objects are moving. This is just a narrow Analysis of relativity, that is, narrow relativity, we often discuss the special theory of relativity. This theory has brought revolutionary changes to physics and laid the foundation for modern physics. The theory of relativity has greatly changed the "common sense" of the universe and nature, enriching our common sense.

When you see dynamic forms, you may think of dynamic and static Web pages. What is the difference between them and dynamic forms? I think there is no difference in their nature, but the generation time is different. Static webpages can be fixed in the encoding phase and their content will not change in the future; although the encoding phase structure of a dynamic web page is determined, its content can be changed, allowing users to choose and interact with users.

The purpose of dynamic forms is to flexibly design display pages based on different business processes. Obviously, in the business process design phase, you do not need to consider how to implement forms too much and separate the business process from the form display, it fully embodies the MVC idea. We can regard dynamic forms as the concrete implementation of layer V.

Dynamic form Modeling

I remember reading a small book called "deal" a few days ago, which profoundly analyzed the development history of a large IT company and the thoughts and activities of various figures. There was a sentence in IT: "Take the city for the sake of attack, take the heart for the sake of attack ", this statement is true. When a form is generated, the form can be assembled only by knowing the core components of the form. When a dynamic form is generated, another programming idea OOP object-oriented programming is displayed, form generation is the assembly process. Based on this idea, we split and model the form and persistently store it in the database.

Is an abstract form chart.

A form is composed of multiple form fields. Each form field has a name, input box type, and input data type. If a list box is used, entries are added. This is the simplest dynamic form, if there are some complex controls on the form, it will be troublesome, but the process is the same.

Persists to the database.

Save the form data to the database. When necessary, load the data directly from the database and check the generated tables.

Display forms

In the next blog, we will introduce form display and use the freemarker plug-in to dynamically display pages!

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.