Previous section we created the complete solution for the test project together
Next we are faced with a specific feature page developed
We need to analyze our next page development work before we do the development.
So you can say that there are many very basic classes of data in any project.
We classify this sort of data as basic data.
These pages need to be, but are not commonly used.
If we want to develop it, it will be time-consuming, though not complicated.
A solution for this type of page is provided in the development framework. So we don't have to spend too much time on this page.
It is done through a unified configuration page. Note that our choice is based on features that are needed in the system but are not commonly used
Why are you so selective?
If it is a common feature, we would like to provide very flexible coding to meet the current or future customer demand changes.
If you use configuration, development is efficient, but flexibility is limited. This requires the program owner to grasp the degree of good.
Below we create the required currency base data for the project
We need to have the code, the name is enough.
The following are the development steps:
Also open the secondary development tool
Left menu selection: System configuration as the right side of the screen
Fill in the Database type and link string settings for the current accessibility link on our development library TEST
Click on the left menu: project development = "Create a basic table screen as
Fill in the data table name
Click the button "Create base table" Note: There are only code, name fields in this type of table. the next section will introduce the development of not this simple basic material
So the table is created for us. Below we will go to SQL Server for a look
Here is a page address: This is the menu address of our currency information. At this point our functionality has been completed.
Let's take a look at the database, this base_currency base data sheet
Such as
Next, the Publish feature
Operating system: If
Click system Management = "function management to expand our feature menu
Right-click on the Base data node + add
Name Input: Currency information
Address: This is the address mentioned above when I created the basic material.
Click Save when you are finished typing
In our tree, there's a coin-like message.
At this point, you can choose to refresh the left menu or log back into the system
The coin message function appears on the left menu after the refresh.
After clicking on the menu, a query list page with currency information appears on the right.
We click on the new feature on the list page to pop up the maintenance page below
Enter CNY name: CNY
Save
The system prompts "save succeeded"
We close the page, to the List Query screen query
Click on the query so that the renminbi we have just maintained is retrieved.
All right.
At this point our first basic information: currency information, the development is complete.
It's done? I don't think I wrote a single line of code!
Is finished, we have seen the newly created table, through the new screen does save a piece of data "renminbi", and in the query screen can be correctly queried.
Let's sum it up:
Pages like this one can have a number of items in a project, such as currency information, reporting unit information, Area code, mode of transport
The following section describes or is the underlying development, but not just the code, the name of the case
How are we going to deal with
Web Development Framework Series tutorial (ii) page development of the basic information page