顯示具有 HTML5 標籤的文章。 顯示所有文章
顯示具有 HTML5 標籤的文章。 顯示所有文章

2010年11月8日 星期一

HTML5 Websocket

Speaker - Chia-Liang Kao, clkao
http://clkao.vox.com/

Websocket API
http://dev.w3.org/html5/websockets/

Websocket protocol
http://www.whatwg.org/specs/web-socket-protocol/

WebSocket的應用
- plurk
- facebook

Websocket出現前 Server跟Client溝通的技術
- Ajax
- Comet (http://en.wikipedia.org/wiki/Comet_(programming))
(兩個名字來源其實都是美國知名的清潔劑品牌 像魔術靈之類的)

Websocket的URI
ws://XXXhost.com
wss://XXXhost.com (多個s代表用了SSL)

WebSocket目前不support傳送binary data
但即使能support binary , JavaScript如何來處理這些data也是一個問題

另外如果有作多個connection的話 也是要client自己來maintain這些connections
(Multiplexing)

WebSocket Server端的軟體

Web::Hippie:AnyEvent
http://clkao.vox.com/library/post/hippie---getting-started.html

講者自己寫的package

講一下而已 大概沒一個小時就講完了

2010年8月11日 星期三

HTML5 Boilerplate

HTML5 Boilerplate is the professional badass's base HTML/CSS/JS template for a fast, robust and future-proof site.
After more than two years in iterative development, you get the best of the best practices baked in: cross-browser normalization, performance optimizations, even optional features like cross-domain ajax and flash. A starter apache .htaccess config file hooks you the eff up with caching rules and preps your site to serve HTML5 video, use @font-face, and get your gzip zipple on.
Boilerplate is not a framework, nor does it prescribe any philosophy of development, it's just got some tricks to get your project off the ground quickly and right-footed.

...


摘自:http://html5boilerplate.com/

wibiya widget