动态网站期末设计作品
网上书店在线订购 系统的设计与实现
幽幽
信息科学与工程学院 计算机科学与技术 11433024813038
二〇一五年 五 月 十五 日
题作学专班
目 者 院 业 级
摘 要
在如今这个社会中,网络已经是人们不可或缺的一部分,那么网络交易自然也是同上者一样,正在日益崛起的电子商务行业,为我们购买物品时节省了不少的时间,为我们的生活提供了不少的便利,我们从中已深深体会到电子商务的优越性。本论文所提到的网上书店在线订购系统是基于B2C(商对客)的电子商务网站。此网站平台可供顾客浏览,也可以供顾客进行简单管理个人资料和订单信息。
在本论文中,最先介绍的是引言,引言包括了对课题的研究背景、国内外动态介绍。同时对该课题立题的意义也进行了分析。然后,描述了网上书店系统的具体的系统分析,其中包括了坏境分析、可行性研究、系统需求分析、系统完成目标以及系统建模。接下来是系统总体设计,其中包括了系统功能模块设计、系统总体划分设计、E-R图设计、表设计。也实现了各个模块的详细设计,简单阐述了模块的设计功能和实施方法,本论文中主要在详细设计阶段叙述系统为用户提供了会员注册/登录,会员修改资料,图书浏览,购物车管理,商品支付等功能,为系统管理员提供了管理用户,管理订单,管理商品类别、管理商品、管理公告、管理整个系统等功能。接下来对系统测试进行测试,测试之前先介绍测试的一些基本方法,在列出测试效果图。在最后,对本论文进行最后总结,参考文献列表以及致谢。
网上书店在线订购系统是基于图书销售管理的实际需求,实际需求的分析后,定义系统采用SQL Server 2008数据库,ASP.NET(C#)为系统开发语言,使用目前流行的开发平台Visual Studio 2010。系统完成后进行测试,最后,整个系统设计界面友好、功能测试正常。
关键词:电子商务;网上书店;在线订购;ASP.NET(C#)
、
I
ABSTRACT
In today's society, is already an integral part of the network, then the nature of online transactions was also the same as are rising e-commerce industry, we save a lot of time when you purchase items, offers a lot of convenience to our lives, we have deeply felt the advantages of e-commerce. Online Bookstore online ordering systems referred to in this article is based on a B2C (business customer) e-commerce site. Platform for customers to browse this Web site, or for simple management of personal data by the customer and order information.
In this paper, the first introduction to website design, theoretical and research background, the meaning of that legislation on this subject is also analyzed. Then, description has online bookstore system of needs analysis, and general design, and database design and all module of detailed design, simple described has module of design function and implementation method, this papers in the main in detailed design stage described system for user provides has member registered/login, Member modify information, Books Browse, shopping car management, merchandise paid, function, for system administrator provides has management user, management orders, management merchandise category, and management merchandise, and management bulletin, and management whole system, function. Next, to test the system tests, test before you introduce some basic methods for testing, test results are listed. In the end, the final summary of the paper, references list, and thanks.
Online Bookstore online ordering system is based on actual book sales management needs, after analysis of the actual needs of the defined system uses SQL Server 2008 database, ASP.NET (c #) language for system development, and Visual Studio 2010 using the currently popular development platform. System test completed, finally, designed user-friendly, functional test of the whole system is normal.
Keywords: E-commerce; bookstore; Online Order;ASP.NET (c #)
II
目 录
诚信声明……………………………………………………………………………………Ⅰ 摘 要 .................................................................................................................... I ABSTRACT ......................................................................................................... II 第一章
引言 ...................................................................................................... 1
1.1研究背景 ........................................................................................................................................... 1 1.2国内外研究状态 ............................................................................................................................... 1 1.3立题的意义 ....................................................................................................................................... 2
第二章 系统分析 ................................................................................................. 3
2.1系统运行环境及开发工具 ............................................................................................................... 3 2.2系统可行性研究 ............................................................................................................................... 3
2.2.1 技术上的可行性研究 ........................................................................................................... 3 2.2.2 经济上的可行性研究 ........................................................................................................... 3 2.2.3 操作上的可行性分析 ........................................................................................................... 4 2.3系统需求分析 ................................................................................................................................... 4 2.4系统完成目标 ................................................................................................................................... 4 2.5系统建模 ........................................................................................................................................... 5
2.5.1用例模型图分析 .................................................................................................................... 5 2.5.2业务流程图分析 .................................................................................................................... 6
第三章 系统总体设计 ......................................................................................... 7
3.1系统功能模块设计 ........................................................................................................................... 7 3.2系统总体划分设计 ........................................................................................................................... 8 3.3系统关系模型设计 ........................................................................................................................... 9 3.4 系统数据库设计 ............................................................................................................................ 12
3.4.1数据库各表简述 .................................................................................................................. 12 3.4.2数据库各表设计 .................................................................................................................. 12
第四章 网站详细设计与实现 ........................................................................... 15
4.1数据库连接 ..................................................................................................................................... 15 4.2网站前台功能模块详细设计与实现 ............................................................................................. 15
4.2.1用户自定义控件(usercontrol)说明 ................................................................................ 15 4.2.2首页模块设计与实现 .......................................................................................................... 16 4.2.2用户模块设计与实现 .......................................................................................................... 16 4.2.3图书展示模块设计与实现 .................................................................................................. 18 4.2.4购物推车模块设计与实现 .................................................................................................. 19 4.2.5订单信息模块设计与实现 .................................................................................................. 22 4.2.6图书信息浏览模块设计与实现 .......................................................................................... 24
III
4.2.7图书搜索模块设计与实现 .................................................................................................. 24 4.2.8商城公告模块设计与实现 .................................................................................................. 25 4.3 网站后台管理模块详细设计与实现 ............................................................................................ 26
4.3.1登录模块设计与实现 .......................................................................................................... 26 4.3.2用户管理模块设计与实现 .................................................................................................. 26 4.3.3订单管理模块设计与实现 .................................................................................................. 27 4.3.4商品类别模块设计与实现 .................................................................................................. 28 4.3.5商品管理模块设计与实现 .................................................................................................. 28 4.3.6公告管理模设计与实现 ...................................................................................................... 29 4.3.7管理员管理模块设计与实现 .............................................................................................. 30
第五章 系统测试 ............................................................................................... 31
5.1软件测试简介 ................................................................................................................................. 31 5.2软件测试的方法 ............................................................................................................................. 31 5.3软件测试的原则 ............................................................................................................................. 31 5.4 测试的主要步骤 ............................................................................................................................ 32 5.5 测试效果图 .................................................................................................................................... 32
总 结 ................................................................................................................. 33 参考文献 ............................................................................................................. 34
IV