Web基本原理與技術 (FJU-CSIE-Spring12)

Class Time: Wed 3:40-6:30p Location: SF234
Instructor: Dr. Hsing Mei Office: SF625
Email: mei@csie.fju.edu.tw Phone: 29053704
Hour Office: Tue 12:30a-1:30p, Wed 12:30-3:30p, Fri 12:30-4:30p, or by appointment
TA: 陳毓文 eric@weco.net>: Fri 3:30~5:30p , 范競之 www1036@weco.net>: Thu 3:30-5:30p (SF638)

※ Course Objective:
The objective of this course is to study the fundamental protocol and development techniques of World Wide Web. This course introduces both browser-side and server-side issues and techniques. It is designed to provide a foundation for subsequent network software courses.

※ Prerequisites:
Introduction to Computer Science, Java Programming.

※ Post-studies:
Emerging Web Techniques, Web Hacking and Defending.

※ Grading:
Class Participation (4 SLS Post x 2%) 8% + Bonus (共同筆記, Reading Report)
Lab Assignment: 24% (6 x 4%)
Quiz: 12% (3 x 4%)
Term Project: 21%
Midterm Exam: 15%
Final Exam: 20%

※ 課程應注意事項: 除非有不可抗拒的原因, 本課程
1. 第一次上課遲到或未到, 未選課者請勿加選. 已選課而未退選者, 以缺席一次計.
2. Quiz 及考試無補考.
3. 放棄Grading配分中任一項 , 學期總成績以不及格計.
4. 點名遲到或未到, 可看完課程錄影後於Facebook及SLS發表心得補點名, 若出席未及點名次數之1/2, 則期末考扣考, 學期總成績以不及格計.
5. 課堂中想睡覺者, 請自行出教室清醒, 趴下睡覺者, 以點名缺席計.
6. 課堂中發生任何影響上課秩序行為(e.g. 交談, 電動, ...), 將逐出教室5分鐘, 逐出教室不回者, 以點名缺席計.

PS: 本課程為台灣開放式課程聯盟輔仁大學開放式課程之一. 同學網路內容的發表請注意智慧財產權相關規定. 其它有關課程使用Social Learning Space (SLS), 課程活動(Google Calendar), 投影片下載, 上課錄影(YouTube), 3D虛擬世界系統(包括 Second Life), 社交網路應用 (包括Facebook)等網路應用上本課程相關群組/頻道/社群的使用, 課程參與(含共同筆記)的計分, 及一般課程及上課注意事項, 請詳閱 HW0.
Lab1: HTTP analysis with Wireshark/Etherreal, LiveHTTPHeader, Greasemonkey.
Use Ethereal to capture HTTP messages, including GET, POST, Set-Cookie, and Cookie header. Your report should contain the target URLs, captured messages, and anything you learned from this lab. Post your lab report on SLS personal blog.

Lab2: Personal Portal with HTML and CSS.
(1) Edit a personal photo and design a personal logo with Photoshop or any online photo editing service.
(2) Design and implement a personal portal using Google Site/GAE. You can select any template to beatify your pages. However, you must use some raw HTML and inline CSS in your page.
(3) Your portal must show your personal logo; photo before editing, and photo after editing.
(4) Two or more web applications/gadgets (e.g. YouTube, delicious, map, calendar, skype, micro-blog, facebook, friendfeed, …) have to be embedded into your personal portal.
Lab3: JavaScript, event, DOM Exercise 13..3, pp. 505
Lab4: AJAX/jQuery. Exercise 15.5 pp. 625
Lab5: HTML5 (modify code on html5rocks or with Construct 2)
Lab6: PHP, SQL(on cixx6)

Reading report for Bonus (Individual, Due before midterm exam)

1. Tim Berners-Lee, Weaving the Web: The Original Design and Ultimate Destiny of the World Wide Web, Collins Business; Nov 2000.
http://www.w3.org/People/Berners-Lee/Weaving/
張介英, 徐子超譯, 一千零一網:網際網路WWW發明人的思想構圖, 台灣商務印書館, 1999
2. Lawrence Lessig, Free Culture: How Big Media Uses Technology and the Law to Lock Down Culture and Control Creativity, Penguin(CC), 2004.
劉靜怡譯, 誰綁架了文化創意?:如何找回我們的「自由文化」, 早安財經, 2008年. ISBN:9789867458933
http://free-culture.cc/ (Free Download)

讀完二本書之一 , 針對該書各1至2章, 或貫穿各章的1至2主題, 簡述內容, 並撰寫一篇心得, 報告至少1200字(含心得至少600字).

(1) Design and develop a web-based system with RIA client (with Ajax) and PHP/RoR (SQL for bonus). You are free to choose any application domain.
(2) Working on Collaborated Notes.
(3) Written project proposal due 11/09 on SLS course group.
(4) Team Leader is responsible for ALL post on SLS.
(5) ALL member should participate the final demo and presentation.
(6) Cross Grading:
Intra-team effort: 70% Team grade, 30% Individual grade
Inter-team grade: Due after each demo/oral presentation class (12/14-01/04)
共同筆記 2.0 「Web基礎」Topics- (本課程主要涵蓋以下15 Topics):
(第一堂課後, 在宅學習WebFund課程版開放Topic Coordinator (版主)競標)
http://sls.weco.net/CollectiveNote20/WebFund
http://sls.weco.net/CollectiveNote20/XML
http://sls.weco.net/CollectiveNote20/HTML5

1. HTTP
2. XHTML
3. CSS
X.1. XML語法 (在XML技術與應用分類)
X.2. Schema (在XML技術與應用分類)
X.3. XPath (在XML技術與應用分類)
X.4. XSLT (在XML技術與應用分類)
4. JavaScript
5. Document Object Model (DOM)
5.1 DOM and JavaScript Event
6. AJAX
6.2 jQuery
7. Database: SQL, MySQL
8. PHP
HTML5

Internet and World Wide Web How to Program, 4th Ed., by Dietel, Dietel & Niieto, Prentice Hall, 2008, ISBN: 978-0131752429.
http://www.deitel.com/Books/InternetWebScripting/InternetWorldWideWebHowtoProgram4e/tabid/2048/Default.aspx
(register and download example code)
References Book:
1. 施威銘研究室, 最新 PHP + MySQL + Ajax 網頁程式設計, 旗標出版社, 2009, ISBN:9789574425570
2. Tim Berners-Lee, Weaving the Web: The Original Design and Ultimate Destiny of the World Wide Web, Collins Business; Nov 2000.
http://www.w3.org/People/Berners-Lee/Weaving/
張介英, 徐子超譯, 一千零一網:網際網路WWW發明人的思想構圖, 台灣商務印書館, 1999

3. Lawrence Lessig, Free Culture: How Big Media Uses Technology and the Law to Lock Down Culture and Control Creativity, Penguin(CC), 2004.
劉靜怡譯, 誰綁架了文化創意?:如何找回我們的「自由文化」, 早安財經, 2008年. ISBN:9789867458933
http://free-culture.cc/ (Free Download)

Web References:
XML How to Program, by Dietel, Dietel & Niieto, Prentice Hall, 2001
http://www.w3schools.com
Page: http://sls.weco.net/s12-webfund
Group: http://sls.weco.net/course/webfund
Bookmarking:
http://del.icio.us/FJU_WebFund
http://del.icio.us/FJU_XMLDesign
Facebook Group (WECO – Web Fundamentals): https://www.facebook.com/groups/137944869554367/
Calendar:http://www.google.com/calendar/hosted/weco.net/embed?src=weco.net_nb69bk6c0cbtlch338pq1quuhs%40group.calendar.google.com&ctz=Asia/Taipei
Grade Enquiries: http://www.elearn.fju.edu.tw/icanxp/

Date Course Content Video
2/15 Syllabus, SLS, HTTP, HW0 Due
Link
2/22 HTML, Dreamweaver, Photoshop, Google Sites (Chap 4)
Lab1(HTTP analysis) Due
Link
2/29 CSS (Chap 5, w3schools) (完成分組), SLS Post #1 Due
Link
3/7 JavaScript, JSON (Chap 6-10), Lab2(XHTML and CSS) Due
Link
3/14 (12:30-18:30) DOM and event (Chap 11, 12, 13), (12:30-15:30 1st Interview)
Quiz 1
Link
3/16 輔大資中演講 - 快速演進的Web技術
Link
3/21 (G+ Hangout) Ajax (Chap15, w3schools)
Link
3/28 (G+ Hangout) jQuery (slides, w3shools), Lab 3 (DOM event) Due
Link
4/4 Spring Break Off
SLS Post #2, Project Proposal (by Team) Due
4/11 Midterm Exam
Reading Report Due
4/18 (12:30-18:30)HTML5, (12:30-15:30 2nd Interview)
Link
4/25 PHP (Chap 23), Lab4(AJAX/jQuery) Due, Quiz 2
Link
5/2 SQL (Chap 22), Lab5(HTML5) Due
Link
5/9 (13:30-18:30)XML, DTD (Chap 14, w3schools), (13:30-15:30 3rd Interview)
Schema, XPath, XSLT (Chap 14), SLS Post #3 Due
Link
5/16 XML, DTD, Schema, XPath, XSLT (Chap 14, w3schools), Lab 6 Due (PHP/MySQL)
Link
5/23 Project Demo and Oral Presentation, Quiz 3
5/30 Project Demo and Oral Presentation
6/6 Project Demo and Oral Presentation, SLS Post #4 (Project Report by Team) Due
6/13 Final Exam