【正文】
end if l=len(str) for i=1 to l if mid(str,i,1)9 or mid(str,i,1)0 then isInteger=false exit function end if next isInteger=true if 0 then end function % 菜品圖片瀏覽 用戶(hù)可直接在主頁(yè)面 查看菜品信息包括菜品圖示以及價(jià)格 。 4 系統(tǒng)功能模塊分析 前臺(tái)功能模塊分析 數(shù)據(jù)庫(kù)連接 專(zhuān)門(mén)獨(dú)立一頁(yè)面除了作 為進(jìn)行數(shù)據(jù)庫(kù)連接功能的實(shí)現(xiàn),同時(shí)寫(xiě)入系統(tǒng)常用的 幾個(gè) 函數(shù),其目的是方便以后其 它頁(yè)面的功能實(shí)現(xiàn)時(shí)能直接調(diào)用此頁(yè)面,而不需反復(fù)寫(xiě)入代碼,提高效率。 表 3 huiyuanxinxi( 前臺(tái)客戶(hù) 信息 ) 列名 數(shù)據(jù)類(lèi)型 長(zhǎng)度 備注 id Int 4 主 鍵 /編號(hào) Name Varchar 50 名字 Password Varchar 50 密碼 Sex Varchar 50 性別 Question Varchar 50 密碼提示 Answer Varchar 50 提示答案 Years Varchar 50 出生年份 Months Varchar 50 出生月份 Days Varchar 50 出生日期 Address Varchar 50 住址 Emile Varchar 50 郵箱 Tel Varchar 50 電話(huà) Vocation Varchar 50 行業(yè) profession Varchar 50 職位 education Varchar 50 教育程度 Ine Varchar 50 收入范圍 Dates Smalldatetime 4 注冊(cè)時(shí)間 type int 4 會(huì)員種類(lèi) 功能介紹:記錄客戶(hù)信息。 圖 31前臺(tái)功能 圖 圖 32后臺(tái)功能 圖 用戶(hù)注冊(cè)信息修改 用戶(hù)訂餐 注冊(cè)用戶(hù)功能模塊 定單查詢(xún)、刪除及修改 附加功能 系統(tǒng)用戶(hù)管理 前臺(tái)會(huì)員管理 后臺(tái)管理功能模塊 菜品類(lèi)別設(shè)置 網(wǎng)站新聞發(fā)布 菜品信息管理 第 7 頁(yè) 共 23 頁(yè) 后臺(tái)功能 圖 (如圖 32)主要介紹系統(tǒng)管理員登錄網(wǎng)站后臺(tái)進(jìn)行 的相應(yīng)操作。 在網(wǎng)上 參觀訂餐 的人相對(duì)網(wǎng)下人來(lái)說(shuō)還是比較少 ,一個(gè)是 對(duì)網(wǎng)上 餐館 的信用度持疑慮態(tài)度;另一個(gè)是網(wǎng)上 訂餐 只可以看到物 品的說(shuō)明簡(jiǎn)介和外觀,沒(méi)有看到實(shí)體于細(xì)節(jié)處,無(wú)法通過(guò)快速瀏覽確定是不是自己想要的 菜 品。在 IIS提供的服務(wù)器端腳本執(zhí)行環(huán)境中,設(shè)計(jì)人員可以建立和運(yùn)行動(dòng)態(tài)的,交互的,高效的 Web 應(yīng)用程序。模塊使用 Visual Basic 編程 開(kāi)發(fā)工具 Dream weaver MX Macromedia 公司的 Dream weaver 自問(wèn)世以來(lái)備受網(wǎng)頁(yè)設(shè)計(jì)專(zhuān)業(yè)人士的青睞,被譽(yù)為“網(wǎng)頁(yè)三劍客之一” 。 查詢(xún) (Query)查詢(xún)可以按索引快速查找到需要的記錄,按要求篩選記錄并能連接若干個(gè)表的字段組成新表。 JavaScript 是一種解釋性的,用于客戶(hù)端的,基于對(duì)象的一種程序開(kāi)發(fā)語(yǔ)言。也可以采用專(zhuān)用的 HTML 編輯工具:如 CoffeeHTML、 Homesite、 HTMLedit Pro等工具,它們的特點(diǎn)是能夠自動(dòng)檢查 HTML 文檔中的語(yǔ)法錯(cuò)誤并協(xié)助改正。結(jié)合 WSH( Windows Scripting Host),可以實(shí)現(xiàn)對(duì) NT 主機(jī)的管理,如 NT用戶(hù)管理、 IIS虛擬主機(jī)設(shè)置、 EXCHANGE 郵箱設(shè)置等等,就像管理本地機(jī)一樣方便。 ASP 是基于 WEB 的一種編程技術(shù),可以說(shuō)是 CGI 的一種。提供了交流的平臺(tái),實(shí)現(xiàn)消費(fèi)者可貴信息的反饋和交流。緩解了食堂的擁第 2 頁(yè) 共 23 頁(yè) 擠的困境,為食堂提供更為輕松的環(huán)境。實(shí)現(xiàn)產(chǎn)品管理方便,起到立竿見(jiàn)影的效果,不用因?yàn)楦牟松匦掠∷ⅰP畔⒓夹g(shù)的發(fā)展將更快的推動(dòng)互聯(lián)網(wǎng)的發(fā)展, 訂餐 系統(tǒng)的重要性也將越顯其強(qiáng)大的作用。 然后 是 建設(shè) 網(wǎng)上 訂餐 系統(tǒng) , 具體 分析 如何實(shí)現(xiàn) 系統(tǒng)功能 , 規(guī)劃 系統(tǒng)流程, 設(shè)計(jì) 系統(tǒng)數(shù)據(jù)庫(kù)的邏輯結(jié)構(gòu) , 介紹 在 開(kāi)發(fā)系 統(tǒng)過(guò)程 中所使用 的 重要開(kāi)發(fā)語(yǔ)言 、 開(kāi)發(fā)工具 、 配套插件以及開(kāi)發(fā)平臺(tái)。 關(guān)鍵詞: 數(shù)據(jù)庫(kù) ; 網(wǎng)上 訂餐 系統(tǒng) ; ASP The Design and Implementation of Online Meal Ordering System Abstract More and more people have accepted the convenient and fast transaction form of the electronic merce, the online meal ordering is also bee popular. First, we briefly introduce the domestic work technology and the information industries situation as well as the research situation, elaborate the solution of online meal ordering system as well as its significance. Next, we analysis how to implement this system function, plan system flow and design the logical anization of system database, introduce the development language, the development kit, and the necessary plugin units which are used in the development process as well as development of platform. Finally, the online meal ordering system of the B/S structure is designed and implemented, it emphatically elaborates the function and implementation of system, data flow and storage such as the member management, information introduction of order, the online meal ordering, user information, system user management as well as the administration of backstage database. We elaborate and analyze the entire implementation methods of the online meal ordering system function module with function code and pictures. Key words: Database; Online meal ordering system; ASP 目錄 論文總頁(yè)數(shù): 23 頁(yè) 1 引 言 ...................................................................................................................... 1 網(wǎng)上訂餐的市場(chǎng)趨勢(shì) .......................................................................................... 1 網(wǎng)上訂餐的市場(chǎng)優(yōu)勢(shì) .......................................................................................... 1 2 系統(tǒng)開(kāi)發(fā)技術(shù)介紹 ..................................................................................................... 2 系統(tǒng)開(kāi)發(fā)語(yǔ)言 ..................................................................................................... 2 開(kāi)發(fā)語(yǔ)言 ASP .......................................................................................... 2 開(kāi)發(fā)語(yǔ)言 HTML ........................................................................................ 3 開(kāi)發(fā)語(yǔ)言 VBScript .....................