APP下载

网上订餐系统的设计与实现

2017-11-20黄素萍刘敏娜聂维

电脑知识与技术 2017年26期

黄素萍+刘敏娜+聂维

摘要:该文介绍了一个基于B/S模式,采用JSP、JDBC和MySQL技术组合开发的网上订餐系统。系统操作用户分为注册用户和管理员两类。系统为已注册的用户提供的功能有:管理个人信息,管理购物车,管理订单,支付和留言等功能。系统为管理员提供的功能有:菜品分类信息管理,菜品信息管理,用户信息管理,订单管理,销售信息统计和留言回复等功能。本系统界面美观友好,易于操作,能满足消费者网上订餐和店家信息管理的需求。

关键词:网上订餐系统;菜品信息管理;JSP

中图分类号:TP393 文献标识码:A 文章编号:1009-3044(2017)26-0099-02

Abstract:This paper introduces the online ordering meal system Based on B/S that was implemented by the technology combination of JSP,JDBC and MySQL. Its users are divided into registered users and administrators. Functions for registered users are provided like personal information management, order management, shopping cart management, as well as payment and message functions, and so on. Functions for administrators include food category management, food information management, user information management, order management, sales statistics and message reply function. This system has user friendly interface and is easy to operate. At the same time, it can meet the demand of consumers and merchants.

Key words: online ordering meal system; food information management; JSP

隨着网络的发达,越来越多的消费者更倾向于上网选购商品,这使得广大消费者能随时随地买到自己喜欢的商品,减少了消费者的等待时间[1]。相比电话订餐,互联网订餐方便快捷,销售面更广。因此,越来越多的餐饮商家都把目光转向了互联网,网上订餐系统也由此而生。消费者可以随时随地查询各家餐店提供的菜品,并进行订购,还能享受团购的优惠,在线订餐已经受到更多消费者的喜爱[2]。对于商家,同时在实体店和网上营业,能有更多的消费者,提高了商家的知名度和盈利。总的来说,网上订餐系统方便了商家和消费者的沟通交流,商家从中获取利润,消费者从中得到便利。所以,网上订餐系统的开发和应用是十分必要的。

1 MVC模式

MVC是采用模型(Model),视图(View)和控制(Controller)三部分结构的软件开发模式,可以对应使用JavaBean,JSP和Servlet来实现。Servlet技术采用Java技术来实现CGI功能,它非常适于服务器端的代码处理以及编程,并且它将会长期保留于内存[3]。……

登录APP查看全文