A period of time according to the curriculum, the realization of an ASP online music website, the recent time is not tight, intends to record and summarize the small items of the previous period, one is to review the whole process of the project, the second is to deepen the understanding of the technology and tools used, the third is to reflect on the project process problems and solutions.
1. Website requirements:
1. Song display: After the user logs on to the homepage of the website, display the song leaderboard, album leaderboard, singer Leaderboard;
2. User Login and registration: When visitors want to become a user of our site to obtain more rights, the site provides registration and login;
3. Website Song search: You can use song name, album name, singer three different types, and support fuzzy query to search for the songs you want to listen to;
4. Audition and download leaderboard songs: Users can audition and download songs of interest to the local computer;
5. My collection function: Can be the user's own songs of interest to save, convenient for the next login after the audition;
6. Administrator to maintain and manage tracks: The administrator can add, delete, modify the existing songs, albums, singers through the login background;
7. Authorized users: Administrators can authorize ordinary users to become administrators, together to maintain and manage the tracks of the site.
The site front desk has song display, user login and registration, website song search, audition and download leaderboard songs, my collection and other functions. The backstage of the website includes the Administrator music to add, the music changes, the album changes, the singer information modification, the authorized user, exits and so on function.
2. Website performance requirements
In order to ensure the long-term, stable and efficient operation of online music websites, the following 6 performance requirements should be met in online music websites:
1. The response time of the General page jump operation should be within 3-5 seconds.
2. In general, each time the data is added, the deletion should be updated within 2-3 seconds.
3. In triggering the user to receive the data to have a quick response, and accept the accuracy of the information.
4. The operation of the website to be flexible, the site's Operation page to be friendly;
5. When a variable changes in the environment of the website, the website should adapt quickly;
6. For changes in planning or needs to have a rapid response ability, the site must have a certain degree of extensibility.
3. Website function structure
The site front desk has song display, user login and registration, website song search, audition and download leaderboard songs, my collection and other functions. Its functional structure is shown in Figure 3.1:
Figure 3.1 Line Music foreground function structure diagram
The background of the website includes admin background login, music Add, music modification, album modification, singer information, authorized user, exit and other functions. Its functional structure is shown in Figure 3.2:
Figure 3.2 Line Music background function structure diagram
4. Main function flow of the website
A. Administrator maintains the site track process
Administrator Maintenance Site Song Process Description: The administrator in the home page login area to enter the correct account and password to log in to the online music website backstage, if you enter the wrong account or password will be re-login. After entering the background page, the administrator can modify and delete the song, album, singer Information, and then the website will save the change information to the corresponding database table. The administrator maintains site track 4.1 as shown in process.
Figure 4.1 Administrator maintenance site track flowchart
B. List of songs audition and download process
The user logs on to the online music website, can listen to their favorite songs through the search, and can download to local, the list of songs audition and download process 4.2 shows.
Figure 4.2 Song Audition Download flowchart
Ajax online music website (1) Requirements and functional structure