【正文】
as developed dramaticly. Nowdays,there will be more consumers interested in online shopping,and the potential of the market will develop greatly. The online shopping system is based on B/S mode, which takes ASP as program language and ACCESS 2021 as System includes user management, modity purchase,styling management, modity adding, order management and modity paper describes requirement analysis of the online shopping system, system design and function gives out the blue print of system design and database design,and introduces the realization of the system with the important code in particular thesis also provides with many pictures which describe the running of the system. Key words : classify to manage。 本課題研究?jī)?nèi)容 本文將介紹基于 B/S 模式的網(wǎng)上商品銷(xiāo)售系統(tǒng)的設(shè)計(jì)和開(kāi)發(fā)工作,文章將涵 蓋以下三個(gè)方面的內(nèi)容: 1,介紹貫穿項(xiàng)目設(shè)計(jì),開(kāi)發(fā)始終的 ASP+ACCESS 技術(shù)。 ASP 本身封裝了一些基本組件和常用組件,有很多公司也開(kāi)發(fā)了很多實(shí)用組件。 ASP 具有如下優(yōu)點(diǎn): 第 2 頁(yè) 共 23 頁(yè) ( 1) 無(wú)需編譯 : ASP 腳本集成于 HTML 當(dāng)中 ,容易生成 ,無(wú)需編譯或鏈接即可直接解釋執(zhí)行。 ( 6) 源程序碼不會(huì)外漏 : ASP 腳本在服務(wù)器上執(zhí)行 ,傳到用戶(hù)瀏覽器的只是 ASP 執(zhí)行結(jié)果所生成的常規(guī) HTML 碼 ,這樣可保證辛辛苦苦編寫(xiě)出來(lái)的程序代碼不會(huì)被他人盜取。Access 也提供了數(shù)據(jù)存儲(chǔ)庫(kù),可以使用桌面數(shù)據(jù)庫(kù)文件把數(shù)據(jù)庫(kù)文件置于網(wǎng)絡(luò)文件服務(wù)器,與其他網(wǎng)絡(luò)用戶(hù)共享數(shù)據(jù)庫(kù)。對(duì)一個(gè)稍微大一點(diǎn)單位來(lái)說(shuō),系統(tǒng)管理人員如果需要在幾百甚至上千部電腦之間來(lái)回奔跑,效率和工作量是可想而知的,但 B/S 架構(gòu)的軟件只需要管理服務(wù)器就行了,所有的客戶(hù)端只是瀏覽器,根本不需要做任何的維護(hù)。后臺(tái)管理員可以對(duì)系統(tǒng)進(jìn)行有效的管理,包括對(duì)注冊(cè)會(huì)員管理,包括修改注冊(cè)會(huì)員資料,刪除注冊(cè)會(huì)員等,可以對(duì)商品進(jìn)行管理,包括添加新商品,管理商品的分類(lèi)。游客可以點(diǎn)擊注冊(cè),然后填寫(xiě)注冊(cè)信息,提交后將進(jìn)入“我的帳戶(hù)”頁(yè)面。軟件系統(tǒng)本身運(yùn)行對(duì)計(jì)算機(jī)硬件平臺(tái)和操作系統(tǒng)平臺(tái)要求適中。 ( 3)會(huì)員購(gòu)物流程:瀏覽、將商品放入購(gòu)物車(chē)、下訂單填寫(xiě)個(gè)人資料、送貨和支付方式,然后生成一個(gè)訂單號(hào)碼,用戶(hù)需自己記住訂單號(hào)碼,在付款后可以查詢(xún)是否處理。 系統(tǒng)功能模塊圖 整個(gè)系統(tǒng)可以分為前臺(tái)用戶(hù)和后臺(tái)管理員用戶(hù)。 開(kāi)始 登錄 成功 不成功重試 購(gòu)物車(chē) 是 繼續(xù)購(gòu)物 購(gòu)物車(chē)管理 下訂單 修改數(shù)量 收貨人的姓名 否 商品搜索 生成訂單 確認(rèn)收貨地址 選擇送貨方式 選擇支付方式 第 8 頁(yè) 共 23 頁(yè) 分類(lèi)管理:添加大類(lèi)和小類(lèi),進(jìn)行類(lèi)別轉(zhuǎn)移,也可以刪除已經(jīng)存在的大類(lèi)和小類(lèi),使商品地查詢(xún)更加方便有效。其數(shù)據(jù)庫(kù)如表 52 所示: 網(wǎng)上商品超市后臺(tái) 用戶(hù)管理 分類(lèi)管理 客戶(hù)管理 用戶(hù)管理 商品管理 大類(lèi)管理 小類(lèi)管理 類(lèi)別轉(zhuǎn)移 添加新商品 商品管理 訂單管理 第 9 頁(yè) 共 23 頁(yè) 表 52 User 表的設(shè)計(jì) 字 段 名 稱(chēng) 數(shù) 據(jù) 類(lèi) 型 說(shuō) 明 UserID 自 動(dòng) 編 號(hào) 編號(hào)(主鍵) UserName 文本 注冊(cè)用戶(hù)名 Password 文本 密碼 Uer 文本 收貨地址 Identify 數(shù)字 身份證號(hào) Mobile 文本 手機(jī) Uerqq 文本 號(hào)碼 Adddate 日期 /時(shí)間 注冊(cè)日期 Question 文本 密碼提示問(wèn)題 Answer 文本 密碼提示答案 Loginnum 數(shù)字 登錄次數(shù) Lastvst 日期 /時(shí)間 最后一次登錄時(shí)間 Recepit 文本 收貨人姓名 City 文本 城市 Address 文本 地址 Postcode 文本 郵編 Uertel 文本 電話(huà) Deliverymethord 數(shù)字 送貨方式 Paymethord 數(shù)字 匯款方式 Sex 數(shù)字 性別 Realname 文本 姓名 ( 3) Product 表的設(shè)計(jì):用來(lái)存放商品信息,包括商品名稱(chēng),商品生產(chǎn)廠商,生產(chǎn)日期,商品的配置說(shuō)明,商品的售價(jià),商品的介紹,商品的大類(lèi)和小類(lèi)號(hào)等信息 ,毫無(wú)疑問(wèn)此表占有重要地位, Product 數(shù)據(jù)表如下表 53 所示: 表 53 Product 表的設(shè)計(jì) 字 段 名 稱(chēng) 數(shù) 據(jù) 類(lèi) 型 說(shuō) 明 Id 自 動(dòng) 編 號(hào) 編號(hào)(主鍵) Name 文本 商品名稱(chēng) Author 文本 生產(chǎn)廠商 Productdate 日期 /時(shí)間 出產(chǎn)日期 Content 備注 配置說(shuō)明 Price1 數(shù)字 商品市場(chǎng)價(jià) Price2 數(shù)字 商品會(huì)員價(jià) Introduce 文本 商品介紹 Sortsid 數(shù)字 小類(lèi) id Categoryid 數(shù)字 大類(lèi) id ( 4) Orders 表的設(shè)計(jì):這個(gè)表用來(lái)儲(chǔ)存訂單信息,包括訂單用戶(hù)名,下單日期,產(chǎn)品編號(hào) ,訂單編號(hào) ,收貨人姓名,收貨人地址,匯款方式編號(hào) ,送貨方式編號(hào) ,收貨人電話(huà),收貨人郵件地址,顧客下單留言等。 數(shù)據(jù)庫(kù)的連接 數(shù)據(jù)庫(kù)系統(tǒng)往往是一個(gè)大型 WEB 應(yīng)用程序的核心。以下連接數(shù)據(jù)庫(kù),建立一個(gè) connection 對(duì)象實(shí)例 conn Set conn=() Connstr=Provider=。數(shù)據(jù)庫(kù)的連接必須使用 ADO的內(nèi)置 Connection 對(duì)象,并且調(diào)用 Recordset 對(duì)象來(lái)進(jìn)行與數(shù)據(jù)庫(kù)的查找、刪除、更改等功能,在數(shù)據(jù)庫(kù)中添加 User 表,用來(lái)保存用戶(hù)信息。訂單的實(shí)現(xiàn)模塊具體代碼如下: dim shijian,goods dim userid,id,rs2,rs3 ‘定義變量 id=request(id) ‘獲取產(chǎn)品編號(hào) userid=request(userid) ‘獲取用戶(hù) id 第 14 頁(yè) 共 23 頁(yè) shijian=now() ‘獲取當(dāng)前時(shí)間 goods=year(shijian)amp。month(shijian)amp。(cookieName)(username)amp。 and state=1 and goods=39。獲取要修改大類(lèi)編號(hào) action=(action) select case action case add set rs=() 39。重定向到本頁(yè)面 case edit set rs=() 39。重定向到 end select % 添 加小類(lèi)效果圖如下圖 514 所示: 圖 514 添加小類(lèi) 管理員添加新商品,管理員可以添加新商品,包括指定商品的分類(lèi),商品 第 20 頁(yè) 共 23 頁(yè) 的編碼等。 第 21 頁(yè) 共 23 頁(yè) 結(jié) 論 本畢業(yè)設(shè)計(jì)采用 ASP,開(kāi)發(fā)了一個(gè) B/S 模式的 網(wǎng)上商品銷(xiāo)售系統(tǒng),后臺(tái)數(shù)據(jù)庫(kù)采用了 ACCESS 2021。 [6] 趙增敏 .ASP動(dòng)態(tài)網(wǎng)頁(yè)設(shè)計(jì) [M].北京: 電子工業(yè)出版社 , 2021。 ( 3)學(xué)??梢詫W(xué)術(shù)交流為目的復(fù)制、贈(zèng)送和交換學(xué)位論文。t run, N icholas, Dr. Island said with the voice of a wave. It only makes him angry that you run. N icholas did not answer, but cut to his left, up the beach and among the trunks of the palms, sprinting all the way because he had no way of knowing Ignacio was not right behind him, about to grab him by the neck. When he stopped it was in the thick jungle, among the boles of the hardwoods, where he leaned,.。 he was not as strong as he had been only a day past, and by this time next day he would probably be unable to outrun Ignacio. He should, he now realized, have eaten the mon key he had killed。t mistaken after all, was I? I didn39。t anyone,` just the machines. Now he doesn39。t he stay there? Did I tell you about the bird, Nicholas? She had been not listening again. What bird? I have a bird. Inside. She patted the flat stomach below her small breasts, and for a moment, Nicholas thought she had really found food. She sits in here. She has tangled a nest in my entrails, where she sits and tears at my breath with her beak. I look healthy to you, don39。m not really me, I39。s。t even wet, and do you know something, N icholas? I39。s how the world is. Not in Brazil, maybe, Nicholas said. He was trying to remember something about Brazil, but the only thing he could think of was a parrot singing in a straw hat from the view cartoons。s emptie than it used to be. Where Ignacio was, there would have been Red Indian hunters two or three hundred years ago。 had Dr. Island used that sound to speak to him? He walked toward it and found a little rill that threaded a way among the trees, and followed it. In a hundred steps it grew broader, slowed, and ended in a long blind pool under a dome of leaves. . Diane was sitting on moss on the side opposite him。 there was only the green hush. The light was still bright and strong and nearly, shadowless, but some interior sense told him the day, was nearly over, and he noticed that such faint shades as he could see stretched long, hor izontal distortions of their objects. He felt no hunger, but he had fasted be39。 words, realizing that they wer