【正文】
s loving our neighbor better than ourselves, and I like it, said Meg, as they set out their presents while their mothe r was upstairs collecting clothes for the poor Hummels. Not a very splendid show, but there was a great deal of love done up inster an encouraging pat on the shoulder as they parted for the day, each going a different way, each hugging her little warm turnover, and each trying to be cheerful in spite of wintry weather, hard work, and the unsatisfied desires of pleasureloving youth. When Mr. March lost his property in trying to help an unfortunate friend, the two oldest girls begged to be allowed to do som ething toward their ow n support, at least. Believing that they could not begin too early to cultivate energy, industry, and independence, their parents consented, and both fell to work with the hearty good will which in spite of all obstacles is sure to succeed at last. Margaret found a place as nursery governess and felt rich with her small salary. As she said, she was `fond of luxury39。 ever since she was born. That was a very happy breakfast, though they didn39。m so glad you came before we began! May I go and help carry the things to the poor little children? asked Beth eagerly. I shall take the cream and the muffings, added Amy, heroically giving up the article she most liked. Meg was already covering the buckwheats, and piling the bread into one big plate. I thought you39。m so glad, for mine is the handsomest now. Another bang of the street door sent the basket under the sofa, and the girls to the table, eager for breakfast. Merry Christmas, Marmee! Many of them! Thank you for our books. We read some , and mean to every day, they all cried in chorus. Merry Christmas, little daughters! I39。m truly trying not to be selfish any more. As she spoke, Amy showed the handsome flask w hich replaced the cheap one, and looked so earnest and humble in her little effort to fet herself that Meg hugged her on the spot, and Jo pron ounced her `a trump39。t laugh at me, Jo! I didn39。s all right, dear, and a very pretty idea, quite sensible too, for no one can ever mistake now. It will please her very m uch, I know, said Meg, with a frown for Jo and a sm ile for Beth. There39。t want anyone to use these but Marmee, said Beth。t that right? I thought it was better to do it so, because Meg39。 on them instead of `M. March39。t they? Hannah washed and ironed them for me, and I marked them all myself, said Beth, looking proudly at the somewhat uneven letters which had cost her such labor. Bless the child! She39。 NET 實用教 V 程》 .電子工業(yè)出版社 [5] 薩師煊 ,王珊 .《數(shù)據(jù)庫系統(tǒng)概論 》 .高等教育出版社 [6] 鄭人杰,殷人昆,陶永雷三.實用軟件工 程.清華大學出版社. [7] 龍馬工作室 .ASP。 NET 項目案例導航 》 .科學出版社 [3] 鄧宗明 ,張曉競 .《 ASP。 畢業(yè)設計(論文) 43 / 48 參考文獻 [1] 伍俊良 .《 ASP。 此外,我還覺得,我個人在這次設計中走了很多彎路。然后再開始編寫程序代碼,這樣做到每寫一步代碼心底有數(shù) ,有條不絮。 在開發(fā)過程中我學到了一些經驗:系統(tǒng)分析的好壞將決定著的系統(tǒng)開發(fā)成功與否,一份好分析設計將是成功開發(fā)主要因素。 NET 開發(fā)能力得到了進一步的提高。 畢業(yè)設計(論文) 42 / 48 總 結 通過開發(fā)本系統(tǒng),我較全面的掌握了 ASP。功能齊全,沒有冗余,沒有遺漏。另外,還有一個出庫查詢報表,界面相仿,故不另作介紹。 會員管理 界面設計 畢業(yè)設計(論文) 40 / 48 此操作界面與商品信息管理相似,功能也十分相似,只是對象不一樣,一個的執(zhí)行結果是列出商品信息列表,一個的執(zhí)行結果是理出用戶信息清單。 后臺首頁 界面設計 畢業(yè)設計(論文) 37 / 48 在此界面,管理員可以進行任何對后臺的操作,所有操作功能都以菜單的形式列開。 畢業(yè)設計(論文) 36 / 48 管理員登陸界面設計 此頁面為管理員登陸界面,點擊屏幕下方 的“進入管理”鏈接可進入。提供兩個按鈕:“繼續(xù)購物”、“結賬買單”。在這里除了可以瀏覽其詳細信息,還可以放入購物車,為后來的購買行為做好鋪墊。 會員注冊界面設計 畢業(yè)設計(論文) 33 / 48 會員注冊時需填寫用戶名、密碼、真實姓名、性別、電話、身份證、聯(lián)系地址等信息,其中用戶名、密碼、身份證三項為必填項。 由 于 有強大的功能,所以本系統(tǒng)采用了它作為開發(fā)語言,同時它的便捷性和它強大的控件支持性,所以它給我們開發(fā)時候帶來了很大方便。 提供了穩(wěn)定的性能、優(yōu)秀的升級性、更快速的開發(fā)、更簡便的管理、全新的語言以及網絡服務。這不僅 使得 Web 開發(fā)更加方便,而且還能提供這些工具必須提供的所有優(yōu)點,包括開發(fā)人員可以用來將服務器控件拖放到 Web 頁的 GUI 和完全集成的調試支持。開發(fā)人員可以方便地獲得這些技術的優(yōu)點,其中包括托管的公共語言運行庫環(huán)境、類型安全、繼承等等。 是一個已編譯的、基于 .NET 的環(huán)境,可以用任何與 .NET 兼容的語言(包括 Visual Basic .NET、 C 和 JScripts .NET.)創(chuàng)作應用程序。 的語法在很大程度上與 ASP 兼容,同時它還提供一種新的編程模型和結構,可生成伸縮性和穩(wěn)定性更好的應用程序,并提供更好的安全保護。 表 4 產品類另信息表( alllb) 表 5 為定單詳細信息表,記錄在客戶的一個定單中,針對一件商品的訂貨信息。 表 2 會員信息表( khusers) 定單列表 編號 客戶信息 應付款項 處理狀態(tài) ..... 圖 47定單列表實體 ER圖 畢業(yè)設計(論文) 29 / 48 表 3 為商品信息表,記錄系統(tǒng)中已有商品的信息。 表 1 為管理員信息表,存儲系統(tǒng)中的管理員信息。 電子商務網站數(shù)據(jù) 庫中各個表的設計結果如表所示。 設計規(guī)劃出的實體有:管理員信息實體、注冊用戶(會員)信息實體、產品實體、產品類型實體、定單詳細信息實體、定單列表實體和常見問題實體。 數(shù)據(jù)庫概念結構設計 得到上面數(shù)據(jù)項和數(shù)據(jù)結構以后,就可以設計出能夠滿足用戶需求的各種實體,以及它們之間的關系,為后面的邏輯結構設計打下基礎。 5)定單詳細信息,包括數(shù)據(jù)項:定單編號,訂單列表編號,商品編號, 購買數(shù)量。 3)商品,包括數(shù)據(jù)項:商品編號,商品名稱,分類,原價,現(xiàn)價等。 經過系統(tǒng)功能分析和需求總結,考慮到將來功能上的擴展,設計如下的數(shù)據(jù)項和數(shù)據(jù)結構: 1)管理員信息,包括數(shù)據(jù)項:帳號,姓名,密碼。然后多個這樣的定單詳細信息組成一個定單列表。 關于定單列表與定單詳細信息可以這樣理解:因為用戶一次可以購買多種產品。 8)一個定單列表對應多張定單詳細信息。 6)一個用戶可以購買多個或多種型號的。 4)按商品類別來分類,每一個商品都對應一個類別。 通過系統(tǒng)功能分析,針對一般的電子商務網站,總結出如下的需求信息: 1)用戶分一般用戶、注冊用戶和管理 員用戶。 數(shù)據(jù)庫需求分析 用戶的需求具體體現(xiàn)在各種信息的提供、保存、更新和查詢方面,這就要求數(shù)據(jù)庫結構能充分滿足各種信息的輸入和輸出。數(shù)據(jù)的存取方式獨立于使用它的應用程序。 管理界面的系統(tǒng)功能模塊圖如圖 31: 客 戶界面的系統(tǒng)功能模塊圖如圖 32 所示: 圖 31 系統(tǒng)功能模塊圖 管理員登錄 網上藥品銷售系統(tǒng)管理界面 類別管理 商品維護 會員維護 訂單管理 修改密碼 網上銷售系統(tǒng) 客戶界面 畢業(yè)設計(論文) 24 / 48 數(shù)據(jù)庫設計 “數(shù)據(jù)庫”就是為了實現(xiàn)一定的目的按某種規(guī)則組織起來的“數(shù)據(jù)”的“集合”。 代碼的復用 本系統(tǒng)中使用了很好的代碼復用機制,即在開發(fā)中盡量使用本系統(tǒng)中已經使用過的代碼,以及使用以前項目積累的代碼,如分頁、檢查 Email 的函數(shù)和上傳類。 由于在“ I‘ m Hacker”中包含一個單引號“’”,這樣系統(tǒng)會認為在字母“ I”后面已經結束,但后面仍有字符,于是就會提示語法錯誤。 strSQL 這樣,在實際執(zhí)行過程中最終 SQL 語句如下: SELECT*FROM User WHERE [Name]=‘ I39。strNameamp。m Hacker strSQL=SELECT*FROM User WHERE[Name]=39。比較好的做法是,使用 SQL 2021 數(shù)據(jù)庫或 Oracle 數(shù)據(jù)庫,或者將 Sql 2021 數(shù)據(jù)庫文件放在網站虛擬目錄以外。例如 文件是在 文件中加入了下面一行代碼而具備了顯示詳細信息的功能。 另外系統(tǒng)頁面結構定義在一個模板文件 中,在這個文件中可以看到系統(tǒng)中基本的頁面組成結構。 5 .2 超市貨物信息 管理系統(tǒng)功能分析 系統(tǒng)設計思想 頁面模塊化 把頁面中一些常用的部分集成為模塊,例如頁面的頭部、尾部和數(shù)據(jù)庫連接文件,這樣設計新的頁面時如果有重復出現(xiàn)的部分,只需要拿現(xiàn)成的模塊來組裝就可以了。所以,在設計上要考慮超前性和可擴張性,以有為日后系統(tǒng)升級預留端口。數(shù)據(jù)流圖和數(shù)據(jù)字典共同構成系統(tǒng)的邏 輯模型。 通過對本系統(tǒng)的需求分析,系統(tǒng)的基本功能已經確定。不同權限的用戶可以對這些庫信息進行添加、修改和刪除處理。其具體的做法是:按業(yè)務流