李肇林臺灣大學:資訊工程學研究所陳麒化Chen, Chi-HuaChi-HuaChen2007-11-262018-07-052007-11-262018-07-052005http://ntur.lib.ntu.edu.tw//handle/246246/53898本論文設計實作一時間性的平台,在此平台能輕易開發出時間性Web Application。包括靜態網頁、動態網頁,甚至資料庫,都能達到時間的特性。在此平台下,Web Application程式設計師能輕易的建構出保留各個時期資源的網站,使用者只要設定好他的基準日期,便能體驗回到過去的感覺,因為網站上所呈現出的文字、圖片、資料以及排版風格,都將原封不動地回溯至該基準日期網頁的型態。This thesis designs and implements a chronological platform. In this platform, efforts of developing chronological web applications for programmers are no more than developing usual web applications. As browsing chronological web sites, users only need to set the baseline date once at the beginning, the whole web resources in chronological web sites will roll back to what they were at the baseline date.1 Introduction -------------------------------------------1 2 Backgrounds --------------------------------------------3 2-1 Traditional Web Application --------------------------3 2-2 Versioning File System -------------------------------4 2-2-1 EFS ------------------------------------------------5 2-2-2 Wayback --------------------------------------------5 2-3 Apache -----------------------------------------------6 2-3-1 Request Handling in Apache -------------------------7 2-3-2 Apache Module Hook --------------------------------10 3 Chronological Web Server ------------------------------14 3-1 CWS Architecture ------------------------------------14 3-2 Temporal Version Backup Strategy --------------------15 3-2-1 Backup Directory Structure ------------------------15 3-2-2 inside Log File -----------------------------------17 3-3 Time Cookie Negotiation -----------------------------17 3-4 CWS Implementation ----------------------------------19 3-4-1 Hook CWS into Apache ------------------------------19 3-4-2 Processing Flow -----------------------------------19 4 Embedded Script Problems ------------------------------23 4-1 Problem of Include Files ----------------------------23 4-2 Time Related Functions ------------------------------24 4-3 Forming Temporal Database ---------------------------25 4-3-1 Concepts ------------------------------------------25 4-3-2 Examples ------------------------------------------27 5 Performance Analyses ----------------------------------32 6 Conclusions and Future Work ---------------------------36 7 References --------------------------------------------37en-US網頁伺服器時間性web serverchronologicaltemporal時間性網頁伺服器之設計與實作Design and Implementation of Chronological Web Serverthesis