簡介

aa

2012年12月17日 星期一

LAB35




做的時候因為程式上的問題,所以處理了一段時間



LAB 36






Lab 34 XML

XML
可延伸標記式語言英語eXtensible Markup Language,簡稱:XML),是一種標記式語言。標記指電腦所能理解的訊息符號,透過此種標記,電腦之間可以處理包含各種訊息的文章等。如何定義這些標記,既可以選擇國際通用的標記式語言,比如HTML,也可以使用像XML這樣由相關人士自由決定的標記式語言,這就是語言的可延伸性。XML是從標準通用標記式語言(SGML)中簡化修改出來的。它主要用到的有可延伸標記式語言、可延伸樣式語言(XSL)、XBRLXPath等。

XSLT
計算機科學中,可擴展樣式表轉換語言Extensible Stylesheet Language Transformations,簡稱XSLT)是一種對XML檔案進行轉化的語言,XSLT中的T代表英語中的「轉換」(transformation)。它是XSL(Extensible stylesheet language)規範的一部分。XSL規範的另外一部分




做的時候因為不了解XML的東西是甚麼,所以比較有阻礙

2012年12月3日 星期一

LAB29


  • CGI界定全球資訊網服務軟體與外部程式間的溝通標準,使使用者可透過瀏覽器將輸入資料送交伺服器,轉由相關程式處理。
  • 任何程式語言只要能處理標準輸、出入設備均可用來撰寫CGI程式。常用的有 C/C++, PERL, TCL, Unix shell, Visual Basic, Java, ... 等。

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


LAB 28

  • Dynamic pages, content generated by server-side programs.
  • CGI, Common Gateway Interface, for sending requests to server-side programs.


static page
Ex:
http://www.google.com/

dynamic page
Ex:
http://www.cna.com.tw/

URL that sends a request by CGI
Ex:
http://maps.google.com/maps?q=24.9586,+121.2411

Purpose of lab: 
Learn 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?

2012年12月2日 星期日

HOMEWORK 8

1. 
a. 在時速300km/h的高鐵上如何提供上網,2G, 3G, 4G, Wi-Fi可行嗎? 
Wi-Fi        主要提供定點上網
2G,4G,3G則無法滿足高鐵的在高速的情形下使用,
b. 試提出可行之道。
WiMAX技術,可容許305公里的移動速度,且傳輸資料量也遠大於使用衛星定位的方式。


2. 在高鐵沿線兩側部建Wi-Fi基地台(Access Point),能否解決高鐵上網問題,為什麼?
Wi-Fi為提供定點上網之技術,高速行動中的高鐵並無法接收到訊號。