Slide 1

Slide 1 text

Daniel Gallo @DanielJGallo Building Cross-Platform Mobile Apps with Sencha Touch Bundle

Slide 2

Slide 2 text

‣ About me and introduction ‣ The Sencha Touch Bundle ‣ Where Sencha fits in ‣ Example app ‣ Getting Started ‣ Questions Overview

Slide 3

Slide 3 text

About Me ‣ Daniel Gallo (@DanielJGallo) ‣ Technical Sales Engineer for Sencha ‣ Based in the UK ‣ Using Sencha’s frameworks since 2009 ‣ Joined Sencha in February 2012 ‣ Background in web app development (ASP.NET C#)

Slide 4

Slide 4 text

Sencha Rapid and easy development of rich web apps for the broadest range of devices from IE6 to the latest tablet

Slide 5

Slide 5 text

Sencha Touch Bundle ‣ Suite of mobile development tools and components: ‣ Sencha Touch - Single page mobile app dev framework ‣ Sencha Architect - HTML5 visual app builder ‣ Sencha Eclipse Plugin - Enhances coding within Eclipse ‣ Sencha Touch Charts - Interactive HTML5 charts ‣ Sencha Mobile Packager - Device APIs and native wrapping ‣ Support - Technical support, code reviews, bug fix releases

Slide 6

Slide 6 text

Frameworks

Slide 7

Slide 7 text

‣ High-performance mobile HTML5 framework for building cross- platform apps ‣ Complete set of appealing and ready-to-use mobile UI components Sencha Touch 2 Mobile HTML5 Framework

Slide 8

Slide 8 text

‣ Build applications that run on Android, Apple iOS, BlackBerry, and Windows Phone 8 ‣ Native packaging for iOS and Android from Windows and Mac Sencha Touch 2 Mobile HTML5 Framework

Slide 9

Slide 9 text

‣ Bring your data to life without the need for any plugins ‣ Multi-touch gestures allow users to pinch and zoom through data, spin pie charts, pan line charts, and more Sencha Touch Charts

Slide 10

Slide 10 text

Tools

Slide 11

Slide 11 text

Sencha Architect App Builder for Sencha frameworks ‣ Visual app builder for desktop and mobile ‣ Generates live interfaces ‣ Build UI and code apps directly in Architect ‣ Connect to backends easily ‣ Best practices generated code

Slide 12

Slide 12 text

Sencha Eclipse Plugin Code Intelligence for Sencha JavaScript frameworks ‣ Reduce coding errors and increase productivity with full code completion for Sencha Touch 2 ‣ Integrates in to existing Eclipse workflows ‣ Ease and simplify version migrations with type libraries for each framework version ‣ Support for mixins, classes, inheritance, overrides, defines, etc ‣ Code hints and suggestions for base framework and custom classes

Slide 13

Slide 13 text

‣ Build native iOS and Android applications using Sencha Touch 2 ‣ Access native APIs from a Sencha Touch 2 app ‣ Package apps on Windows and Mac Sencha Mobile Packager

Slide 14

Slide 14 text

Where Sencha Fits In Sencha Touch - Mobile and Tablet Sencha Ext JS - Desktop and Laptop Internet / Intranet Database Server SQL Server Oracle Sybase MySQL ... Application Server Java PHP ColdFusion .NET Ruby on Rails ... Web Server IIS Apache Tomcat Websphere ... JSON/XML Transport Layer

Slide 15

Slide 15 text

Create a Sencha Touch app

Slide 16

Slide 16 text

Packaging Apps

Slide 17

Slide 17 text

‣ Device information ‣ In-app purchases ‣ SQLite ‣ Camera ‣ Connection ‣ Contacts ‣ Geolocation ‣ Notification ‣ Orientation ‣ Push Ext.device.Camera.capture({ success: function(image) { imageView.setSrc(image); }, quality: 75, destination: 'data' }); Sencha Mobile Packager

Slide 18

Slide 18 text

Ext.Viewport.add({ xtype: 'list', itemTpl: '{First} {Last}', store: { fields: ['First', 'Last'], data: Ext.device.Contacts.getContacts() } }); Sencha Mobile Packager ‣ Device information ‣ In-app purchases ‣ SQLite ‣ Camera ‣ Connection ‣ Contacts ‣ Geolocation ‣ Notification ‣ Orientation ‣ Push

Slide 19

Slide 19 text

PhoneGap Build Sencha Mobile Packager Building Your App

Slide 20

Slide 20 text

sencha package build settings.json From command line: Building Your App

Slide 21

Slide 21 text

{ "applicationName": "Simple Camera App", "bundleSeedId": "Q8U8378N9L", "applicationId": "com.danielgallo.cameraapp", "outputPath": "../build/", "versionString": "1.0", "inputPath": "./", "icon": { "57": "resources/icons/icon.png", "72": "resources/icons/[email protected]", "114": "resources/icons/[email protected]", "144": "resources/icons/[email protected]" }, ... Building Your App

Slide 22

Slide 22 text

... "configuration": "Debug", "platform": "iOS", "deviceType": "iPad", "certificateAlias": "iPhone Developer", "minOSVersion": "4.0", "orientations": [ "portrait", "landscapeLeft", "landscapeRight", "portraitUpsideDown" ] } Building Your App

Slide 23

Slide 23 text

From Sencha Architect: Building Your App

Slide 24

Slide 24 text

Building Your App build.phonegap.com

Slide 25

Slide 25 text

Getting Started

Slide 26

Slide 26 text

Sencha Touch Bundle sencha.com/products/touch-bundle ‣ Register for a 30-day trial

Slide 27

Slide 27 text

Documentation and Examples docs.sencha.com

Slide 28

Slide 28 text

Documentation and Examples docs.sencha.com

Slide 29

Slide 29 text

Community-driven forum for seeking and o ering help. ‣ Over 400,000 registered members ‣ Ask questions ‣ O er help to others ‣ Powerful search facility ‣ Premium Forums for paid support subscribers ‣ Monitored by Sencha sta Sencha Forums sencha.com/forum

Slide 30

Slide 30 text

Getting Involved

Slide 31

Slide 31 text

Meetups meetup.com ‣ Sencha meetup groups organised by Sencha community ‣ Good opportunity to meet and discuss all things Sencha!

Slide 32

Slide 32 text

‣ Sencha’s annual conference ‣ Interact with Sencha engineers and fellow developers ‣ 16th - 19th July in Orlando, Florida ‣ 1,000 developers ‣ 60+ technical sessions ‣ Hackathon senchacon.com

Slide 33

Slide 33 text

Questions

Slide 34

Slide 34 text

Create amazing apps built on web standards Daniel Gallo @DanielJGallo