jQuery Mobile Cookbook

Chetan K Jain

  • 出版商: Packt Publishing
  • 出版日期: 2012-10-15
  • 售價: $1,980
  • 貴賓價: 9.5$1,881
  • 語言: 英文
  • 頁數: 320
  • 裝訂: Paperback
  • ISBN: 1849517223
  • ISBN-13: 9781849517225
  • 相關分類: jQuery
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Over 80 recipes with examples and practical tips to help you quickly learn and develop cross-platform applications with jQuery Mobile

Overview

  • Create applications that use custom animations and use various techniques to improve application performance
  • Use and customize the various controls such as toolbars, buttons, and lists with custom icons, icon sprites, styles, and themes
  • Write simple but powerful scripts to manipulate the various configurations and work with the events, methods, and utilities which are provided by the framework.

In Detail

jQuery Mobile is an award winning, HTML5/CSS3 based open source cross-platform UI framework. It offers a very cool and highly customizable UX. It is built on the popular jQuery library and uses declarative coding making it easy to use and learn. It is the market leader today considering the numerous browsers and platforms that it supports.

"jQuery Mobile Cookbook" presents over a hundred recipes written in a simple and easy manner. You can quickly learn and start writing code immediately. Advanced topics such as using scripts to manipulate, customize, and extend the framework are also covered. These tips address your common everyday problems. The book is very handy for both beginner and experienced jQuery Mobile developers.

You start by developing simple apps using various controls and learn to customize them. Later you explore using advanced aspects like configurations, events, and methods.

Develop single and multi-page applications. Use caching to boost performance. Use custom transitions, icon sprites, styles, and themes. Learn advanced features like configurations, events, and methods. Explore future trends by using HTML5 new features and semantics with jQuery Mobile.

"jQuery Mobile Cookbook" is an easy read and is packed with practical tips and screenshots.

What you will learn from this book

  • Create single-page and multi-page applications that use custom CSS and JavaScript transitions; improve performance using Prefetch, DOM-Cache, and Application Cache
  • Use fixed and full screen toolbars, navbars, and buttons; customize them with your own icons, icon sprites, and styles
  • Use XML and JSON data in your application; format page content using layout grids, collapsibles, and nested accordions
  • Build accessible forms; use form controls like flip switches, sliders, and select menus; validate and submit forms using Ajax
  • Use various types of lists such as Inset, Numbered, Nested, Read-only, and Split Button lists; manipulate lists using JavaScript
  • Use JavaScript to dynamically create and initialize controls, load and change pages, handle events; tweak and customize the framework configurations
  • Explore HTML5 semantics and features such as Local Storage, Session Storage, History, 2D Canvas, 3D, Geolocation, Web Workers, Audio, and Video
  • Use custom fonts and backgrounds, upgrade themes, override existing themes; generate and share new themes using the Theme Roller tool

Approach

This book is written in Cookbook style with a lot of practical tips, code, and step-by-step examples, to ease and quicken your learning curve.

Who this book is written for

If you are a beginner with jQuery/JavaScript skills, this book offers you numerous examples to get you started.

If you are a seasoned developer, this book lets you explore jQuery Mobile in greater depth.

商品描述(中文翻譯)

超過 80 道食譜,附有範例和實用技巧,幫助您快速學習和開發跨平台應用程式,使用 jQuery Mobile。

概述
- 創建使用自定義動畫的應用程式,並使用各種技術來改善應用程式性能。
- 使用和自定義各種控制項,如工具列、按鈕和列表,並搭配自定義圖示、圖示精靈、樣式和主題。
- 撰寫簡單但強大的腳本,以操作各種配置,並使用框架提供的事件、方法和工具。

詳細內容
jQuery Mobile 是一個獲獎的、基於 HTML5/CSS3 的開源跨平台 UI 框架。它提供了非常酷且高度可自定義的用戶體驗。它建立在流行的 jQuery 函式庫上,並使用聲明式編碼,使其易於使用和學習。考慮到它支援的眾多瀏覽器和平台,今天它是市場的領導者。

《jQuery Mobile Cookbook》提供了超過一百道以簡單易懂的方式撰寫的食譜。您可以快速學習並立即開始編寫程式碼。書中還涵蓋了使用腳本來操作、自定義和擴展框架的進階主題。這些技巧針對您日常常見的問題。這本書對於初學者和有經驗的 jQuery Mobile 開發者都非常實用。

您將從開發使用各種控制項的簡單應用程式開始,並學習如何自定義它們。接著,您將探索使用配置、事件和方法等進階方面。

開發單頁和多頁應用程式。使用快取來提升性能。使用自定義過渡、圖示精靈、樣式和主題。學習進階功能,如配置、事件和方法。透過使用 HTML5 的新功能和語義,探索未來趨勢,搭配 jQuery Mobile。

《jQuery Mobile Cookbook》是一本易讀的書籍,充滿實用技巧和螢幕截圖。

您將從這本書中學到的內容
- 創建使用自定義 CSS 和 JavaScript 過渡的單頁和多頁應用程式;使用 Prefetch、DOM-Cache 和 Application Cache 改善性能。
- 使用固定和全螢幕工具列、導航列和按鈕;使用您自己的圖示、圖示精靈和樣式自定義它們。
- 在應用程式中使用 XML 和 JSON 數據;使用佈局網格、可折疊元件和嵌套手風琴格式化頁面內容。
- 建立可存取的表單;使用翻轉開關、滑桿和選擇菜單等表單控制項;使用 Ajax 驗證和提交表單。
- 使用各種類型的列表,如內嵌、編號、嵌套、唯讀和分割按鈕列表;使用 JavaScript 操作列表。
- 使用 JavaScript 動態創建和初始化控制項,載入和更改頁面,處理事件;調整和自定義框架配置。
- 探索 HTML5 的語義和功能,如本地儲存、會話儲存、歷史紀錄、2D Canvas、3D、地理位置、Web Workers、音頻和視頻。
- 使用自定義字型和背景,升級主題,覆蓋現有主題;使用 Theme Roller 工具生成和分享新主題。

方法
這本書以食譜風格撰寫,包含大量實用技巧、程式碼和逐步範例,以簡化和加快您的學習曲線。

本書的讀者對象
如果您是具備 jQuery/JavaScript 技能的初學者,這本書提供了眾多範例幫助您入門。

如果您是經驗豐富的開發者,這本書讓您更深入地探索 jQuery Mobile。