Simple Design of App database elements and app database elements
For example, you can design simple database elements for <>;
Analysis page:
Simple Douban has the following pages {
Activity page
Activity details page
Movie page
Movie details page
Cinema page (generally, databases are not used, which is not considered as a database)
My {
Activity favorites page
Movie favorites page
Registration logon page
}
}
Based on the above page considerations
Model is the main database object
That is, all models are stored in the database.
Detailed classification and corresponding defect settings ........
The "my" page contains the favorites function and registration logon function.
This is where the database will be applied.
Use a single database to store various types of data in multiple tables
The activity page corresponds to the favorite activity object, which contains all its attributes.
Add or delete useful or useless data based on the page
Movie page above
On the login registration page, the most important thing is to set the user information on the registration page. All the user data for registration is stored in the table,
After logging on, you can call the database and add to favorites function.
Click "add to Favorites" if you are not logged on. The logon page is displayed.
Improve page Functions
Database Design complete