顯示具有 Web 程式設計 標籤的文章。 顯示所有文章
顯示具有 Web 程式設計 標籤的文章。 顯示所有文章

2010年4月22日 星期四

[Web 程式設計]HTML - 基本 tag 介紹

HTML算是一種最單純的網頁設計語言,其全名為 Hyper Text Makeup Language 。早期的HTML僅能做簡單的靜態網頁編輯,但隨網路運用的快速發展,越來越多衍生性的技術被開發出來,進而網頁的動態功能越來越豐富、完善。

2010年4月21日 星期三

[Web 程式設計]JavaScript - 倒數計時器

今天練習了第一個 JavaScript 程式,希望做一個能動態更新網頁, 馬上想到一個還不錯的題目,就是寫一個國防役結束倒數計時器。此程式需要抓系統時間與計算時間差,很容易的在 date 找到我要的功能,另外我需要讓網頁不斷的更新,因此又找到一個 timer 的範例,於是我完成了這個 JavaScript 的小程式:

2010年4月14日 星期三

[Web 程式設計]程式語言概述

要了解網路程式設計前先說明一下其架構,網路的應用在於溝通,而電腦之間的溝通有時是平等地位的如 pear-to-pear ,但大多應用而言,它們會是一種 client-server 的機制,簡而言之就是一端是需求端而另一端就是提供服務與功能的角色。而今天我們先將焦點放在這種 client 與 server 的工作機制上。
Server程式設計語言:
CGI、ASP、PHP‧

web程式設計教學網站 W3School

2010年4月13日 星期二

[Web 程式設計]初體驗

最近非常熱衷於使用一些網路服務系統,也深刻的體會網路系統迷人之處。而今天再我新建立的網誌中發現一個叫做「小工具」的外掛系統,讓使用者可以加入網路上有人開發好的小工具,同時我們也可以自己開發一些小工具放到網路上供大家使用,而在 google blogger 中此小工具的英文名稱為 gadgets 以下為 google 的介紹, 出自於 Gadgets for Blogger

At Google, gadgets are simple HTML and JavaScript applications that can be embedded in web pages and other apps, including Blogger.
Every Blogger blog is a gadget container. What's more, every blog is an OpenSocial gadget container powered by Friend Connect. That means as a gadget developer you can leverage social APIs to build engaging tools for bloggers and their audience.
When you build a gadget for Blogger, it becomes available to millions of active bloggers. Just submit your gadget to us, and it will immediately surface in Blogger.com where users can easily browse, configure, and add your gadget to their blog's sidebar.
So now that you know Blogger is a great distribution platform for your gadget, what are you waiting for? Get started building gadgets for Blogger now!
簡而言之就是我們可以用 HTML 與 JavaScript 開發小工具,而 Blogger 已提供一完整的環境讓我們可以快速整合至我們的網頁。另外一個很重要的東西, Google 提供了一套新的 API 稱之為 Blogger Data API 讓使用者能直接檢視或編輯 Blogger 內容,以下為網站說明:
The Blogger Data API allows client applications to view and update Blogger content in the form of Google Data API feeds. Your client application can use the Data API to create new blog posts, edit or delete existing posts, and query for posts that match particular criteria.
Here are some of the things you can do with the Blogger Data API:
  • Add a running list of blog posts and comments to a site.
  • Create a desktop application or plugin that allows users to create and post entries from the desktop.
  • Create a blog aggregator application.
雖然目前對網路程式設計仍一知半解,但經過這次對框架的了解過後,也算是一個好的開始。