If the < watercress > carries on the simple database element design;
Analysis page:
The simple watercress has the following page {
Events Page
Event Details page
Movie Page
Movie Detail Page
Cinema page (generally not to database, less than database considerations)
My {
Events Collection Page
Movie Collection Page
Sign up for login page
}
}
Follow the above page to consider
Model, which is the primary database object
That is, all model is stored in the database
Detailed classification and setting of corresponding defects .....
The "My" page has a collection feature and sign-in
That's where the database is going to be applied.
Using a single database, multiple tables store various types of data
The active page corresponds to the favorite active object, and the active object contains all its properties
Consider adding or removing useful or useless data based on the page
Movie Page above
Login Registration page, the most important is to set up the registration page user profile, the registration of all the user data are stored in the table,
Can invoke the database after login, can call the collection function
Not logged in click the Favorites button, prompted not to log in, jump to the login page
Improve each page function
Database Design Complete
Simple design of App database elements