HTML5 Hacks (Paperback)

Jesse Cravens, Jeff Burtoft

  • 出版商: O'Reilly
  • 出版日期: 2013-01-01
  • 定價: $1,150
  • 售價: 8.0$920
  • 語言: 英文
  • 頁數: 500
  • 裝訂: Paperback
  • ISBN: 1449334997
  • ISBN-13: 9781449334994
  • 相關分類: HTML
  • 立即出貨 (庫存 < 4)

買這商品的人也買了...

商品描述

With 90 detailed hacks, expert web developers Jesse Cravens and Jeff Burtoft demonstrate intriguing uses of HTML5-related technologies. Each recipe provides a clear explanation, screenshots, and complete code examples for specifications that include Canvas, SVG, CSS3, multimedia, data storage, web workers, WebSockets, and geolocation.

You’ll also find hacks for HTML5 markup elements and attributes that will give you a solid foundation for creative recipes that follow. The last chapter walks you through everything you need to know to get your HTML5 app off the ground, from Node.js to deploying your server to the cloud.

Here are just a few of the hacks you’ll find in this book:

  • Make iOS-style card flips with CSS transforms and transitions
  • Replace the background of your video with the Canvas tag
  • Use Canvas to create high-res Retina Display-ready media
  • Make elements on your page user-customizable with editable content
  • Cache media resources locally with the filesystem API
  • Reverse-geocode the location of your web app user
  • Process image data with pixel manipulation in a dedicated web worker
  • Push notifications to the browser with Server-Sent Events

商品描述(中文翻譯)

這本書中,網頁開發專家Jesse Cravens和Jeff Burtoft展示了90個詳細的技巧,展示了HTML5相關技術的有趣應用。每個技巧都提供清晰的解釋、截圖和完整的代碼示例,包括Canvas、SVG、CSS3、多媒體、數據存儲、Web Workers、WebSockets和地理位置等規範。

你還會找到一些HTML5標記元素和屬性的技巧,這些技巧將為後續的創意技巧提供堅實的基礎。最後一章將引導你了解從Node.js到將服務器部署到雲端所需的一切。

以下是本書中的一些技巧:

- 使用CSS變換和過渡效果製作iOS風格的卡片翻轉
- 使用Canvas標籤替換視頻的背景
- 使用Canvas創建高分辨率的Retina Display媒體
- 使頁面上的元素可由用戶自定義,具有可編輯的內容
- 使用文件系統API在本地緩存媒體資源
- 反向編碼網頁應用用戶的地理位置
- 在專用的Web Worker中處理圖像數據進行像素操作
- 使用服務器推送事件將通知推送到瀏覽器

以上是這本書中的一部分技巧。