Sencha Touch Cookbook, 2/e(Paperback)
暫譯: Sencha Touch 食譜,第二版(平裝本)
Ajit Kumar
- 出版商: Packt Publishing
- 出版日期: 2013-08-23
- 售價: $2,030
- 貴賓價: 9.5 折 $1,929
- 語言: 英文
- 頁數: 418
- 裝訂: Paperback
- ISBN: 1782169180
- ISBN-13: 9781782169185
海外代購書籍(需單獨結帳)
相關主題
商品描述
This cookbook-style tutorial will make it easy to create multi-platform applications for touch-based mobile devices. By learning Sencha Touch you’ll be skilling-up in one of the most popular HTML5 and JavaScript frameworks around.
Overview
- Learn every aspect of creating, building, packaging, and running a Sencha Touch application
- Integrate your applications with different data sources and present them differently using list, data view, charts, and so on
- Package your application with or without Cordova/PhoneGap and run them on a desktop, emulator, and a real mobile device
In Detail
Sencha Touch is one of the most popular HTML5 and JavaScript frameworks for building touch-based mobile devices. Using Sencha Touch, you can create applications for touch mobile devices with ease, and once created, the same application works on multiple platforms – iOS, Android, Blackberry – without having to change anything.
Sencha Touch Cookbook, Second Edition is a practical, hands-on guide with easy to follow recipes that provide you with clear, step-by-step instructions, which will help you take complete advantage of the power of Sencha Touch 2 and will help you to build amazing applications for the mobile world.
Sencha Touch Cookbook, Second Edition starts by showing you how to set up your project for development, then walks through building, packaging, and running it in a browser, emulator, or a real device. With the groundwork set, the subsequent recipes of the book take you through the different UI components offered by the framework and explains how to use them, when to use them, and, if needed, how to extend them for your own application need.
You will also learn how to model your client side data, load data from different data sources, and use them on the data-centric UI components. The later parts of the book cover the practical day-to-day problems like how to create a custom view, how to take your application offline and support automatic sync, how to utilize the Geolocation to learn more about the user, how to utilize device features such as camera, contact, orientation, and how to link your application behaviour with the device buttons such as Back, Search, and so on. At the end, the book shows you how to create native packages without using PhoneGap/Cordova using Sencha Cmd.
Using this book, you will learn everything about using Sencha Touch classes and components to build mobile applications that can run across multiple platforms.
What you will learn from this book
- Set up your project for development, then build, package, and run it in a desktop browser, emulator, or a mobile device
- Understand form panels and various form fields and their behaviour
- Learn about different layouts to create well structured UI
- Create complete custom views with user interaction
- Work with different types of data and data sources, model them, and use them on components
- Define new components and extend the framework components to suite your need
- Get your application work in offline mode with automatic sync
Approach
The book is written in a Cookbook style, presenting examples in the style of recipes, allowing you to go directly to your topic of interest or follow topics throughout a chapter to gain in-depth knowledge.
商品描述(中文翻譯)
這本食譜式的教程將使您輕鬆創建適用於觸控型移動設備的多平台應用程式。透過學習 Sencha Touch,您將掌握當前最受歡迎的 HTML5 和 JavaScript 框架之一。
概述
- 學習創建、構建、打包和運行 Sencha Touch 應用程式的各個方面
- 將您的應用程式與不同的數據來源整合,並使用列表、數據視圖、圖表等以不同方式呈現它們
- 使用或不使用 Cordova/PhoneGap 打包您的應用程式,並在桌面、模擬器和真實移動設備上運行它們
詳細內容
Sencha Touch 是構建觸控型移動設備最受歡迎的 HTML5 和 JavaScript 框架之一。使用 Sencha Touch,您可以輕鬆創建觸控移動設備的應用程式,並且一旦創建,該應用程式可以在多個平台上運行——iOS、Android、Blackberry——而無需進行任何更改。
《Sencha Touch 食譜(第二版)》是一本實用的、動手操作的指南,提供易於遵循的食譜,為您提供清晰的逐步指導,幫助您充分利用 Sencha Touch 2 的強大功能,並幫助您為移動世界構建驚人的應用程式。
《Sencha Touch 食譜(第二版)》首先展示如何設置開發項目,然後逐步講解如何在瀏覽器、模擬器或真實設備中構建、打包和運行它。基礎工作完成後,本書的後續食譜將帶您了解框架提供的不同 UI 元件,並解釋如何使用它們、何時使用它們,以及在需要時如何擴展它們以滿足您的應用需求。
您還將學習如何建模客戶端數據、從不同數據來源加載數據,並在以數據為中心的 UI 元件上使用它們。本書的後半部分涵蓋了日常實際問題,例如如何創建自定義視圖、如何使應用程式離線運行並支持自動同步、如何利用地理定位來了解更多用戶信息、如何利用設備功能(如相機、聯絡人、方向)以及如何將應用程式行為與設備按鈕(如返回、搜索等)連結。在最後,本書展示了如何使用 Sencha Cmd 創建不使用 PhoneGap/Cordova 的原生包。
通過這本書,您將學習有關使用 Sencha Touch 類和元件來構建可以跨多個平台運行的移動應用程式的所有知識。
您將從這本書中學到的內容
- 設置開發項目的環境,然後在桌面瀏覽器、模擬器或移動設備上構建、打包和運行它
- 理解表單面板和各種表單字段及其行為
- 學習不同的佈局以創建結構良好的 UI
- 創建完整的自定義視圖以進行用戶互動
- 使用不同類型的數據和數據來源,對其建模並在元件上使用
- 定義新元件並擴展框架元件以滿足您的需求
- 使您的應用程式在離線模式下運行並支持自動同步
方法
本書採用食譜式的寫作風格,通過示例以食譜的形式呈現,讓您可以直接跳到感興趣的主題,或在整個章節中跟隨主題以獲得深入的知識。