Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
以ASP.NET AJAX與資料庫建置線上The four-quadrant TO DO List
Search
ygtw
August 19, 2012
0
130
以ASP.NET AJAX與資料庫建置線上The four-quadrant TO DO List
ygtw
August 19, 2012
Tweet
Share
More Decks by ygtw
See All by ygtw
略懂臺南
ygtw
0
95
Ulrich Neisser &記憶的發展:新問題和舊問題 (2003)
ygtw
0
110
舞動的人群
ygtw
1
87
千古難題四句教 : 王陽明相關文獻整理
ygtw
0
170
集點王怪獸之決鬥
ygtw
1
70
丟瓶子高手 Mr.MagiC
ygtw
1
80
近三年資訊資工相關科系面試心得
ygtw
0
210
我評《後‧青春期的詩》er.pdf
ygtw
0
79
腦波的認知介面與無處不在的應用:發展和挑戰
ygtw
1
89
Featured
See All Featured
Fireside Chat
paigeccino
40
3.7k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
30
2.9k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Side Projects
sachag
455
43k
Done Done
chrislema
185
16k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
114
20k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Building Flexible Design Systems
yeseniaperezcruz
329
39k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
970
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Designing Experiences People Love
moore
142
24k
Building Better People: How to give real-time feedback that sticks.
wjessup
368
20k
Transcript
None
Randy Pausch是美國卡內基梅隆大學的計算 機科學教授,晚年為癌症所苦,2007.9.18在 其任教大學發表演講「The Last Lecture」, 其演講內容學生深受其感動,並拜讀其書籍 與早期的演講「 Time
Management」其中 有一招異於常人的時間管理方式稱為「The four-quadrant TO DO List」 › (附圖為Randy演講時的簡報) 以ASP.NET AJAX與資料庫建置線上The four-quadrant TO DO List
學生親自使用The four-quadrant TO DO List之後發現對於學生自己的時間管理幫助相 當顯著,但是編輯to do list時採用只能夠於 單機環境下編輯,若要將其賦予「無所不在」
的性質,必要將其開發為網路應用程式,而 在本堂課程中學生恰好有能力可以實現。 以ASP.NET AJAX與資料庫建置線上The four-quadrant TO DO List
普通的to do list只是將待辦事務放入並列表;而 Randy的 four-quadrant TO DO list則是將要做 的事以重要性(important)與時效性(soon)分成
四個部分,如下表格,實行時由1先做,再來是2、 3、4。 以ASP.NET AJAX與資料庫建置線上The four-quadrant TO DO List 1:Important & Soon 2:Important & Not Soon 3:Not Important & Soon 4:Not Important & Not Soon
網站全部採用ASP.NET AJAX技術,資料新增、 刪除、編輯都不會造成畫面閃爍(整頁重新讀 取) 跨瀏覽器平台,經過測試IE、Firefox、 Ghrome、Opera皆可正常執行 測試網址
› http://home.fhcrc.tw/98/m98_001/tdl/ 以ASP.NET AJAX與資料庫建置線上The four-quadrant TO DO List
以ASP.NET AJAX與資料庫建置線上The four-quadrant TO DO List
資料新增區域(第一欄為必填) 資料顯示區,分別為4個part 資料處理提示 (ASP.NET:UpdateProgress),當使用者更動 資料時會顯示處理中圖片提示 以ASP.NET AJAX與資料庫建置線上The four-quadrant TO
DO List
本系統架構圖如下,以一台IIS server執行程 式,並且由另一台SQL server儲存使用者資 料(受限於主機效能不足必須分為兩台主機) 以ASP.NET AJAX與資料庫建置線上The four-quadrant TO
DO List SQL Server Data Web browser IIS server
以ASP.NET SqlDataSource做為資料庫存取 (讀取、新增、刪除、修改)的工具 以ASP.NET ScriptManager配置AJAX的背後 指令 以ASP.NET
UpdatePanel配置需要非同步更 新的區域(新增資料、資料庫顯示、資料處理 狀態) 以ASP.NET AJAX與資料庫建置線上The four-quadrant TO DO List
Id(主鍵) name deadline prior addtime owner part 唯一值 待辦內容 到期時間
排序* 新增時間* 使用者名稱 * 放置欄位 以ASP.NET AJAX與資料庫建置線上The four-quadrant TO DO List 有*者尚未實現功能,資料庫目前為空值(NULL) SQL SERVER實際操作畫面
採用ASP.NET GridView存取資料庫內容,並 且開啟其編輯(E)與刪除(D)功能,方便使用者 管理自己的to do list,如下圖 以ASP.NET AJAX與資料庫建置線上The four-quadrant
TO DO List
欄位驗證(以”(*)”提示) › 因為ASP.NET的RequiredFieldValidator必須使用舊 式表單傳送資料(不支援AJAX),所以在驗證的部分學 生自行用javascript撰寫。 欄位清除 › 按下OK傳送資料後將text
box上填的資料清除 以ASP.NET AJAX與資料庫建置線上The four-quadrant TO DO List
採用外部檔案(Style.css) 管理樣式表,未來可以開 發樣式主題更換/使用者 自訂的功能 以ASP.NET AJAX與資料庫建置線上The four-quadrant TO DO
List
Program Tool: Visual Web Developer 2008 Express Edition(C#,.NET framework
3.5) Database:SQL Server 2008 Express Edition WEB server: IIS 7 以ASP.NET AJAX與資料庫建置線上The four-quadrant TO DO List
Randy Pausch's Home Page Randy Pausch Lecture: Time
management MSDN Home Page 馬小玲傳說之我依舊閃亮 以ASP.NET AJAX與資料庫建置線上The four-quadrant TO DO List
會員註冊系統,並且架站上線服務 拖曳功能,更直覺快速的移動待辦事項位置 系統使用條款,保障使用者權益 根據資料庫,直接提示使用者「你現在該做什麼」 安全性增加,如例外控制、資料溢位筆數控制
手機面板設計,完成無所不在的to do list 改進deadline新增方式 以ASP.NET AJAX與資料庫建置線上The four-quadrant TO DO List