Online Shopping Mall -java basic training program - modeled on the Razer Mall

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/qq_28817739/article/details/88082236 Geng sub-blog: -QQ1164014750- micro-channel public number

webshop java basic training program - modeled on the Razer Mall

       javaweb base part, does not involve framework, basically, browse merchandise, view product, shopping cart, view orders, pagination.
It can be used as complete set, exercise demo, etc.
This is a demo before school during the exercise, see friends need to have uploaded come up. More resources concern: Geng sub-blog

Source: https://github.com/gengzi/webshop

 

  1. Project Description

User Login: customers through registration, Ruoyi registered, log in directly to mouse and keyboard mall sale, to purchase your favorite mouse or keyboard or computer accessories, click to buy, to view the details of the shopping cart to purchase goods, fill in the shipping address and other personal details, after the order is submitted successfully, you can view the individual centers to pay the successful delivery, non-payment does not support delivery.

Administrator login: After login, you can view transaction management in order to view and process orders, commodity management, to see all the merchandise, view inventory, add or remove items.

  1. Development of technology adoption

JSP: JSP java Server Page is an abbreviation, is advocated by Sun Microsystems, many companies take part, in 1999, launched a dynamic web technology standards. JSP is based on Java Servlet Web development technology and the whole Java system, the use of this technology can establish a secure, cross-platform advanced dynamic websites.

JavaBean: JavaBean architecture is based on one of the first comprehensive standard model components. JavaBean biggest advantage is the ability to write once, use many times, and can run anywhere Java virtual machine can run. In addition, its code is also relatively easy to write.

  Servlet: JSP technology base --Servlet Java Servlet JSP technology is the basis, the JSP itself is pre-compiled into Servlet, then run, and the development needs of large-scale Web applications Java Servlet and JSP support to complete.

JDBC: Java language as a safe, robust, easy to use and can be downloaded from the web programming language, the language provides a good foundation for the development of database applications .JDBC extends the Java functionality, which is the Java language and database interconnection interface, that execute SQL statements of Java API. it consists of a series of Java language classes and interfaces.

Overall system analysis and design 3

3.1   System Requirements Analysis

For a typical database management systems, especially data such as online mall traffic is particularly heavy in the NMS, must meet easy to use, flexible operation and other design requirements. Target online store system is as follows:

  1. To meet the majority of computer enthusiasts, gamers need for a computer and its accessories.
  2. This site interface is simple, stylish, cool, in line with young people's interest.
  3.  Homepage has recommended products, as well as the classification of various products.
  4. Orders submitted by the user, a stage of treatment according to the situation.
  5. Can judge orders payment status, pay shipping, not pay not shipped.
  6. Administrator information, website information and links information bulletin for maintenance management.
  7. Administrators can query customer orders and orders management proceeds. You can add product information to the database, while being able to edit and delete product management.

3.2   System Functional Description

       The content needs analysis system, the main functions of the system and the part of the following functions:

  1. Product information query: When you enter the mall, you can view the latest product information through the home page of merchandise booth, you can can view the product information corresponding to different columns by clicking on the mouse, keyboard, laptop, recommended products and the like.
  2. Order Management: After the user selects the personal center, you can view the corresponding order record, while users can also enter at any time order management page, the query associated with their order information. Users can also delete manage their orders.
  3. Shopping cart management: When a user selects to buy a product, should be able to record product information corresponding to the shopping cart, and allowed to return to other product information query page, continue to select merchandise. Add a new product in the shopping cart, remove the purchase of goods and empty shopping carts operations.
  4. User Information Management: In order to enable the purchase of goods, users need to register and log in correctly, can also modify the data .
  5. In the top of the page the user can click to exit the system, withdraw from the official website.
  6. Category Management: to view items through the classification of goods, the administrator can modify, add, delete, query-class goods.
  7. Commodity basic information management: Administrators can add this module, delete, query goods.
  8. Order Processing: Administrator query order information in the module by the query payment information, subsequent shipment processing based on order information.

3.3  function modules

According to the analysis of the characteristics of the electronic front mall, it can be divided into the foreground . 4 modules, divided as follows:

  1. Product inquiries: for product information query through the official website home page message alert.
  2. Shopping cart: add items to the cart, view cart can be edited, modified to cart delete operation .
  3. Individual centers: can operate on my orders, order details, shipping address, personal information.
  4. Skip to withdraw from this page.

 

According to the analysis of the characteristics of electronic mall background, the background can be divided into four modules, divided as follows:

  1. View Order: Query of customer orders, and order details can be queried.
  2. Order processing: You can determine whether shipments based on whether pay.
  3. Product Details: can query the detailed product information through a database.
  4. Add items: classification of commodities can upload.
  5. Exit background

3.5 Database Design

The system uses MySQL as the backend development tools, and the establishment of a Graduate Project Selection System database using its powerful database management features, including tables : a user table, table of merchandise information, order form, order details table.

1 , the user table

2 , the product information table

 

3 , Orders table

 

4 , Order Details table

4 online store system

 Front page

There are 11 front page JSP page composition, are listed below:

1. official website welcome page (index.jsp):

2. Registration page (register.jsp):

3. The login screen (login.jsp):

4. The official website home page:

 

5. Right page:

6 .. Keyboard page:

 

7. laptop:

 

  1. Personal center --- à my order:

9. My Cart:

 

10. Confirm order information (submit orders):

 

11. Order Details

    1. Background page

Background There are seven main administrator page JSP pages, as follows:

1. Administrator main page:

2. View Order:

3. Order details:

 

4. Order processing:

5. Review the product information:

6. Edit product information:

 

7. Add the product information:

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 More resources, attention:

å¨è¿éæå ¥ å¾çæè¿ °

Guess you like

Origin blog.csdn.net/qq_28817739/article/details/88082236