Design and implementation of B/S-based film and television creation forum (attachment: source code paper sql file project deployment tutorial)

Summary                  

With the development of the times and the emergence of the Internet, the greatest convenience brought to the traditional film and television industry is that it facilitates the communication and interaction between film and television practitioners and fans, and provides users with a platform for writing, reading and replying to film reviews. Using movie reviews as a carrier to enable users to experience and interpret movie reviews is a product of the emergence of the Internet under the traditional film and television industry.

This article describes the design and implementation of the film and television creation forum based on javaee. The so-called film and television creation forum refers to the communication between people who like film and television works through the website. As a good film and television forum, it should be developed around the film and television works, including related Film and television information, behind-the-scenes creative experience, audience viewing experience, and a place to exchange experiences. In addition to allowing users to share their feelings about movies, our platform can provide real-time and latest movie review information and movie posters, and users can also vote for their favorite movies. Background management can operate information on the front desk, such as posters, announcements, movie reviews, etc. The development system mainly adopts the B/S mode, and the database uses SQL server 2012.

This document describes in detail the process of eight development systems, from the beginning of analyzing the requirements, to implementing the code, to the final test running and report writing. The design report is divided into eight parts, which are introduction, requirements analysis, general design, detailed design, code design, summary, references, and acknowledgments.

Keywords : Film and Television Creation Forum; B/S; SQL Server

 Research status at home and abroad

In the relatively mature film review information industry, there are film review information websites headed by Rotten Tomatoes and IMDB in foreign countries, and there are also websites in China that focus on film review information such as Mtime.com and Douban Movies. Select popular movie albums of domestic and foreign movies, and discuss hot topics in movies online with movie lovers. Among them, the most valuable part of the major websites for users is the star rating of the movie obtained by collecting and sorting out the content of user feedback, and this also reflects the quality of this movie.

Undoubtedly, whether domestic or foreign, these large-scale movie review websites are all based on movie fans, that is, the services provided are also based on the needs of movie fans, and an entry point such as movie reviews can be regarded as movie fans. Just need, through high-quality film review content, and comprehensive film and television information content, these movie fans are brought together, thus forming such an Internet platform for movie fans. In such a platform, we can not only develop here Vision, seeing a different world, and at the same time being exposed to all kinds of worlds, has more expectations for the world.

As a fan of film and television works, it can be said that we are a group of people who are deeply attracted by film and television works. Now we have gathered on the film review website. The educational significance of film and television works has been merged into the ocean of the Internet bit by bit, bringing us joyful mood and spiritual touch at the same time.

With the Internet, people can judge whether a movie is good or bad, express their impressions after watching the movie, and boldly express their views on the movie after watching the movie. People who watch movies gather on the film review network, and release the happiness, anger, and hope brought to them by film and television works into the film review database of the film review network. Getting a greater stretch also inspires film critics to keep forging ahead and boosts the Chinese film industry.

Comment on the career to prosperity.

main research content

1. Categorized retrieval of movie reviews allows users to use it conveniently and quickly, and can find the content they want to search for in the shortest time

Allow;

2. According to the layout and display of film review resource information according to the habits of most people, users can understand the film review information of the website more intuitively and comfortably;

3. Realize the registration, verification and login of identities, as well as the operations of adding, deleting and modifying members' registered information;

4. Verify and manage comments on various film and television works, and maintain a good atmosphere on the Internet, which is convenient for users to communicate with film reviews;

operating environment

In order to ensure the normal operation, high efficiency and speed of the website, the server side of the website should have a higher configuration, but the requirements for the client side do not need to be very high. This program can be widely used in the Internet, and can also be used in the internal LAN. Its operation requirements are as follows:

Software Environment:

    1. development tools:
      • JSP/Java development tool MyEclipse;
      • Web Server:Tomcat 6.0 / JDK7.0 ;
      • Testing tools: Functional testing is done manually.
    2. Database: SQL Server 2012;

The functions to be achieved by the website

Use case diagrams are mainly used to describe the relationship between "users, requirements, and system functional units". It presents a model diagram of system functionality that can be observed by external users. Purpose: To help the development team understand the functional requirements of the system in a visual way.

The elements contained in the use case diagram are as follows:

(1)  Actor : Actor is not a specific person, but a role outside the system that is played in using or interacting with the system. So actors can be people, things, time or other systems, etc. Another point to note is that the participant does not refer to the person or thing itself, but the role played by the person or thing at that time. For example, Xiao Ming is the administrator of the library. He participates in the interaction of the library management system. At this time, he can not only participate in the management as an administrator, but also borrow books from the library as a borrower. Here Xiao Ming plays two roles: Actors, are two different actors. Participants are represented by stick figures in the drawing, with the names of the participants attached below the figures.

(2)  Use Case : A use case is a description of a sequence of actions, including variables, that the system performs to produce observable results that deliver value to specific participants. This is UML's formal definition of use cases, which may be a bit difficult for us beginners to understand. We can understand it this way, use cases are things that actors want the system to do. For the naming of the use case, we can give the use case a simple and descriptive name, usually an action word. A use case is represented by an ellipse in the drawing, and the name of the use case is attached below the ellipse.

(3) Subsystem (Subsystem) : It is used to display some functions of the system, which are closely related.

(4)  Relationship : The relationships involved in the use case diagram are: association, generalization, inclusion, and extension. The relationship classification in Figure 3-1 below is shown in the use case diagram:

 System Use Case Diagram

 Film Review Management Use Case Diagram

 

Add poster use case

 

System Overall Design Drawing

 

Detailed design of the website

This chapter mainly introduces the realization of specific requirements and the difficulties and solutions encountered in the process of website design. For this project, the biggest technical difficulty lies in 1. the connection between the front end and the background, 2. the connection between the database and the web page, 3. Front-end design.

Description of the functional modules of the website

website homepage

The home page is divided into several modules, such as carousel map (generally displaying the main film review introduction information of this website, and providing the first picture recommendation position of popular movies), announcement, ranking, and login. When viewing other people's posts, if you want to comment, you must first determine whether you are a registered user or a member. If you are a member, you can comment directly. Otherwise, you will jump to the registration interface. The homepage of Film Critic.com is simple and elegant, and the majority of film and television lovers can see the latest updated film and television information posters at a glance. We will recommend recognized good-looking film and television works for everyone to choose, as shown in the figure, and the code implementation is as shown in the figure

 

film review

This page mainly displays the comments made by website members on film and television works in the form of a list. The content of each comment can be divided into title, text, movie poster, and a button to read the full text. The administrator can manage the system in the background The data of the movie is operated (addition, deletion, modification), and after the user clicks in, the communication and interaction of the published movie reviews are all generated by the user himself. Details are shown in the figure

 

word of mouth recommendation

This page displays the most popular videos on the site in the form of a list. According to the reading volume, sharing rate, likes, comments and votes of the videos, the members can vote for their favorite films and TV works, and rank the top ten. Movies on the sidebar of the website are recommended, which is convenient for users to browse the hottest recent movies, as shown in the figure

 

share like

Users can share and like their favorite videos and short comments, and can share the content to their own social media, such as WeChat, Weibo, QQ space and other social platforms, and can also copy webpage links, allowing users to share and spread by themselves

Site Search

The site search engine is very convenient. Classified query can be realized, that is, the same keyword can provide movie keyword query, director keyword query, and movie review keyword query in the station, allowing users to find the valuable content they need in the first time. The details are shown in the figure

 

Member registration, login

This website can register as a member, and the basic information of the member will be stored in the database. At the same time, the member can participate in scoring, posting film reviews, and downloading film and television related poster materials, etc., as shown in the figure

 

After the administrator logs in, it will enter the background. The administrator login interface is shown in the figure as the administrator test interface, which can well complete the functions to be achieved.

 Background management is to manage the information displayed to users by the front desk, as shown in the homepage test interface of background management, which contains specific types of background management.

 

The first management function in the background management is the addition setting of movies, which can delete and add movies. After testing, this project can realize this function well, as shown in the movie adding test interface, where you can see the specific addition required steps.

 The second management function of the background management is the management of movie reviews of film and television works. It can add and delete movie reviews, and can also manage user replies to movie reviews. Malicious replies can be deleted, as shown in the posting movie review test interface.

 

Figure 5-17 Publish movie review test interface

The third management function of background management is to add and manage the posters of film and television works. You can insert movie posters into the database and store the storage path of posters. As shown in the test interface of adding posters, it can be seen that this function can be well completed .

 

E-R Diagram of Database Logic Design

There are three elements contained in the ER model: entities, attributes, and connections. The ER model is represented by an ER diagram. The entity represents the things involved in the user's working environment, and the attribute represents the specific description of the entity's characteristics.

  1. The entity in the model is equivalent to an entity set, a table, which exists in the objective world and can be distinguished from each other, rather than a single entity or a row in a table. In the ER model, the entity is represented by a rectangular box, and the entity name is marked in the rectangular box.
  2. Attributes are the properties of entities or relationships, represented by elliptical boxes, and connected with entities by a line. The primary key of the table is the key attribute, and the key attribute item will be underlined.
  3. The fields with the same primary key in each sub-module of the project are related to each other. Use a rhombus to represent the connection between entities, write the name of the connection in the rhombus frame, use undirected edges to connect the rhombus with related entities, and mark the type of connection beside the undirected edges.

The figure is the ER diagram of the system

 

Share and encourage each other~~~

If you have any resources, you can share with each other, and if you have any questions, you can also discuss with each other~~~

Tsk~~~ You and me alone, then we can't learn from each other~~~ (dog head)

Open source projects and data sharing: free access to source code courseware and other materials supporting the system. Free prostitution method : like + follow +  private message me~

If there is a novice who wants to get started with Java and Python, but he doesn't know what to learn and how to learn? You can private message me and share the webpan information of Java and Python selflessly~~~
 

 

Guess you like

Origin blog.csdn.net/lxianshengde/article/details/125444196