Video website design

develop software:

eclipse,navicat

Project Preview:

Effect Preview:

Background data preview:

Project Analysis

Development model

  • B / S structure (browser- server)
  • Model (model) - view (view) - the controller (Controller)

External packaging:

  • the java.sql (libraries corresponding to the inside of the connector)
  • the java.io (corresponding to the inside of libraries IO)

Video Web site project main functions:

  1. Picture Code
  2. Paging
  3. User password encryption
  4. Like sorting point and time

Directory Structure

Dao database operations

  1. Business needs statement to query the database

Data model mapping code table structure

  1. Form structure of the database mapped statement

service business logic layer

  1. Business layer, processing logic mainly initiated by client requests

servlet server

  1. servlet: put the interface when accessing the server's page
  2. Upload local video files (correspondence libraries inside fileupload)

test test

utils Kit

  1. connectionPool connection pool, (corresponding to the inside of libraries DbUtils)
  2. md5 encryption algorithm
  3. videoFrame: external components, set covers, video name

jsp page under webContent

  1. Request data using ajax
  2. Servlet corresponding to the code server port

Source:

Released two original articles · won praise 0 · Views 61

Guess you like

Origin blog.csdn.net/qq_36767155/article/details/104460963