APP下载

基于SSM的农产品销售系统的设计与实现

2021-03-13杨子鑫余小兰

现代信息科技 2021年15期

杨子鑫 余小兰

摘  要:随着我国信息化建设的推进,电子商务平台为农副产品市场提供了更加广阔的销售渠道,越来越多的人开始运用互联网来推广农副产品。文章介绍了基于SSM的农产品销售系统设计与实现,网站的设计采用模块化的设计思想,在Windows操作系统环境下,搭建SSM(Spring+SpringMVC+Mybatis)框架,用MySQL来储存数据,通过使用JAVA脚本语言完成动态的、交互的web服務器应用程序,以实现本系统的主要功能。本系统主要分为两部分:前台的用户系统和后台的管理系统。

关键词:JSP;农产品;网上销售系统;MySQL

中图分类号:TP311                 文献标识码:A文章编号:2096-4706(2021)15-0033-04

Abstract: With the advancement of China’s information construction, E-Commerce platform provides a broader sales channel for the agricultural and sideline products market. More and more people begin to use the internet to promote agricultural and sideline products. This paper describes the design and implementation of a SSM-based agricultural product sales system. The design of the website adopts modular design idea, in the windows operating system environment, builds SSM (Spring + SpringMVC + Mybatis) framework, uses MySQL to store data, and completes the dynamic and interactive web server application by using JAVA script language to realize the main functions of the system. The system is mainly divided into two parts: the front user system and the background management system.

Keywords: JSP; agricultural products; online sales system; MySQL

0  引  言

在当今时代,信息技术的突破使得空间距离已不再成为限制,真正实现了地球村的理想,以互联网为标榜的现代化信息网络快速扩张到人们生活的方方面面。本文设计并开发一套性能良好的基于互联网技术的农产品在线销售系统,通过不断发展的互联网技术来规划管理模式,可以拓宽农产品销售渠道,提高农村企业的管理效率[1]。本次基于ssm的农产品销售系统的开发,主要提供了用户注册和登录、浏览商品、加购物车、留言、提交订单的功能,管理员的登录、订单管理、用户管理、留言管理、商品管理的功能。通过对开发所用的框架介绍、技术分析、需求分析、数据库分析和功能分析来介绍与实现本系统。

1  系统框架介绍

SSM即Spring+SpringMVC+MyBatis,页面发送请求给控制器(进入SpringMVC范围),控制器调用业务层处理逻辑,逻辑层向持久层发送请求,持久层与数据库交互(MyBatis起作用),后将结果返回给业务层,业务层将处理逻辑发送给控制器,控制器再调用视图展现数据(SpringMVC起作用)。……

登录APP查看全文