星期日, 3月 27, 2005

Lab Zip Code Web Service.

"we make a living by what we get, we make a life by what we give"

Test Drive a web service
1. Take a look at the schema of Zip Code Web Service.
2. Use the lincense key eUhOTOJs9D2mcHU6SiL0CyMQvpJ3I3PqR2/fpRq4BOApWxzSzw7wD2FQ2mOmHEk+pq6iRBomQ4wuQl5EGOgfCitYgkQ3N4vl
to use this web service or subsbcribe to it at Zip codes lookup To apply for the license key by yourselves, be sure to have an email box to receive it.
2. Click GetPlacesInside and play with this operation
3. Enter 61801 as zip code and see what you get in the result.
4. Try again 92345 as zip code

Question: Why do you need a license key to use the service?


星期二, 3月 15, 2005

3/28 XML and Web Services

"tell me and I'll forget; show me and I may remember; involve me and I'll understand"

CGI
(page 188~193 of Text)

Lab VI: Using HTML Form

Understanding XML
(page 187~188 of Text)

XML examples:

Exercise:
Subscribe to Yam News XML by Firefox.

Lab VII: Test drive a web service with XML.



星期一, 3月 14, 2005

3/21 hypertext, http, WWW, HTML

Introduction to Internet
hypertext, http, WWW, HTML
(page 181~187 of Text)

Lab V: Create a homepage using Nvu

Lab Accessible Webpages

Use Nvu to edit a homepage
like the blog at http://maplepoem.blogspot.com/2005/03/blog-post_111070085865304732.html

1. You 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. Create a clickable link at the term 中原大學 so that
this link goes to http://www.cycu.edu.tw
5. Make the webpage accessible by
(1) adding ALT text to the images and
(2) adding a title to the URL link at Step 4.
6. Take a second look at the HTML 標籤, HTML 原始碼
Look for the differences you have made after doing Step 4 & Step 5.
7. Save your editings again and preview your webpage using Firefox
8. Download web accessibility validator Freego
9. Use Freego to examine whether your webpage is accessible.
"通過"的欄位應該是 Yes 才算通過

3/14 Homework

1. Use Google to search. List some of the critiques about Skype.
Make comments on each of these critiques.

2. RSS and Atom are two methods that can be used to support site feed. Explain RSS and Atom with examples.
[Hint: Blog uses Atom as site feed. At Step 4 of Lab IV, you already learn how to locate the Atom file of the blog. Yam News uses RSS. View its source and try to find the URL following "rss+xml"]

特別注意:
利用 Post your comment 貼上你的blog 第三次作業時, 請註明 "
作業三"
同時讓 "
作業三" 這三個字可以直接點選進入到你的作業三,
只連到你的Blog 首頁是不精確的.

Reading Assignments
1. Read page 181~195, page 41~46

Lab Setting your blog

Setting your blog
1. set date language to Chinese (Taiwan), 進入 Settings-> Formatting
2. set Time Zone to Taipei, 進入 Settings-> Formatting
3. set Comment Timestamp format to 星期 一, 三月十四日, 2005, 07:48:00 下午,
進入 Settings->Comments
4. Take a look at the site feed, 進入 Settings-> Site Feed
5. At your own blog, create a clickable link back to http://iapblog.blogspot.com 進入 Posting-> Create
6. Create a new blog, and then delete it. 進入 Settings-> Basic

星期日, 3月 13, 2005

Web Basics

N-Tier
(page 193~194, Chap 2.1)

client-server, client access to database server
3-tier, business logic on the application server
N-tier, using on-the-shelf components