PHP-based movie on-demand platform/movie website

Summary

Network technology has brought great convenience to life. So combine the movie-on-demand platform with the current network. In the entire process of the development of the on-demand platform, movie information management plays the most important role. In order to meet today's increasingly complex management needs, various movie information management programs are also constantly improving. The movie-on-demand platform designed in this topic is developed using B/S architecture and php language. Its advantages are that the code cannot be viewed from the browser, and the confidentiality is very good, which is more secure than other movie-on-demand platforms. PHP is also easy to modify and debug. After all, film and television are in the process of continuous development, and there will inevitably be more needs, which is very important. Moreover, the management of movie information in this system is to meet the deeper needs of users. In addition to the above-mentioned advantages, this system also has: quick query, convenient search for information, strong reliability and so on.

Keywords: movie on-demand platform; B/S architecture; php language; movie information

Absract

Network technology has brought great convenience to life. Therefore, the film on demand platform is combined with the current network. In the whole process of the development of VOD platform, film information management plays the most important role. In order to meet the increasingly complex management needs, all kinds of film information management procedures are also constantly improved. The film on demand platform designed in this topic uses B / S architecture and PHP language for development. Its advantage code can not be viewed from the browser. It has very good confidentiality and is more secure than other film on demand platforms. PHP is also easy to modify and debug. After all, film and television is in the process of continuous development, so it is inevitable that there will be more needs, which is very important. Moreover, the management of film information in this system is to meet the deeper needs of users. In addition to the above advantages, the system also has: rapid query, convenient search for data, strong reliability and so on.

Key words: film on demand platform; B / S architecture; PHP language; Movie information

Table of contents

Summary 1

Absract 2

directory 2

1. Introduction PAGEREF _Toc89952013 \h 5

1.1 Development background 5

1.2 Significance of development 5

1.3 Research status 5

1.4 Project research content 6

1.5 Thesis Structure 6

2. Development technology introduction PAGEREF _Toc89952019 \h 7

2.1 Introduction to PHP language 7

2.2 Mysql database introduction 7

2.3 MySQL environment configuration 7

2.4 B/S Architecture 8

2.5 Tomcat Server 10

3 system analysis PAGEREF _Toc89952026 \h 11

3.1 Feasibility Analysis 11

3.1.1 Technical Feasibility 11

3.1.2 Economic feasibility 11

3.1.3 Operational Feasibility 11

3.1.4 Operational feasibility12

3.2 Website Performance Requirements Analysis PAGEREF _Toc89952032 \h 12

3.3 Website function analysis PAGEREF _Toc89952033 \h 12

3.4 Analysis of system flow PAGEREF _Toc89952034 \h 13

3.4.1 User management process 14

3.4.2 Personal center management process 15

3.4.3 Login process 15

4 system design PAGEREF _Toc89952038 \h 16

4.1 Software function module design 16

4.2 Database Design and Implementation 16

4.2.1 Conceptual model design 16

4.2.2 Database logical structure design 17

5 System detailed design PAGEREF _Toc89952043 \h 26

5.1 Administrator function module 26

5.2 User function module 29

5.3 Front page function module 29

6 System test PAGEREF _Toc89952046 \h 33

6.1 Test purpose 33

6.2 Test steps 33

6.3 Test conclusion 33

7 System maintenance PAGEREF _Toc89952050 \h 34

8 Conclusion PAGEREF _Toc89952051 \h 35

9 experience PAGEREF _Toc89952052 \h 36

10 References PAGEREF _Toc89952052 \h 36

11 Acknowledgments PAGEREF _Toc89952053 \h 37

1 Introduction

1.1 Development background

In recent years, the network industry, especially the Internet, has developed so fast that no one could have expected it. At present, due to the convenience, speed and many other advantages of the Internet, it has become an indispensable and important part of all walks of life in society, and even the work and life of ordinary people.

With the development of society, the way of offline management has inevitably shown its limitations in terms of time and space, and the broad masses of the people urgently need to break this limitation. Under this requirement, e-commerce based on the Internet has emerged. Its appearance not only solves the shortcomings of traditional management methods, but also gives users more room for choice, promotes the optimized management of movie on demand, and effectively avoids the chaotic situation of movie on demand. Therefore, the development and growth of e-commerce such as movie-on-demand platforms is inevitable.

As a typical e-commerce system, the movie-on-demand platform has also developed rapidly and penetrated into people's daily life. It enables users to view movies and other functions on the website without leaving home, which minimizes the travel time of users and improves ratings.

1.2 Significance of development

The progress of mankind drives the development of informatization, making people's life faster and faster, so people pay more and more attention to the timeliness of information. The previous management methods can no longer meet people's needs for the way of obtaining information and the convenience and speed. That is to say, the movie-on-demand platform is slowly attracting people's attention. First of all, obtaining information online is very real-time and convenient. As long as the system is online, you can find the ideal information immediately no matter where you are.

Computer technology has become an important tool for people in management. It can effectively and quickly solve the information you want to obtain, and improve work efficiency.

1.3 Current status of subject research

In many developed countries abroad, the software industry has already been fully popularized. However, my country's economy has continued to develop, and foreign information construction has been continuously introduced, which has enabled the domestic software industry to continue to develop. It has made progress through exploration and finally achieved some results. my country's software industry Ushered in high-speed development, more software systems can be developed, gradually changing people's way of life and work. However, for the construction of informatization, compared with many developed countries, due to the backwardness of informatization and the lack of funds, my country's film information management and development are still relatively backward. Therefore, we must continue to work hard to explore and strive to develop a A practical information-based movie on-demand platform to realize the informatization of popular movie-on-demand platforms. Therefore, this subject movie is taken as an example, and the purpose is to develop a practical movie-on-demand platform.

The development of the movie on-demand platform uses B/S architecture, php language, and the support of MYSQL and other technologies to jointly complete the development of the system, so that users can experience a better movie-on-demand platform, and the management and operation of administrators will be more convenient to achieve the goal .

1.4 Project research content

The task of movie information management is cumbersome, so that companies invest more energy in movies every year but with little effect. The goal of the movie on-demand platform is to relieve the pressure faced by managers in terms of work, so that the development Make work more efficient and accurate.

The principles and technologies involved in the development and design process of this project include: php language, B/S architecture and MySQL database, etc.;

1.5 Paper structure

  1. Introduction; analyze the background of the project and explain the content of the research.

  1. Development Technology. The system mainly uses php language, B/S structure and myspl database, and introduces it.

  1. System analysis; including the overall structure of the system, the analysis of the performance, function and flow chart of the system.

  1. System design; detailed design of software function modules and database.

  1. Overall system design; describe the functions of system administrators and users,

  1. to test the system,

  1. Summary: At the end of the paper, the chapter summarizes my own summary and impressions when developing this system and writing the paper, including acknowledgments.

2. Introduction to development technology

2.1 Introduction to PHP language

PHP, formerly known as Hypertext Preprocessor. It is an embedded language, which executes the scripting language embedded in HTML on the server . It is a bit like the C language style and is widely used. Hypertext Preprocessor mixes Perl, C, PHP and its own innovative syntax. Synthesized to perform dynamic web pages faster than the former. Compared with other languages , embedded in HTML for execution is more efficient than CGI that completely generates HTML; PHP can also execute compiled code , encrypt, optimize code operation, and make code run faster. The function of PHP is very powerful, and some functions of CGI can be realized by PHP, and it can support almost all popular databases and operating systems. C, C++ program PHP is also an extension that can be used!

PHP includes: professional focus, open source code, free use, strong cross-platform, fast, object-oriented, high efficiency, image processing, etc.;

2.2 Mysql database introduction

Using Mysql's data independence, security and other characteristics to operate data in software projects can ensure the accuracy of data and reduce the application development time of programmers.

The feature of Mysql is that it supports multi-threading, which can make full use of system resources conveniently, effectively improve the speed, and also provides a variety of ways to connect to the database; the function of Mysql is relatively weak and the scale is small, but the requirements of this system are not high. Mysql can fully satisfy the use of this system.

Using Mysql to establish a system database is not only conducive to the early integration of data processing services, but also conducive to the development of the latter two types of data expansion operations.

2.3 MySQL environment configuration

(1) The data of this system uses MySQL, so you need to install MySQL to the specified directory. If you download the non-installed MySQL compressed package, you can directly decompress it to the specified directory. Then click on the file C:\Program Files\MySQL\bin\winMySQLadmin.exe where C:\Program Files\MySQL is the MySQL installation directory. Enter the initial user and password of winMySQLadmin (note: this is not the user and password in MySQL). Don’t worry about filling in whatever you want. After confirming, a traffic light icon will appear in the task startup bar in the lower right corner. The red light means the service is stopped, and the green light means the service Normal, left click on this icon ->winnt->install the service to install this service, then left click on this icon ->winnt->start the service to start the MySQL service.

(2) Modify the root password of the MySQL database. Use cmd to enter the command line mode and enter the following command:

cd C:\Program Files\MySQL\bin

MySQLadmin -u root -p password 123

Press Enter and Enter password: appears, which is to enter the original password. The password was empty when it was first installed, so press Enter directly. At this time, the password of the account root in MySQL is changed to 123 and the installation is complete.

2.4 B/S Architecture

The B/S structure is currently the most used structural mode, which can make the development of the system easier, easier to operate, and can also be maintained. When using this structure, you only need to install the database in the computer and some very common browsers. The browser will connect information with the database, which can realize many functions. The B/S structure can be used directly, and the B/S structure greatly reduces the maintenance of work during use. Based on B/S software, all databases are independent of each other, so it is very safe. Because based on the B/S structure, you can clearly see the business being processed by the system, and you can let the managers make decisions in a timely manner, so that you can avoid the loss of the enterprise. The basic feature of the B/S structure is the centralized management mode. After the user uses the system to generate data, the data can be stored in the system database for future use, so that all people's needs can be met.

Figure 2-1 B/S mode three-layer structure diagram

2.5 Tomcat server

Tomcat is a small and lightweight application server. It is widely used in small and medium-sized systems and occasions where there are not many concurrent access users. It is the first choice for developing and debugging PHP programs. It can be considered that when the Apahce server is configured on a machine, it can be used to respond to access requests for HTML pages. Actually the Tomcat part is an extension of the Apache server, but it runs independently, so when running tomcat, it actually runs as a separate process from Apache.

3 System Analysis

3.1 Feasibility analysis

Before developing the system, it is necessary to conduct a system feasibility analysis. The purpose is to use the simplest method to solve the biggest problem. Once the program is developed to meet the needs of users, it will bring many benefits. Next, we will choose whether to develop this system from the aspects of technology, operation, and economy.

3.1.1 Technical Feasibility

The development of this system chooses php language and B/S architecture, which greatly reduces the difficulty of using windows programming and reduces the difficulty of developers in designing algorithms. Visual Studio is an indispensable role for php development. Its friendly interface, As well as powerful functions, it brings a lot of convenience to the program developers. In addition, the environment is simple and the transfer is convenient, which undoubtedly makes this system the best choice. Therefore, the background design chooses to use the MySQL database mainly for the establishment and maintenance of information. For front-end development, it should have the advantages of complete functions and easy operation, while the background database requires the ability to establish and maintain the unity and integrity of data information.

According to the above objectives, the hardware of this system is analyzed as follows:

Pentium 3 processor;

The memory is 2G;

The hard disk is 50G;

The operating system is Windows 10;

In terms of software, Visul Studio 0 and MySQL database development tools are installed. According to the above software and hardware requirements, it is feasible to obtain the technology of this system.

3.1.2 Economic feasibility

Movie-on-demand platform, the system software development only needs an ordinary computer to complete the development, and its cost is very low. In addition, as a graduation design work, the development cost is basically negligible, and the system software can realize a faster and more efficient movie-on-demand platform, and at the same time can effectively save human resources and management resources. Movie-on-demand platforms are completely economically viable.

3.1.3 Operation Feasibility

This system can be accessed and operated by installing software based on the mobile terminal with a computer, and the interface is simple and easy to operate. Users can download php as long as they have used the computer at ordinary times. The operability of the movie on demand platform is mainly due to the network The development of technology is too fast, and the platform can support a lot of content, but how to make the platform last longer or how to make the platform more cost-effective, the interoperability of the platform in the development and use of CMS means the management of background data information at the same time, The efficient and simple era of computer network control has greatly improved the efficiency and accuracy of work. For data management, work efficiency can be better improved, so the operation of the system is feasible.

3.1.4 Operational feasibility

This system uses php as the development language system, and the choice of B/S structure determines that the operation of this system requires only a small amount of resources and does not require too much hardware configuration. Currently, as long as the browser can run normally on the market PCs can run normally using the system.

After summing up, the system's economical, technical, operational and running conditions are all satisfied, and the development of this system has the feasibility conditions.

3.2 Website Performance Requirements Analysis

Analyze the performance of the website, including system responsiveness, interface simplicity and clarity, storage capacity, ease of learning and stability;

System responsiveness: When tens of thousands of people are online at the same time, the response time should be within two to three seconds.

Simple and clear interface: The system interface requirements are simple and clear, the operation is simple, and the user operation is easy to use.

High storage performance: There is a lot of information that needs to be stored in the movie on demand platform, so the storage capacity of the system is very high, so the database should be very powerful to ensure that the information can be stored safely and stably;

Ease of learning: The system must be easy to use in operation, there are not many complicated operations, and the system can be operated with simple learning.

Stability: The movie-on-demand platform is required to run stably, with clear interfaces and clear fonts.

3.3 Website function analysis

Considering the needs of the movie-on-demand platform in real life and the careful analysis of the platform, the system permissions are divided into two types of users involved, administrators and users.

(a) Administrators; the functions involved in the use of this system by administrators mainly include: home page, personal center, user management, movie information management, movie classification management, system management and other functions. The administrator use case diagram is shown in Figure 3-1.

Guess you like

Origin blog.csdn.net/weixin_47958760/article/details/128814656