2010年6月14日 星期一

Lab 35 Web Traffice Stress Test

1. Download Stress Test


2. Take a look at the user manual.

3. Test a static page.

Try combinations of stress levels and stress multipliers to simulate 10 users and 100 users.

4. Test a dynamic page.

Try combinations of stress levels and stress multipliers to simulate 10 users and 100 users.

5. Compare the response time of both pages and explain why.

                                                                    10 users

100 users

Lab 36 Packet Sniffer

1. Install Protocol Analyzer Ethereal at http://www.wireshark.org/

2. Capture the packets at your Ethernet interface card.

3. Enter a login required website that you often go to, such as web mail. Don't use the real account or password.

4. Try to catch the packet that contains the password.
 
 

2010年6月7日 星期一

Lab 34 Speed Test

測試中原大學與中央大學對外頻寬速度。

Tool: Speedtest
*** proxy: proxy.***.edu.tw:3128
ncu proxy.csie.ncu.edu.tw:3128
no proxy

 中原大學


中央大學




沒PROXY





2010年5月31日 星期一

Lab 33: Google Analytics

Enter Google Analytics
2. Put the code provided by Google Analytics in your own blog.
2. Check the results to see the daily traffic chart, the recent visitors by locations.


Lab 32: blog cloud

標籤雲


Lab 31: Syndication with RSS 2.0

1. 進入你的部落格,登入,選擇自訂
2. 新增小工具
3. 選取
資 訊提供 新增
將 RSS 或 Atom 資訊提供的內容加入您的網誌。
Blogger 製作

4. 撰寫或貼上所需連結(範例)


Lab 30: navigation bar

1. 進入你的部落格,登入,選擇自訂
2. 新增小工具
3. 選取
4. 撰寫或貼上所需連結(範例)




2010年5月24日 星期一

Lab 29: DOM

1. Open KompoZer
2. Based on the code as in http://www.scottandrew.com/weblog/articles/dom_4 ,
write a code to generate the table of 9*9 products. (九九乘法表)

Hint: The javascript code should be enclosed by script tags.

Lab 28: Create Image using DOM

1. Open KompoZer
2. Hand code a javascript that loads an image from Internet based on
the DOM model.
3. Take a look at the sample code that shows how window.onload to load the image.
4. Use a button to load the image. Try how onclick works.

2010年5月16日 星期日

Homework 5-10-2010






    Lab 27: Using XML and XSLT

    1. Register and Download Xray, an XML, XSLT editor and processor.

    2. Given the
    Listing 1. An XML document representing the results of a soccer tournament

    Listing 2. A basic style sheet for the soccer results

    use the XSLT as in the Listing 2 to transform the XML file as in the Listing 1.
    (archive)

    3. View the formatted HTML file.
    4. Given the
    Listing 1. An XML document representing the results of a soccer tournament
    Listing 3. A style sheet that computes team standings


    compute the team standings in a table.

    5. View the formatted HTML file.


    ANS

    Lab 26: Using XML

    1. Register and Download Xray, an XML, XSLT editor and processor. (安裝X-Ray需要權限)

    2. Given the the XML file and XSLT file ,
    use Xray to do the transformation of the XML into HTML.
    You have to replace [ with <.

    3. View the formatted HTML file.

    ANS

    2010年5月10日 星期一

    Lab Hand code a form

    Hand code a HTML or use Nvu to edit an HTML so that the webpage can send a request to Google like
    http://maps.google.com/maps?q=24.9586,+121.24114

    Use Form CGI that includes action, input, and submit.
    Try a few different coordinates.



    Lab 25 Lab Form and Action

    "logic will get you from A to B - imagination will take you anywhere"

    How to use Form to invoke a remote service through CGI.

    1. Copy the search box of this search page,
    inlcuding radio buttons, text input, and submit button.
    2. Open your KompoZer HTML editor.
    3. Open a new empty HTML file.
    4. Paste the search box into this new file.

    5. Use KompoZer to add a Form to this search box. Do not hand code the HTML. Just fill the blank in the Form dialog.

    6. In the form dialog, set Action="http://google.com/search" and name of Form as "f" and method as "get"
    (See Hint if it does not work.)
    7. Save your file on your computer. Run your HTML by Firefox. What do you get?

    8. Set method as "post"
    9. Run your HTML by Firefox. What do you get?


    只有複製時不能搜尋





    加入語法



    可以搜尋了!

    Homework 5-03-2010


    1. 請點選以下中原大學電算中心有獎徵答活動,檢視當中使用了哪些服務的 mash-up?



    ANS:
    Document and Form of Google Docs.

    2. Rich Internet Applications 泛指網頁上高度互動性設計,諸如Youtube, Google Maps 等,需要較多的運算與頻寬,請問這些應用是否可能將無障礙設計納入考量,以兼顧視障,肢體障礙,聽障者的需求?

    ANS:
    Rich Internet Applications在未來當然可能會加入無障礙的設計,網路一開始被創造出來的概念,本來應該是"以網路取代馬路",讓身體有殘缺的傷殘者,也能像一般大眾能靠自己得能力生活,而網路正是他們的最佳工具,但是在高度商業化的發展下,商人們發現這個好用的工具不僅能讓傷殘人士靠自己解決問題,也能讓一般社會大眾過更舒適的生活,而大眾才是他們的最大肥羊,因此網路便開始朝向對一般社會大眾的需求快速發展,卻忘記的網路本來的發展概念,也許在未來不久的日子裡,商人們想要拓展更大的版圖時,無障礙的應用可能也會快速的崛起.


    3. Augmented Reality (on Youtube Video) 目前有哪些研究?是列舉三個研究單位或三項研究的簡介。

    ANS:


    (1)The Invisible Train:參與The Invisible Train遊戲的玩家,能夠在含有攝影機PDA上看到軌道上實際不存在的虛擬火車,玩家必須控制火車的車速與軌道切換避免火車出軌。


    (2)Wikitude:是一個Android的"導遊軟體",軟體將Wikipedia的旅遊分類下的圖資、文字內容全部抓下來,並且用一個很好的呈現,幫助我們找到好的旅行資訊。




    (3)Looking Glass:想像未來,有一面透明玻璃,它可以…

    指路〈如果做在汽車擋風玻璃上更好〉

    查詢地理資訊

    查字典
    翻譯

    看過去照片

    查詢食物熱量〈減肥用〉

    2010年5月3日 星期一

    Lab 24: Mash-Up 4 (Calendars)

    建立你的行事曆,並與學校行事曆合併
    Google日曆-中原大學行事曆-html版本<http://www.google.com/calendar/embed?src=sth4g0ns7lj48crs0gsm3ekuns%4...>
    進入後按右下角+Google日曆即可訂閱

    Lab 23: Mash-up 3 (Blogs)

    部落格與相本的結合運用。透過部落格分享你的照片集,省去傳送大量照片的缺點,自由書寫照片中的故事。

    Create a slide show of your album. Embed the album in your blog.

    Hint: 挪威奧斯陸之行
    album





    Lab 22: Mash-up 2 (Maps)

    真實案例
    96年度全人 關懷獎 -崔媽媽科技服務工作團隊


    For housing services, compare the three websites
    http://www.housingmaps.com
    kijiji
    http://www.7house.com.tw

    List the differences in the user interface design and usability. Make comments
    by your use experiences.


    比較: 美感,直覺性,流暢,預期反應



    View in Google Spreadsheet


    Lab 21: Mash-up 1 (Publish)

    1. Upload a sample ppt to Google Docs.
    2. Publish the uploaded ppt.
    3. Embed the online ppt to your blog.

    The reason to do so is that the readers don't have to have ppt to view your presentation. For example, some users work with Linux or Unix, and others work with MacOS. They will appreciate you for doing so.



    範 例:
    如何活用 Gmail 工作坊

    2010年5月2日 星期日

    Homework 4-19-2010

    1. Lab 20: Making web pages accessible







    2.針對上次作業第三題



    "依據永恆的數位分身的說法,試舉出一個實例或反例。"



    選出至少三篇文章加以評論,在作者部落格給予回饋。每篇回饋請加註

    9644219    資管三乙   簡維辰   2.見解精闢

    9626224   電子三乙 魏子崴 1.友情贊助

    9626317   電子三丙   翁立威   2.見解精闢

    選擇此篇文章給予回饋的原因(單選),

    1. 友情贊助 2. 見解精闢 3. 隨機選取 4. 其他(請說明)



    Due: May 3, 2010

    2010年4月19日 星期一

    Lab 20: Making web pages accessible

    1. Use Firefox Accessibility Extension to identify the accessibility failures and warnings in http://google.com
    2. Fix the failures you found.

    ans

    Lab19: Firefox Accessibility Extension

    Use Firefox Accessibility Extension to check the accessibility of three sites that you visit most.
    Report the summary of all the errors and warnings for each site.

    ANS

    中原大學

     優仕網(社交網站)

    youtube

    Lab 18: Making images accessible

    1. Use KompoZer or Notepad to edit the following homepage
    at http://bloggercamp.blogspot.com/2007/01/2007.html

    You can copy and paste the content to your KompoZer.

    2. Take a look at the HTML 標籤, HTML 原始碼

    3. Save your editings and preview your webpage using Firefox

    4. Make the webpage accessible by
    adding ALT text to the images.

    5. Go to the Firefox Add-ons site for Firefox Accessibility Extension

    6. Click the "Install now" button on the add-ons website

    7. Check whether you can see the ALT text for the images by selecting the "Show Text Equivalent" function.

    ANS

    2010年4月18日 星期日

    RE:Homework 4-12-2010

    1. 依據 What is web accessibility,試針對三種不同障別舉出三種無障礙設計方式,並請探討跨障別設計是否可行?(也就是所謂的通用設計)


    ANS
    網路的使用者除了一般人以外,還有可能是視覺障礙(包括全盲、色盲、弱視等)、聽覺障礙(全聾或是重聽)、行動或有認知障礙、對閱讀或是文字理解有困難的人。另外,使用者有可能無法使用滑鼠或是鍵盤,例如有些觸控式導覽機台(Kiosk)的操作方式都是點選(Click)的方式,沒有滑鼠中拖曳(Drag)的功能;還有有些電腦老舊、或是不同的作業系統、不同的瀏覽器、不同的文字語言、連線的速度過慢等等,這些狀況都會使網頁資訊的讀取產生或多或少、或大或小的問題。所以無障礙網路空間的設置,是在製作網站時,要考量以上這些諸多情形,採取「可及性(Accessibility)」的設計,讓不同的使用者、不同的連線狀況下,都能順利讀取網頁資訊。

    2. 依據 Tutorial,HTML 3.2 與 HTML 4.0 最大差別在哪裡?
    ANS
    HTML3.0規範是由當時剛成立的W3C於1995年3月提出,提供了很多新的特性,例如表格、文字繞排和複雜數學元素的顯示。雖然它是被設計用來相容2.0版本的,但是實作這個標準的工作在當時過於複雜,在草案於1995年9月過期時,標準開發也因為缺乏瀏覽器支援而中止了。3.1版從未被正式提出,而下一個被提出的版本是開發代號為Wilbur的HTML 3.2,去掉了大部分3.0中的新特性,但是加入了很多特定瀏覽器,例如Netscape和Mosaic的元素和屬性。HTML對數學公式的支援最後成為另外一個標準MathML。


    HTML 4.0同樣也加入了很多特定瀏覽器的元素和屬性,但是同時也開始「清理」這個標準,把一些元素和屬性標記為過時的,建議不再使用它們。HTML的未來和CSS結合會更好。

    3. 依據永恆的數位分身的說法,試舉出一個實例或反例。
    ANS
    英國一對失散了27的母子,靠著網路的幫忙而重新團聚。
      62歲的(葛羅普)太太1982年和匈牙利籍的丈夫離婚,她取得三歲兒子的撫養權,可是前夫卻利用帶兒子出去玩的機會,一去不回,二十多年來,她透過各種管道尋找,也向英國駐匈牙利大使、甚至柴契爾夫人求助,不過,兒子和前夫就像人間蒸發一樣,渺無音訊
    一直到最近,她的妹妹抱著試試看的心理,在網路上輸入外甥的名字,結果螢幕上跳出了一個年輕男子在Facebook上的部落格,竟然就是她姐姐苦苦尋找了27年的兒子葛文
    葛文已經結婚,有三個小孩,今天剛好是他三十歲生日,他的父親已經去世,過去五年來,葛文也在尋找他的媽媽,Facebook讓一對分隔了二十多年的母子,重享天倫之樂。

    2010年4月12日 星期一

    Lab 17: AccessBar

    AccessBar: displays defined accesskeys in a fixed-position bar along the bottom of the window. Added 2005-04-01 (not a joke). Find how many access keys have been defined at
    www.ocac.gov.tw www.epa.gov.tw

    Continued from the above, use google to find 3 more government sites in Taiwan that enable access keys.

    ANS
    僑委會  4個


    環保署  4個

    法務部  5個

    財務部  4個

    新聞局  5個

    Lab 16: Accessibility in GreaseMonkey


    1. Google Search Keys Numbers the results in a Google search page and you can type the corresponding number to follow the link. Updated: 2005-04-26. more
    2. Google Access Keys Enables navigation through Google search results.
    Reference:
    http://dia.z6i.org/ (中文)


    ANS