JavaScript Cookbook (Paperback) (JavaScript 食譜)

Shelley Powers

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

相關主題

商品描述

Why reinvent the wheel every time you run into a problem with JavaScript? This cookbook is chock-full of code recipes that address common programming tasks, as well as techniques for building web apps that work in any browser. Just copy and paste the code samples into your project -- you’ll get the job done faster and learn more about JavaScript in the process.

You'll also learn how to take advantage of the latest features in ECMAScript 5 and HTML5, including the new cross-domain widget communication technique, HTML5's video and audio elements, and the drawing canvas. You'll find recipes for using these features with JavaScript to build high-quality application interfaces.

  • Create interactive web and desktop applications
  • Work with JavaScript objects, such as String, Array, Number, and Math
  • Use JavaScript with Scalable Vector Graphics (SVG) and the canvas element
  • Store data in various ways, from the simple to the complex
  • Program the new HTML5 audio and video elements
  • Implement concurrent programming with Web Workers
  • Use and create jQuery plug-ins
  • Use ARIA and JavaScript to create fully accessible rich internet applications

商品描述(中文翻譯)

為什麼每次在使用JavaScript時遇到問題都要重新發明輪子呢?這本食譜書充滿了解決常見編程任務的代碼示例,以及構建在任何瀏覽器中運行的Web應用程序的技巧。只需將代碼示例複製並粘貼到您的項目中,您將能更快地完成工作並更多地了解JavaScript。

您還將學習如何利用ECMAScript 5和HTML5的最新功能,包括新的跨域小部件通信技術、HTML5的視頻和音頻元素以及繪圖畫布。您將找到使用這些功能與JavaScript構建高質量應用程序界面的食譜。

以下是一些內容亮點:
- 創建交互式Web和桌面應用程序
- 使用JavaScript對象,如String、Array、Number和Math
- 使用可縮放矢量圖形(SVG)和畫布元素進行JavaScript編程
- 從簡單到複雜的方式存儲數據
- 編程新的HTML5音頻和視頻元素
- 使用Web Workers實現並發編程
- 使用和創建jQuery插件
- 使用ARIA和JavaScript創建完全可訪問的豐富互聯網應用程序