顯示具有 【隨堂製作】 標籤的文章。 顯示所有文章
顯示具有 【隨堂製作】 標籤的文章。 顯示所有文章

2008年12月29日 星期一

Lab Web 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.

Lab 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.

Lab Site Traffic Metrics

1. Enter Sitemeter.


2. Put a Sitemeter in your own blog.


3. Check the site meter to see the daily traffic chart, the recent visitors by locations.









2008年12月22日 星期一

Lab Movie Player

1. Go to Laszlo and enter (Laszlo in 10 minutes).
2. Study and play around the "scripting" and "video" examples.

3. Use this script to control movie playing.

4. If you push the "pause" button, the movie pauses.

5. If you push the "resume" button, the movie resumes.


2008年12月15日 星期一

Lab DOM



[Lab]


1. Open NVu




,write a code to generate the table of 9*9 products. (九九乘法表)




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




Lab Create Image using DOM




1. Open Nvu


2. Hand code a javascript that loads an image from Internet based onthe 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.






2008年12月1日 星期一

Lab XML (2)

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.




Lab XML

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

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.










2008年11月24日 星期一

Lab Form and Action, Part 2

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 Checking dead links

W3C Link Check 可以檢查 dead links, 而且只要輸入首頁,
就可以依據指定深度自動向下檢查, 而且也可以檢查對外連結(外站).


Link Checker 首先要設定檢查深度(Check linked documents recursively, recursion depth=?), 如果沒有設定, 它就只有檢查首頁.
因此如果出現 deadlink, 就是在首頁.

如果你設定檢查深度, 它就會逐一檢查此深度內的每一頁,
在檢查某一頁開始時, 它會先顯示現正在檢查的 URL, 然後
在逐一爬行該頁內每個 link.



報表輸出很漂亮. 請參閱

http://validator.w3.org/checklink

請檢查三個你最常使用的網站, 看看連結的品質如何?
紀錄有錯誤連結 (HTTP Error 404) 的次數.


(遠傳電信)

(中原大學)




(太平洋SOGO百貨)

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 Nvu HTML editor.
3. Open a new empty HTML file.
4. Paste the search box into this new file.


5. Use Nvu 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?



2008年11月17日 星期一

Lab 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.

 

 

 (修改前)





(修改後)




Lab Mashup 4



Create a slide show of your album.




Lab Mashup 3

Check it out! Real time satellite tracking

It is a mashup of Google Map and satellite teacking data.

Use the website to track Formosa III satellite.

More applications of Google Maps








Lab Mashup 2



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

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


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



(1)美感: 個人認為在7house首頁上幾乎都是廣告,看起來較多采多姿,但在收尋後則為條列的方式顯示,
變得較無美感可言.而housingmaps和urmap兩者則是差不多,都皆為地圖來顯示,較清晰可見週
遭相關的環境.

(2)直覺性&流暢: 三者在直覺性和流暢方面上,感覺大致差不多好使用,但在有地圖配合使用上則較為方便,
不需要在另外收尋地圖或週遭相關資訊.

(3)預期反應:在這三個網頁上都可以很清楚的明白網頁的功能性,但在kijiji裡多提供了許多生活上的相
關資訊,例如:求職、求學、旅遊等等資訊,讓人可以很方便的收尋到其他想知道的資訊.

Lab Mashup



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.

Hint: a sample work





2008年11月3日 星期一

Lab: Making images Accessible



1. Use Nvu or Notepad to edit the following homepageat http://bloggercamp.blogspot.com/2007/01/2007.htmlYou can copy and paste the content to your Nvu.


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


3. Save your editings and preview your webpage using Firefox


4. Make the webpage accessible byadding ALT text to the images.




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.

Lab: Access keys


1. Use
Firefox Accessibility Extension to identify the access keys defined in http://www.epa.gov.tw/
2. Use GreaseMonkey to detect the access keys defined in http://www.epa.gov.tw/
Hint: AccessBar: displays defined accesskeys in a fixed-position bar along the bottom of the window.
3. Are the two results in the above the same?





Lab 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.


(1)無名小站


(2)YAHOO




(3)FireFox開始頁





2008年10月27日 星期一

Lab: More on HTML

Headings
1. Copy and paste the Headings example at
http://www.w3schools.com/html/html_primary.asp
2. Enter http://www.w3schools.com/html/tryit.asp?filename=tryhtml_basic

3. What kind of effects can you see?
=> 標題由h1到h6,而其字體大小由h1到h6逐漸變小









Lists
4. Copy and paste the Headings example athttp://www.w3schools.com/html/html_lists.asp
5. Enter http://www.w3schools.com/html/tryit.asp?filename=tryhtml_basic
6. What kind of effects can you see?
=> Unordered Lists 是在字的前面顯示項目符號;Ordered Lists 是顯示編號