計(jì)算機(jī)畢業(yè)設(shè)計(jì) 論文格式化系統(tǒng)——前臺的設(shè)計(jì)與實(shí)現(xiàn).doc
計(jì)算機(jī)畢業(yè)設(shè)計(jì) 論文格式化系統(tǒng)——前臺的設(shè)計(jì)與實(shí)現(xiàn),摘 要該系統(tǒng)是一個基于web的軟件。該系統(tǒng)的客戶端采用javascript和php作為平臺的開發(fā)語言,mysql作為后臺數(shù)據(jù)庫,apache2.0作為web服務(wù)器。該系統(tǒng)用javascrit腳本在客戶端封裝表單里面的數(shù)據(jù)并將這些數(shù)據(jù)封裝成xml字符串,然后發(fā)送這個字符串給服務(wù)器。在接收到送服務(wù)器端發(fā)送來的xml之后,系...
![](http://img.queshao.com/images/pcgzh.gif)
![](http://preview.queshao.com/tobuy/210953.gif)
內(nèi)容介紹
此文檔由會員 allvs 發(fā)布摘 要
該系統(tǒng)是一個基于web的軟件。該系統(tǒng)的客戶端采用javascript和php作為平臺的開發(fā)語言,Mysql作為后臺數(shù)據(jù)庫,Apache2.0作為web服務(wù)器。該系統(tǒng)用javascrit腳本在客戶端封裝表單里面的數(shù)據(jù)并將這些數(shù)據(jù)封裝成xml字符串,然后發(fā)送這個字符串給服務(wù)器。在接收到送服務(wù)器端發(fā)送來的xml之后,系統(tǒng)用javascript腳本解析xml然后填寫到表單中去。他們可以按時的發(fā)表自己的論文。系統(tǒng)也提供學(xué)生和導(dǎo)師的論文交互平臺,論文交互平臺采用了php腳本編寫了數(shù)據(jù)庫操作類和常用函數(shù)類,然后用這些類創(chuàng)建新的對象來使用對象中的方法,比如數(shù)據(jù)庫連接的方法,數(shù)據(jù)庫查詢方法,上傳論文的方法等。并用了Apache的rewrite模塊來重定向請求的url。這篇論文還介紹了Smart template系統(tǒng)和它扮演的角色,還用一個例子來描述了怎么使用它來將php腳本和html代碼分離。論文中還解釋了在系統(tǒng)開發(fā)期間遇到的一些問題,比如修改mysql數(shù)據(jù)庫密碼的問題和其他的問題。
關(guān)鍵詞:javascript;xml;php;mysql;Apache;論文
The Essay Formatting System
——Front-side Design and Implementation
Abstract
This system is a software which is based on web. The front-side of this system uses javascript and php to take the onstage development language. Mysql makes the backstage database.Apache2.0 makes the web server. This system uses javascript script on fornt-side to get the from’s datas and encapsulate these datas to a xml string, then send the string to server. After received the xml data from server, system uses javascript script to parse the data then fill it into the form. This system also provides a essay exchange stage. The essay exchange stage uses php script to write database operation class and common functions class then uses these classes to create new objects to execute the functions of the object, such as database connect function, database query function, upload essay function and so on. And uses the rewrite module of Apache to redirect the request url. This essay also introduces the Smart template system, the role played by it and give an example to describe how to use it to separate php script from html code. In this essay also explain some problems during development system such as modify the password of mysql database and other problems.
Key words: javascript; xml; php; mysql; Apache; essay
1 引言 1
2 系統(tǒng)需求 1
2.1 系統(tǒng)需求概述 1
2.2 系統(tǒng)詳細(xì)需求分析 1
2.2.1 基于web開發(fā) 1
2.2.2 格式化文檔 2
2.2.3 前臺需求 2
2.2.4 性能需求 2
3 方案選擇 2
3.1 方案比較 2
3.1.1 系統(tǒng)模式比較 2
3.1.2 程序語言選擇與比較 3
3.1.3 數(shù)據(jù)庫的選擇 4
3.1.4 開發(fā)工具的選擇 5
3.2 環(huán)境搭建 5
3.2.1 安裝Apache web server 5
3.2.2 安裝PHP 5
3.2.3 安裝Mysql 5
4 總體設(shè)計(jì) 6
4.1 系統(tǒng)架構(gòu)設(shè)計(jì) 6
4.1.1 網(wǎng)絡(luò)架構(gòu) 6
4.1.2 系統(tǒng)邏輯服務(wù)器 6
4.2 總體結(jié)構(gòu) 7
4.3 系統(tǒng)工作流程圖 7
5 實(shí)現(xiàn)和編碼 8
5.1 數(shù)據(jù)庫設(shè)計(jì) 8
5.2 數(shù)據(jù)庫表結(jié)構(gòu)設(shè)計(jì) 9
5.3 系統(tǒng)程序?qū)崿F(xiàn) 12
5.3.1 前臺javascript程序工作流程 12
5.3.2 首頁的設(shè)計(jì)與javascript封裝XML 13
5.3.3 通過XMLHttpRequest對象發(fā)送XML 14
5.3.4 Smart template簡介 15
5.3.5 Smart template在本系統(tǒng)中的運(yùn)用 15
5.3.6 系統(tǒng)數(shù)據(jù)庫封裝與操作 15
5.3.7 系統(tǒng)常用函數(shù)封裝設(shè)計(jì) 17
5.3.8 Apache Rewrite功能在系統(tǒng)中的運(yùn)用 17
6 特殊問題解決辦法 19
6.1 mysql數(shù)據(jù)庫密碼修改問題 19
6.2 php自動轉(zhuǎn)義問題 19
7 測試與結(jié)果分析 19
7.1 運(yùn)行模塊舉例 19
7.1.1 前臺上傳記錄模塊舉例 19
7.1.2 系統(tǒng)管理員模塊舉例 20
7.1.3 學(xué)生功能模塊舉例 21
7.1.4 導(dǎo)師功能模塊舉例 22
7.2 測試結(jié)果與分析 23
結(jié) 論 24
參考文獻(xiàn) 25
致 謝 26
聲 明 27
TA們正在看...
- 中國非營利組織的運(yùn)作機(jī)制研究.pdf
- 油田聚合物驅(qū)開發(fā)與實(shí)踐與認(rèn)識.ppt
- 應(yīng)積極培育社區(qū)非營利組織.pdf
- 一個民間社區(qū)組織的成長經(jīng)驗(yàn)及其面臨的問題_來自長...pdf
- 協(xié)調(diào)推進(jìn)社區(qū)非營利組織建設(shè).pdf
- 我國現(xiàn)階段社區(qū)ngo面臨的困境.pdf
- 我國社區(qū)非營利組織建設(shè)中的問題及對策分析.pdf
- 我國非營利組織發(fā)展存在的問題及其治理.pdf
- 我國城市社區(qū)社會參與的現(xiàn)狀問題分析.pdf
- 社區(qū)社會組織參與和諧社區(qū)建設(shè)相關(guān)問題研究.pdf