By Lee Boonstra

Get hands-on event construction fast cellular internet apps with Sencha contact 2.3, the consumer interface javascript framework outfitted particularly for the cellular internet. With this booklet, you’ll find out how to construct a whole contact software, referred to as discover a Cab, that has the appear and feel of a local app on Android, iOS, home windows, and BlackBerry devices.
In the method, you’ll paintings with Sencha’s model-view-controller (MVC) parts for shape dealing with, styling, integration with open air info, and different components. The Sencha contact studying curve should be steep, but when you’re accustomed to javascript, HTML5, CSS3, and JSON, this advisor gets you in control via real-world examples.
Learn the basics, together with the category and format systems
Use the Sencha MVC structure to constitution your code
Implement facts versions and shops, and create an occasion controller
Make distant connections by means of imposing server proxies
Save information offline by means of enforcing shopper proxies
Work with view elements comparable to maps, lists, and floating panels
Implement and deal with kinds, and build a customized theme
Create construction and local construct applications

Show description

Read or Download Hands-On Sencha Touch 2 A Real-World App Approach PDF

Similar tablets & e-readers books

Kicking Butt with MIDP and MSA:Creating Great Mobile Applications

The discharge of MIDP 2. zero and the advent of the hot cellular carrier structure (MSA) are producing momentum for the Java ME platform. As increasingly more Java-enabled cellular units develop into to be had and extra carrier companies develop into open to third-party improvement, the call for for custom designed functions will develop dramatically.

Windows Phone 7 Silverlight Cookbook

The e-book is written in a cookbook kind, providing examples within the sort of recipes, permitting you to head on to your subject of curiosity, or stick with issues all through a bankruptcy to achieve in-depth wisdom. All degrees of builders and architects could be in a position to make the most of this booklet. The language and examples are written for newbies yet there are many deeper techniques to discover and code to grasp.

iOS 5 by Tutorials: Volumes 1 and 2

IOS five used to be one of many largest improvements to iOS to date, and has a ton of amazing positive factors that you’ll certainly are looking to begin utilizing on your apps. the single challenge is, there’s now not a ton of documentation or pattern code at the APIs, so they’re frequently relatively not easy to profit! this can be the place iOS five by way of Tutorials is available in!

Extra info for Hands-On Sencha Touch 2 A Real-World App Approach

Sample text

Sass and Compass are included in the Sencha Cmd build process. This means when you build your application from the CLI (via sencha app build or sencha app watch), Sencha Cmd will compile the stylesheet and you will not need to install Sass or Compass separately. ), you will need to have Sass and Compass installed on your development machine. 1Wait until each process is completed. It will take a few minutes before the command completes and the command prompt returns. Warning Mac OS X users might need to prefix the preceding command with sudo to get admin rights.

You will probably want to make it dynamic. We will use templates for this. In Sencha Touch, templates are little predefined HTML snippets with placeholders. You can dynamically inject these HTML snippets with data. XTemplate. This is very nice because it allows you to inject dynamic content. Let’s check out some runnable examples. You will define a template and inject it with data. First, you need to declare a custom object, data, which has the keys name and description. ” because of the setData() method.

In this example, I used two global variables: an object named c and an object named data. I did this so that I can edit the data object from elsewhere in my code. ” Organizing Template Snippets I can imagine that you don’t want to save all these HTML snippets into your JavaScript view code. XTemplate) and save those in different files. XTemplate snippet. It’s just a variable, so I could move it over to any other file to get (global) access to it. XTemplate() class. Here a template is assigned to the variable myTpl, which will be configured in the component tpl config.

Download PDF sample

Rated 4.35 of 5 – based on 42 votes