Instant Sencha Touch - Hiren J. Dave - E-Book

Instant Sencha Touch E-Book

Hiren J. Dave

0,0
19,19 €

-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.

Mehr erfahren.
Beschreibung

Sencha Touch, a high-performance HTML5 mobile application framework, is the cornerstone of the Sencha HTML5 platform. Built for enabling world-class user experiences, Sencha Touch is the only framework that enables developers to build fast and impressive apps that work on iOS, Android, BlackBerry, Kindle Fire, and more.
Instant Sencha Touch is a practical hands on guide that provides you with all you need to explore the Sencha Touch framework and start building high performance, cross platform mobile applications with rich user interfaces. It also covers native deployment of Sencha Touch applications on various platforms.
Instant Sencha Touch is a step-by-step guide that will explain you everything from downloading Sencha Touch SDK to setting up the development environment, and building applications. You will start with a quick overview of the Sencha Touch and work your way through understanding the class structure, and basic components and layouts of the Sencha Touch. You will also cover interesting features like animations, adaptive layout, data packages, local storage support, and so on. You will also see how to build your own theme and styles and deploy Sencha Touch app as native apps.
You will also learn about MVC architecture for building Sencha Touch applications. Finally you will take a look at the Phonegap (Cordova) build and Cordova SDK to deploy Sencha Touch application as native application.

Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:

EPUB
MOBI

Seitenzahl: 68

Veröffentlichungsjahr: 2013

Bewertungen
0,0
0
0
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



Table of Contents

Instant Sencha Touch
Credits
About the Author
www.packtpub.com
Support files, eBooks, discount offers and more
packtlib.packtpub.com
Why Subscribe?
Free Access for Packt account holders
1. Instant Sencha Touch
So, what is Sencha Touch?
A Sencha Touch application as a web application
A Sencha Touch application as a native application
Installation
Downloading Sencha Touch
Setting up the web server on Mac
Setting up the web server on Windows
Introduction to Sencha Touch SDK
Introduction to the Sencha Touch class system
Defining a class
Defining the configuration of a class
Creating an instance of a class
Installing Xcode
Installing Android SDK
Quick start – building a Hello World application
The Hello World application
Introduction to layouts
Panel – a basic container
The form panel – building rich input forms
Form fields – nifty input fields
The tab panel – a tabbed set of views
The navigation view – a smart way of navigation
Carousels – swipe between views
Introduction to data storage
List – showing a list of data with custom styles
XTemplate – an advanced template class
Top 12 features you need to know about
Animations
Adaptive layouts
Sencha Touch component queries
Event handling
Sencha Touch charts
Offline support
Fetching remote data with Ajax
The MVC structure
Model
View
Controller
Store
A sample application
Theming in Sencha Touch
What is SASS?
Variables
Mixins
Native packaging of Sencha Touch applications
Using PhoneGap Build
Using SDK
Accessing hardware and native APIs
People and places you should get to know
Sencha Touch forum
Sencha Touch App Gallery
Sencha Touch in social media – LinkedIn, Facebook, Google+, Twitter, and Quora
LinkedIn groups
Facebook pages
Google+ page
Twitter pages
Quora page
Sencha Touch blogs

Instant Sencha Touch

Instant Sencha Touch

Copyright © 2013 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

First published: October 2013

Production Reference: 1241013

Published by Packt Publishing Ltd.

Livery Place

35 Livery Street

Birmingham B3 2PB, UK.

ISBN 978-1-78216-598-9

www.packtpub.com

Credits

Author

Hiren J. Dave

Acquisition Editor

Rebecca Youe

Commissioning Editor

Shaon Basu

Technical Editor

Amit Ramadas

Copy Editor

Alfida Paiva

Project Coordinator

Sherin Padayatty

Proofreader

Kelly Hutchinson

Production Coordinator

Alwin Roy

Cover Work

Alwin Roy

Cover Image

Aparna Bhagat

About the Author

Hiren J. Dave is a software engineer who graduated from Sardar Patel University. He has more than five years' experience in the enterprise software industry. He is currently working as a Technical Head in The Design Shop. Hiren is passionate about researching and learning new technologies. He is also passionate about mobile application development. His expertise lies in developing cross-platform and native mobile application development. He also shares his knowledge with the world through his blog, http://davehiren.blogspot.in.

I would like to thank my family and friends for their support and encouragement.

www.packtpub.com

Support files, eBooks, discount offers and more

You might want to visit www.packtpub.com for support files and downloads related to your book.

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.packtpub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at <[email protected]> for more details.

At www.packtpub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.

packtlib.packtpub.com

Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books.

Why Subscribe?

Fully searchable across every book published by PacktCopy and paste, print and bookmark contentOn demand and accessible via web browser

Free Access for Packt account holders

If you have an account with Packt at www.packtpub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access.

Chapter 1. Instant Sencha Touch

Welcome toInstant Sencha Touch. This book is a hands-on guide that provides you with all that you need to explore the Sencha Touch framework and start building high performance cross-platform mobile applications. The book contains the following sections:

So, what is Sencha Touch? is a quick introductory section on Sencha Touch for new users. It explains the Sencha Touch framework and some of its features. This will help you understand more about Sencha Touch.

Installation gives you step-by-step details for downloading Sencha Touch SDK, understanding the SDK, setting up the development environment, and installing some of the useful tools for development.

Quick start – building a Hello World application gives you further introduction to the most used components and features of Sencha Touch in real-time applications. It includes the necessary UI components and data packages.

Top 12 features you need to know about introduces you to the most amazing features of Sencha Touch, such as animation, adaptive layout, event handling, component queries, charts, and the MVC structure. It also introduces you to native deployment and creating custom themes.

People and places you should get to know gives you references to resources available on various social media to know more about Sencha Touch.

So, what is Sencha Touch?

Sencha Touch is a powerful JavaScript framework powered by HTML5 and CSS 3 web standards built for mobile web. Sencha Touch enables your web applications to replicate almost all native UI features. Nowadays, most of the mobile devices support HTML5 and CSS 3 web standards; that's why Sencha Touch is widely recognized as a cross-platform development framework. It's packed with features such as smoother scrolling, animation, adaptive layouts, native packaging, and offline support. It has a rich set of controls such as carousels, lists, forms, and tabs to replicate native UI features of most of the mobile devices available in the market. All the components are touch-optimized and support adaptive layout. Sencha Touch uses vector graphics, so it supports almost all the resolutions of various mobile devices without much tweaking, and with adaptive layout, it supports orientations such as landscape and portrait. Also, it can quickly respond to switching requests from landscape to portrait and vice versa. Sencha Touch also supports data storage. Sencha Touch applications work on almost all the mobile platforms such as Apple, Android, BlackBerry, and Windows.

It's not just a framework for developing web applications. With the support of native packaging, Sencha Touch can be used to develop native applications. There are a number of options for native packaging, such as Cordova (earlier PhoneGap) and Sencha Touch native wrapper. This means that one single Sencha Touch application can be deployed to more than one mobile platform. It drastically saves time and the efforts of any developer.

A Sencha Touch application as a web application